I was just wondering I purchased the HelloTheme HelloMix and it installed great and is working, but I seem to have problems when I try to edit my view.phtml file. I’ve been trying for the past two days to add social bookmarking and/or Facebook “Like” button to the product pages, but every time I place the code snippets in my view.phtml file found in my “theme” folder it doesn’t apply. After exhausting this option I decided to back up the files and then go in and erase ALL view.phtml files to see if I could find the one the site was using, but to my surprise after deleting ALL view.phtml files from my root directory and then refreshing my cache in Magento it had no effect on my site. I could still open up product pages and so on. It was as if I never erased anything. So, I placed all the view.phtml files back into their folders and decided to come here. This is very strange considering no matter which view.phtml file I try editing none have any effect on my site. Is there a different file that is controlling by product view pages. The social extension says I have to place the code in my view.phtml file in order for it to work. I’m using Magento 126.96.36.199 and HelloTheme HelloMix. Like I said the site looks awesome and runs perfect, just this view.phtml issue. The extension I’m trying to use is Magento FaceBook Like which can be found here http://www.magentocommerce.com/magento-connect/Eisbehr/extension/4197/facebook_likebox
Here is what the extension says to do
# Copy all files into your magento directory and turn Magento cache off.
# In case you have different then “default” default folder – rename folders app/design/frontend/default/default and skin/frontend/default/default.
# Navigate to System > Configuration > Templates-Master > FaceBook Like Button and enable extension for any store you need.
# Configure FaceBook Like Button module according to your needs.
# Set Up New Facebook Application at http://www.facebook.com/developers/createapp.php
# If you are planning on using XFBML buttons, you will need to edit some template files Change the opening html tag to read:
That’s all. Navigate to your products page and check how your store looks.
Now one problem I noticed is when I go to my app/design/frontend/default/hellomix/template/page I only see one column file which is 3columns.phtml not all the ones listed in the installation instructions. However, I did go into base and change the view.phtml and all opening html tags like the instructions said and still nothing. So I’ve tried installing this in both default and base and still nothing. It’s like my website isn’t running off a view.phtml page at all. Has my theme changed something in the root which is redirecting it to a page other than a view.phtml page? Any help on this matter would be appreciated. Thanks in advance
P.S – Before you ask, Yes I already went to Facebook and setup a new application to make this extension work.
Best practices for Magento would be to place your social bookmark code snippet into a CMS static block and then past the xml and html for that block into your template, very similar to how you create static blocks for any Hellotheme template. There are tutorials here for static blocks. I haven’t used that extension, but you really don’t need it if you have to modify code like that.