I am a newbie in magento. Please let me know how can I edit my category page.
If I want to add some html code to a particular category then from which file should I for in magento root folder.
Please help.
Thanx in advance.
If you only want to add to the category and not modify the existing output, then one option is to create a Static Block with whatever html that you want, and then edit your category and choose that block in the "Display Settings" tab.
Since you're new perhaps you should start with the designer's guide and theming wiki.
The difficulty with theming is no one file is responsible, about the best trick you can learn is using template hints.
Related
I see that you can set a cms home page at "Default Pages" at admin panel (system/configuration/web) but I want a whole template including [html][head][body] tags to be shown, is this possible?
I can't do it via (CMS/Pages) as it deletes/modifies the code.. Even when I set it on "empty" don't really understand it..
Help would be much appreciated, cheers!
The file that you want is the layout file. If you need to add new layout of your home page then you can make a new layout file using following link
http://rakeshwebdev.wordpress.com/2014/02/13/add-new-custom-page-layout-in-magento-1-7/
Then after making layout while creating CMS Page go to layout section and choose your created layout. Then your home page will have what you want.
Note: By default header, footer all these are kept in different file and called from the 1column.phtml etc. So it will be always better to keep it that way only. As we always should follow Magento programming methodology.
Hi I am novice at magento I just can do simple task and edit some css but now I need to redesign product page layout. What I cant do is change product options (like shoes size, or clothes S,M,XL etc..).
Now it has classic dropdown manu layout what i want is little boxes with options, like checkboxes.
See exemple here example of product
i dont know if there is some plugin for that or you need to see some source code to help me, if so write a comment i try paste neccesary code.
Thanks
try to add custom option for product,,,,you can see in manage product option in last tab custom option...
The options for configurable products are created here:
../template/catalog/product/view/type/options/configurable.phtml
Just edit the *.phtml to your needs. In default it is a simple select box.
Ok. all i am trying todo now is add an image to the top of the navigation bar.
I photoshopped a picture of what i have now and what i am trying to achieve.
here is my site
and here is a link to the naviation module in magento
Thanks guys you are always helpful here!
I find this question a bit specific, because it's related to specific plugin.
I suggest you to use template path hints to find out what file you have to edit. You could enable template path hints for specific store view in System/Configuration/Developer/Debug/Template Path Hints. This option will appear only when you enable specific store view in Current Configuration Scope on the top of left column. It will display hints around blocks on frontend.
You might also find useful official magento design guide: http://www.magentocommerce.com/design_guide/
Using Magento, I need to offer my clients the public use of a wysiwyg editor on my website to simply generate html code for them to copy and paste. My idea is to add a static block to a cms page... the block being a wysiwyg editor. Anyone know if it is possible to set up a static block for the wysiwyg editor in Magento? If so, please explain how this is done in detail. If you would like more info on why I need this, just ask and I'll get into the details, but I'm hoping for a discussion on how to achieve this, not a discussion on why I need to do this.
Thanks for the help!
Figured it out by thinking outside of the box.
Just used NicEdit on a CMS page and it works great... does exactly what I need it to do.
I'm trying to edit the default articles' HTML. Right now the titles are in h2s and I want to change them to h1s and get rid of the print options etc.
There has to be some where you can edit the HTML of default article templates. Anybody know where?
as i know when you are posting some article on joomla you have an option to post the data as HTML and i don't think so that you have to change some php codes.
on the other hand when you are Adding an article that time follow these steps:
Click on the Parameter(Advanced) on the right side of the article
Select No of the Show Title option
Select Hide all between Article Rating to Email Icon
after all these setting you just only get your own HTML codes that you posted on that article as well the <h1> tag
EDIT: Or if you want to completely change the Article layout then
find the location joomla/components/com_content/views/article/tmpl/default.php
The above default.php file keeps all the layout of the article section and all the data that data that will keep on the RightColumn.
Changing joomla/components/com_content/views/article/tmpl/default.php is not a good idea, since all changes will be lost after your next update.
Copy the before mentioned file and place it into the Your_template/html/com_content/article folder, which would have to be created first, if its not there already.