This is a discussion on Category name within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; hi guys ( & girls too ) When i Click a category... I see in the header "Let's see what ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| hi guys ( & girls too When i Click a category... I see in the header "Let's see what we have here" How should I instead show the category's name ? At least for product listing... I have BTS, which file should i touch for this? thanks alot in advance |
|
#2
| |||
| |||
| In /catalog/index.php find this line (around lines 65-75): Code: <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> Code: <td class="pageHeading"><?php echo $breadcrumb->last(); ?></td> |
|
#3
| ||||
| ||||
| Category headings are fully editable in MS2-MAX. Just specify the category name and category desrcription when you create the category, and it will automatically appear. This will not work in all templates by default, just the aabox template. If you are using another template besides aabox, you will have to copy the content files from the aabox template to the other template.
__________________ Michael Sasek osCMax Developer
|
|
#4
| |||
| |||
| it sounds nice msasek... but, how would u translate to english? :P or translate 2 code... :P |
|
#5
| |||
| |||
| negvibe i got this error when i put the code Code: Fatal error: Call to undefined function: last() in D:\Inetpub\shopnuevo\catalog\templates\alipo\content\index_products.tpl.php on line 5 i cannot c a field to enter categories descriptions in the admin section... what could i put in the index_products.tpl.php to show categ. name (just that, i dont care description).. thanks again
__________________ Henry Becerra ICQ: 18048153 MSN: qbecerra@hotmail.com Yahoo: qbecerra http://www.beza.com.ar San Juan - Argentina |
|
#6
| |||
| |||
| Yeah, I was quick to post - That code I posted is for standard osC 2.2 so it's prob not gonna work in your case. Sorry for the confusion. |
|
#7
| |||
| |||
| no problem here we work with MS2 MAX latest stable version will wait until Michael drops some tips ... anyway, thanks alot negvibe |
|
#8
| ||||
| ||||
| Ok, in ms2-max, when you create categories in the admin panel, you will see the following fields: Category Name Category Heading Title Category Description Fill them in. If you are using the default aabox template (the blue one), the content of those fields will automatically appear on the category pages instead of 'Lets see what we...' If you are using one of the other templates (like OneTable or osC) this will not be the case. To get it to work on those templates, you will need to copy all the files in /templates/aabox/content to the content dir of the template that you are using (overwriting all the files). There is no code to edit, it is all handled from the admin control panel.
__________________ Michael Sasek osCMax Developer
|
|
#9
| |||
| |||
| this is what i call Helpful thanks alot michael... |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Adding Category Descriptions in Category List for each Cat. | el1jones | osCMax v2 Customization/Mods | 1 | 03-15-2006 01:37 AM |
| Browse By Category | MSatterwhite | osCMax v1.7 Discussion | 0 | 01-18-2005 09:36 AM |
| Browse By Category | MSatterwhite | osCommerce 2.2 Modification Help | 0 | 01-18-2005 09:12 AM |
| Sub-category pics | Dumb_Question | osCommerce 2.2 Modification Help | 1 | 09-11-2003 12:41 PM |
| New category does not create new category folder | Anonymous | osCommerce 2.2 Installation Help | 3 | 02-23-2003 12:52 PM |