I have been asked to upload a Zen Cart site to my servers and have done so fine.
I am getting a problem now with the fact that the client has uploaded his custom template into the includes/templates folder and selected it in the admin - but it still wont load it. instead it just loads the template_default style.
I am been through every document I can find and have performed the 'reset' of the Layout Boxes Controller, but nothing seems to resolve it.
Can anyone tell me if there's a file I need to tweak or something to make sure it loads my custom style?
Cheers,
C.
One solution would be to overwrite the default theme with yours. I know this is not what you are asking, however, it would solve your issue.
Zen Cart templates can be really simple or really complex. So installing them can be easy or complicated. The files are probably in the wrong place, or not completely installed. It's easy to make a mistake. Just in case, here's the outline:
1a. Simple - Copy the cart template files to includes/templates/your_template_name/.
or
1b. complex - Copy the cart template folders to includes/.
2 Go to Admin > Tools > Template Selection and click Edit.
Select your_template_name. (If you don't see your_template_name something has gone wrong.)
3 Many templates install with the sideboxes turned off. Go to Admin > Tools > Layout Boxes Controller and edit the sideboxes to turn them on.
One idea for trouble-shooting ...
Look at the database template_select table. What template_dir is set?
If this is happening, double check the file includes/templates/YOUR_TEMPLATE/template_info.php. This file is used by the system to determine if a folder under includes/templates is actually a template, and things won't work without this file. Once you've set this file up, go back to admin->tools->template selection and try re-selecting your custom template.
Related
I'm using an opencart theme called MarketShop and as part of the theme it comes with a featured slider on the top of the website. It was all functioning correctly this morning, I went to edit the pictures by removing the original module and recreating it with a different banner. Now the module has been created but its not showing up on the website.
What have I done wrong?
I believe the two modules have identical information but I could be incorrect.
I've tried reupoloading all files from the theme and just skipping any that were identical in order to try and find the missing file with no luck.
Any suggestions besides doing a factory reset are much appreciated!
UPDATE:
Doesn't seem like anyone is able to determine the fault... Going to do a fresh install unless someone wants to first login themeselves and see if they can find the problem?
I managed to resolve this issue myself finallly after a LOT of playing around!
Steps I took to fix this issue were as follows..
First I uninstalled the module and reinstalled (It deleted all tests I made + the original demo items).
Then I clicked the install button again and went to edit.
I added one slideshow item and choose my banner that I'd setup earlier via the banners link in the admin panel.
I then went to LAYOUTS which is found next to the banners link or after you click save in modules at the top a hyperlink to layouts is offered.
Upon going to the layouts section and playing around here for even more time I worked out I needed to go into the Homepage file and click edit (NOT THE ONE NAME DEFAULT)!
I tried this numerous times with the DEFAULT page (Note that my store is even set so that the default theme is default which led me to believe that was the right page, which it is not.
So go into homepage and click edit.
Then add one module with the blue plus. Select the module you've just created earlier. Position it where you want it on the page (to get it to work for me I selected "Content Top" and Sort Order I set to 1 (The other two modules had sort orders of 2 and 3)
And that was that, problem solved!
Hopefully this will help anyone else with similar issues.
I have a joomla website in localhost.
I installed a template called Helix 2 which also has a set of Shortcodes. (i just put in something like [block]blah blah [/block] and my blah blah is highlighted in a nice looking box.)
I posted beautiful looking articles that way from BackEnd. Unfortunately, I have setup some users to be able to edit those articles from frontend. I have manually checked the Database and the shortcode is saved in the database. But when clicking edit in frontend, THAT DATABASE VERSION is not loaded in the edit field! When editing from frontend, the joomla engine DOESNOT load the database version of the article, but the version rendered from the browser or something else. The latter version doesn't have the shortcodes. So, after clicking save from Frontend the original article formatting is lost! I then have to manually reenter shortcodes in the frontend.
So the solution is, while clicking on edit button, if the article for editing is loaded from the database I can see my shortcodes in their proper places. So, is there a setting anywhere in joomla that can help me out with this?
PS: I HAVE TRIED ALL EDITORS TINYMCE, JCE, EDITOR-NONE WITH SAME RESULTS. ITS NOT THE EDITOR PROBLEM.
Which Joomla version are you using?
In Joomla 2.5 if you use a user from a different group, checkout the text filter options tab in the general settings. If you login as a super-admin and the setting for that group is "No filter", please try to change to "default blacklist" than save. Clear all joomla cache (just to be on the save site). Than change back to "No filter" option.
I have seen complaints on the joomla forum that the No Filter option while default set in some cases is not properely set. Resetting it to default blacklist and back to "No filter" might solve that problem.
What a simple solution and I had to spend so many sleepless nights surfing for a solution. In my site http://lokkatha.comthe problem was persisting for quite some time. However, with the help of the solution suggested by Wouter here, I could sort it out. the process is
Go to BACKEND ADMIN >> General configuration >> Text filters
Covert all filters to NO FILTERING The problem is solved.
We recently added a new extension to our site that adds multiple serial codes to a product (http://www.modifymage.com/instructions/serial-codes). Everything works great except when you try to purchase one of the items. It gives you a success page that uses the default theme.
Everything appears to be setup correctly in terms of the backend. I’ve already contacted the creator but I doubt they’ll provide any support.
Also, when I view source it says its referencing the right theme but when “Inspect Element” it tells me its using the default theme.
Any ideas? I’m thinking its a template issue but the success page uses the custom theme’s CSS.
This is very unlikely to have anything to do with our extension. Our extension does not interact in any way with the front end themes.
In the Admin Panel, please first go to:
System > Configuration > General > Design
And check the settings under the Package and Themes sections. Please see this forum post for an example that presents itself exactly like the problem you are experiencing and how it was fixed:
http://www.magentocommerce.com/boards/viewthread/281457/
If that is all set up correctly, next try disabling the output of our extension and see if the problem goes away. You can do that here:
System > Configuration > Advanced > Disable Module Output
Disable Mmsmods_Serialcodes. If this doesn't fix the problem, make sure the design file template/checkout/success.phtml is located in your design theme folder.
I hope that helps. If you are still having problems, or if you have any additional questions or concerns, please notify our support department once again.
What I'm trying to do is create a submenu (in Joomla! backend) with below code but it does not work.
JSubMenuHelper::addEntry(JText::_('test'), 'index.php?option=com_test&controller=test', $controller == 'testcon');
I have attacted a sample pictures here. It explains what type of menu I want.
sample menu is here. check this picture
Thanks!
JSubMenuHelper is designed to be used in the Joomla! Administrator section, it's not made for the frontend.
If you really want to get to it, you need to include the file:
/administrator/includes/toolbar.php
Also you will have a bunch of missing CSS (js maybe also) files that you also need to include (form the admin template folder)
But I see no reasons what you want to use JSubMenuHelper in front-end. I would strongly advise against using it.
You should create menu and (submenu) in Admin Panel, but I think you already know that :)
Later you add look and feel with CSS.
I think you should do ti with CSS not PHP.
When i searched about it, I found this file on this path:
app/design/frontend/BASE/default/template/catalog/navigation/top.phtml
But when i do any sought of change in it, it didn't work or not show any change. I think I am working in wrong file. What I actually want to do is to add thumbnails to menu at frontend.
I am new to magento. Please help me in this regard.
Best way of knowing path of any template file is : Using Template path hint
Goto Admin->System->configuration->Developer
Then select main website option from Current Configuration Scope dropdown on left hand side.
Then enable template path hint.
Navigate to the front end refresh and u can see the path for various blocks.
For better understanding of the template path hint try this video tutorial.
Actually the top.phtml file is in app/design/frontend/base/default/template/catalog/navigation/top.phtml as you have mentioned
Go to admin->system->configuration, now on the left panel click on design and in the Package area see the Current Package Name.
This is the current package you are using. Say this is... "default"
Now in the Themes area, check the Templates field.
This is the template of the above package that you are using. Say this is "modern"
If the field is blank it means you are using the default template.
Now the top.phtml file you need to edit is in or should be copied to app/design/frontend/default/modern/........
Paste it there and edit it.....
The reason for copying and editing is to keep a backup of original base package.
Try to flush magento cache at backend: "Configuration => Cache Management"
You maybe want to check if you have 'base' configured in the theme settings in Magento. Maybe it's overwritten in another package.
You may want to look weather you have a different theme active app/design/frontend/<themename>/<themevariation>/template/catalog/navigation/top.phtml
see http://www.newsjournal3.com/12-magento/13-how-to-override-magento-top-navigation
you have to put the topmenu.phtml in the html directory