clustersolutions Posted May 9, 2015 Share Posted May 9, 2015 For those of you who are interested in using Wordpress with OSC. I have made available a Wordpress template that would do that with OSC BS by giving it a seamless look. This should make a good start for further integration. The template: https://github.com/clustersolutions/Westfalia-wp-osc-theme The installation instructions: http://www.clustersolutions.net/2015/05/06/integrating-wordpress-into-oscommerce/ A tutorial on building a FAQ page: http://www.clustersolutions.net/2015/05/08/adding-an-faq-page-to-oscommerce-using-wordpress-in-5-steps/ Pls feel free to use it and making it better. Link to comment Share on other sites More sharing options...
clustersolutions Posted June 15, 2015 Author Share Posted June 15, 2015 Ahh...been meaning to get this written b4 I forget but busy with work. So lmk as there may be some bugs as I am getting forgetful. This is a tutorial on how to extend Wordpress' plugins into OSC. I think it took me longer to learn how to use Smart Slider than the hack. I don't know how often you had to update your front page slider but this tool makes it real easy...full features with animation. Also, I like the fact that I can add text over img. To me it is a plus to have another tool in your disposal for SEO...hope it helps someone... http://www.clustersolutions.net/2015/06/14/using-smart-slider2-for-wordpress-in-oscommerce/ Link to comment Share on other sites More sharing options...
vampirehunter Posted March 23, 2016 Share Posted March 23, 2016 For those of you who are interested in using Wordpress with OSC. I have made available a Wordpress template that would do that with OSC BS by giving it a seamless look. This should make a good start for further integration. The template: https://github.com/clustersolutions/Westfalia-wp-osc-theme The installation instructions: http://www.clustersolutions.net/2015/05/06/integrating-wordpress-into-oscommerce/ A tutorial on building a FAQ page: http://www.clustersolutions.net/2015/05/08/adding-an-faq-page-to-oscommerce-using-wordpress-in-5-steps/ Pls feel free to use it and making it better. hi can you explain Installation point 2? when you say create a symbolic link to oscommerce includes folder? can you explain how thats done in cpanel or manually? thanks Link to comment Share on other sites More sharing options...
clustersolutions Posted March 24, 2016 Author Share Posted March 24, 2016 do it manually if you can...use putty in ssh just execute the "ln -s" command...I guess there's not a real easy way to create a symbolic link using cPanel... https://www.namecheap.com/support/knowledgebase/article.aspx/9561/29/how-to-create-symbolic-link-in-cpanel I don't like cPanel... Link to comment Share on other sites More sharing options...
vampirehunter Posted April 1, 2016 Share Posted April 1, 2016 do it manually if you can...use putty in ssh just execute the "ln -s" command...I guess there's not a real easy way to create a symbolic link using cPanel... https://www.namecheap.com/support/knowledgebase/article.aspx/9561/29/how-to-create-symbolic-link-in-cpanel I don't like cPanel... i checked my hosting, it says they dont give ssh or shell access. seems like you need to ask them to have use of ssh. is this normal for all hostings? thanks Link to comment Share on other sites More sharing options...
theghostwhowalks03 Posted June 5, 2016 Share Posted June 5, 2016 Hi, After searching for a long time to have a wordpress integration with osC, I found your post and the tips were helpful. Thank you for that. I did manage to install wordpress and also create the symlink (that took a lot more time than anticipated). However, while using the westfalia theme, I get an error stating: Fatal error: Call to a member function buildBlocks() on a non-object in /home/.../Wordpress/wp-content/themes/Westfalia-wp-osc-theme-master/westfalia/header.php on line 14 I tried some help online which suggested adding the following code to application_top.php require(DIR_WS_CLASSES . 'osc_template.php'); $oscTemplate = new oscTemplate(); But this did not work either. Do you think this is something to do with the location of the files? I created the symlink for the includes folder in the wordpress root. Should that be done in the themes or contents folder instead? Any suggestions would be welcome. Cheers Link to comment Share on other sites More sharing options...
MrPhil Posted June 5, 2016 Share Posted June 5, 2016 i checked my hosting, it says they dont give ssh or shell access. seems like you need to ask them to have use of ssh. is this normal for all hostings? SSH (or other command-line shell access) is often an extra-cost option. I only need it once in a while, so what I do is use cPanel to run a one-time cron job (schedule it, let it run, remove it before it's scheduled to run again). Do note that this command line usually has a somewhat different environment than a server page. It may have a different PHP version, different starting directory, different timezone settings, etc. Be aware of that, and specify as much as possible in the shell or command to avoid surprises. You would certainly be able to run ln -s on this command line, provided it's a Linux-based server. I'm not sure what the equivalent function would be under Windows., Link to comment Share on other sites More sharing options...
clustersolutions Posted June 6, 2016 Author Share Posted June 6, 2016 @@theghostwhowalks03, the include symbolic link should be in WP's root dir, and it must point to the OSC include dir so WP can bring in the OSC environment. I would run some test to make sure that WP is in fact reading the OSC include dir and go from there... Also, this configuration WP has to be inside the OSC root folder. It seems to be that your install did not parse through application_top.php from OSC... Hi, After searching for a long time to have a wordpress integration with osC, I found your post and the tips were helpful. Thank you for that. I did manage to install wordpress and also create the symlink (that took a lot more time than anticipated). However, while using the westfalia theme, I get an error stating: Fatal error: Call to a member function buildBlocks() on a non-object in /home/.../Wordpress/wp-content/themes/Westfalia-wp-osc-theme-master/westfalia/header.php on line 14 I tried some help online which suggested adding the following code to application_top.php require(DIR_WS_CLASSES . 'osc_template.php'); $oscTemplate = new oscTemplate(); But this did not work either. Do you think this is something to do with the location of the files? I created the symlink for the includes folder in the wordpress root. Should that be done in the themes or contents folder instead? Any suggestions would be welcome. Cheers Link to comment Share on other sites More sharing options...
Sholt Posted June 7, 2016 Share Posted June 7, 2016 @@theghostwhowalks03, the include symbolic link should be in WP's root dir, and it must point to the OSC include dir so WP can bring in the OSC environment. I would run some test to make sure that WP is in fact reading the OSC include dir and go from there... Also, this configuration WP has to be inside the OSC root folder. It seems to be that your install did not parse through application_top.php from OSC... Im getting similar issue... been trying a number of things this morning for past few hours and cannot seem to figure it out.... Fatal error: Call to a member function buildBlocks() on a non-object in /home/www/sitename.com/store/wordpress/template_top.php on line 13 Store is the oscommerce install directory. Link to comment Share on other sites More sharing options...
MrPhil Posted June 8, 2016 Share Posted June 8, 2016 Nothing "similar" at all. The error message is telling you that something should have created an object somewhere, with member function buildBlocks(). This object was not successfully created, leaving a null object or undefined variable, with no members. I am not familiar with integrating WP with osC, and so cannot give you much help, other than to note that if WP is a full installation under the store (osC) installation, that WP must first go through osC's .htaccess. This might have messed up something for WP. Link to comment Share on other sites More sharing options...
burt Posted June 8, 2016 Share Posted June 8, 2016 Assuming (and we all know what good that does), that the Shop is the primary aim of the site, using Wordpress could very well be overkill for shopowners needs. There are a number of addons (both non-commercial and commercial) which provide the base needs of a blog (and are therefore built into osC, so the exact look is carried throughout, does not matter if user is looking at shop or a non-shop page). Link to comment Share on other sites More sharing options...
theghostwhowalks03 Posted June 9, 2016 Share Posted June 9, 2016 Hi Tim, I had the installation in the wrong folder. Installing wordpress inside the catalog got rid of the error. But the display is all skewed on the front page. Any guess as to what might be cause of this? Link to comment Share on other sites More sharing options...
clustersolutions Posted June 9, 2016 Author Share Posted June 9, 2016 Well...let's think outside of the blog...bringing a lot of capabilities to OSC...and my clients don't need to hire a web dev to modify these... Smartslider front page with Instagram API integrated... Calendar in 5 minutes... Pinterest Style look book... I need to get Smart Slider 3 integrated...been very busy... Assuming (and we all know what good that does), that the Shop is the primary aim of the site, using Wordpress could very well be overkill for shopowners needs. There are a number of addons (both non-commercial and commercial) which provide the base needs of a blog (and are therefore built into osC, so the exact look is carried throughout, does not matter if user is looking at shop or a non-shop page). Link to comment Share on other sites More sharing options...
clustersolutions Posted June 9, 2016 Author Share Posted June 9, 2016 Ah, you re not running the bootstrap version...the template was for the bootstrap... Hi Tim, I had the installation in the wrong folder. Installing wordpress inside the catalog got rid of the error. But the display is all skewed on the front page. Any guess as to what might be cause of this? Link to comment Share on other sites More sharing options...
clustersolutions Posted June 9, 2016 Author Share Posted June 9, 2016 Make sure that your WP install is right underneath OSC's... Im getting similar issue... been trying a number of things this morning for past few hours and cannot seem to figure it out.... Fatal error: Call to a member function buildBlocks() on a non-object in /home/www/sitename.com/store/wordpress/template_top.php on line 13 Store is the oscommerce install directory. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.