| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Removing "Page Name" from Static Pages | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hello,
I've looked everywhere in the forums but can't find an answer - We'd like to create category pages (and also a few Static Pages) that DON'T display the name of the Category. We'd like to use a graphic instead. What code can I edit out so that the info entered into the Category field doesn't display on the main category page, but does still display on the home page under the side categories listing? (Sorry, don't know the exact name for the side navigation on the home page). For example, say we have a category of "Beans". I'd like Beans still to be a link on the home page, but when you actually click on the "Beans" link, you are taken to the Beans page, without the word "Beans". Seems like there must be some label you can delete to get rid of that? Thank you!!
__________________
4.1.8 |
|||||||
#2
|
|||||||
|
|||||||
![]() It is in dialog.tpl - but that is a global template so if you remove it, it removes it from the whole site. You'd need to use {if} statements to tell it which categories and pages it should display on.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Thanks, balinor.
Do you mind telling me exactly which code I should remove? I'm not much of a coder, so it's usually a trial and error method with me, which can be dangerous... ![]() Thanks again.
__________________
4.1.8 |
|||||||
#4
|
|||||||
|
|||||||
![]() Hey Meredith, it is this part of dialog.tpl:
<tr> <td class="DialogTitle">{$title}</td> </tr> If you want to hide it for some pages/categories, etc, you could use {if} statements similar to this: {if $cat ne "4" and $cat ne "5"} <tr> <td class="DialogTitle">{$title}</td> </tr>{/if} That would hide the title for category 4 and 5
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() hi balinor,
Tried what you suggested and that didn't work, so I dug around some more and came up with removing this code: <div id="cat_head"><h1>{$title}</h1> from cat_dialog.tpl, which took away the category titles, but left the product name titles when you click on each product for the product details. Now I'm off to find a way to remove the Page Name from the static pages... Thanks for your tips.
__________________
4.1.8 |
|||||||
#6
|
|||||||
|
|||||||
![]() Ah, you must have a custom template then.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#7
|
|||||||||
|
|||||||||
![]() Quote:
Just a FYI: when you remove a H1 tag, you are removing a SEO searchable word... you may want to replace this somewhere else on the page.
__________________
X Cart Ver: 4.0.14 MySQL4 4.1.22 phpMyAdmin 2.6.0 Pearl 5.6.0 PHP 5.2.1 Python 2.2.2 Server: Apache/2.0.52 (Red Hat) OS: Linux www.cleanlinesurf.com 1. Customer Rewards Points 2. One Page Checkout (altercart) 3. Free shipping orders over $50 as Real Time Shipping 4. Gift Certificates ----------------------------------------------- Graphic Design | Boomobile Design, LLC www.boomobile.com |
|||||||||
|
|||
X-Cart forums © 2001-2020
|