X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Incorporating HTML into category pages (https://forum.x-cart.com/showthread.php?t=34792)

dannyhashovav 10-21-2007 05:34 PM

Incorporating HTML into category pages
 
Hello all

is it possible to incorporate simple html (similar to creation and modification of static pages) on the category and sub-category pages? I would like to start selling text links on my subs (example: http://www.spiffybaby.com/Baby-Footwear-p-1-c-3.html) so i naturally need an excess to them.

Thanks so much
Daniel

balinor 10-21-2007 06:37 PM

Re: Incorporating HTML into category pages
 
Please don't post questions in the Completed Custom Mods forum. Moving to Template Editing.

Yes, you can add html to the category descriptions.

dannyhashovav 10-22-2007 09:28 AM

Re: Incorporating HTML into category pages
 
Sorry, did not see that the forum was for completed mods.
So how does one ad html to category pages?
Thanks

balinor 10-22-2007 09:31 AM

Re: Incorporating HTML into category pages
 
Hi, as I mentioned above, you can add html to category descriptions.

dannyhashovav 10-22-2007 09:39 AM

Re: Incorporating HTML into category pages
 
Well Ryan
I do have simple HTML in description before my icons for sub-categories (which by the way, i have no idea how to make bigger, so if you can suggest on that too, i would appreciate it). What I really want to have is to utilize the space below to sell some text-ad links. So sort of like a separate static html page maybe embeded on the category level. I really dont wanna mess around with the description of these pages. How do i do that?
thanks much
Daniel

balinor 10-22-2007 09:42 AM

Re: Incorporating HTML into category pages
 
Well, that's difficult, as you would need to edit the template directly, and add {if} statements to show different content based on which category you are in. To make the images larger, simply upload larger images.

dannyhashovav 10-22-2007 09:56 AM

Re: Incorporating HTML into category pages
 
I see. Can you give me an idea of if-else satement based on the category location? i.e. how do i check which category i am in? Also which template would that be?
I already tried with bigger images, but I will again just to make sure. I am pretty sure my ex-developer limited the size somewhere.
Thanks

balinor 10-22-2007 09:58 AM

Re: Incorporating HTML into category pages
 
The categories template is customer/main/subcategories.tpl. If your developer did something to limit the size, it is probably in there. For {if} statements, great thread here:

http://forum.x-cart.com/showthread.php?t=8881

dannyhashovav 10-22-2007 10:05 AM

Re: Incorporating HTML into category pages
 
Great! Thanks much
Daniel


All times are GMT -8. The time now is 11:33 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.