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)
-   -   Show Categories on Front Page (https://forum.x-cart.com/showthread.php?t=32129)

Sinderella 06-27-2007 12:05 PM

Show Categories on Front Page
 
My client wants her categories to show on the front page. I could swear that originally it was something I removed at her request early last year but I don't remember what I did or where I did it.

I'd like to create something that she can modify within the categories part of the admin, so that if she added to it, it would appear here.

This is for version 4.1.3.

Thank you to anyone that knows the answer to this probably simple question.

balinor 06-27-2007 12:13 PM

Re: Show Categories on Front Page
 
Try this...just deleted the original thread by mistake, but luckily I was able to go back and copy/paste it into a new thread:

http://forum.x-cart.com/showthread.php?p=176662

Sinderella 06-27-2007 12:37 PM

Re: Show Categories on Front Page
 
Hello Balinor,
I tried it but it didn't change anything. I noticed that the first one had 's around the xcart-config but the other 2 did not. Could this change things? Obviously, I'm not an expert here. Thanks for you speedy help.

INSERT INTO `xcart_config` VALUES ('categories_desc_on_main', 'Show description under icons for categories on main page', 'N', 'Appearance', 500, 'checkbox', 'N', '');
INSERT INTO xcart_config VALUES ('categories_on_main_page','Show icons for categories on main page','Y','Appearance',500,'checkbox','N','');
INSERT INTO xcart_config VALUES ('columns_categories_on_main_page','Number of columns for categories on main page','','Appearance',510,'numeric','','');


balinor 06-27-2007 02:47 PM

Re: Show Categories on Front Page
 
Did you update the welcome template as specified as well?

Sinderella 06-27-2007 03:51 PM

Re: Show Categories on Front Page
 
yes I did. I tried it with and without the 's around the xcart config.

I wondered if, since the post was from Oct. 2003, if it would be for an earlier version and not for the 4.1.3.

balinor 06-27-2007 03:57 PM

Re: Show Categories on Front Page
 
The post was from Feb 2007, I joined the forum in Oct 2003 :)

Sinderella 06-28-2007 06:08 AM

Re: Show Categories on Front Page
 
Oh, ok, sorry. I'm new to the forum. :-)

I still don't know what else I need to do to get this done. Do you know if there is something else I can look at?

I looked in the files via ftp and don't see a file for xcart_config.sql in the sql folder. There are several but they are xcart_config_AU.sql, xcart_config_CA.sql, xcart_config_UK.sql, and xcart_config_US.sql. I opened the US one since that's the one I would need I supposed. It is 0KB in size and had nothing in it. Am I barking up the wrong tree?

I tried pasting the INSERT info into the xcart_config_US.sql file and uploaded it but it didn't change anything. I removed it.

denisg 06-29-2007 01:54 AM

Re: Show Categories on Front Page
 
Interesting, I was just about to ask the same question as the original.

Would this work on our version (see sig) and (:oops: ) where do I find the "xcart_config" file.

Denis.

denisg 07-01-2007 06:14 AM

Re: Show Categories on Front Page
 
Ok, so I think I sussed How to do it.............from Admin>update>Apply SQL patch.

Should the welcome.tpl be modified before or after the "INSERT INTO" files

Pasting the first "INSERT INTO" line in, with or without the welcome file being changed, gives a sql error that "Column count doesn't match value count row1".

Is this fixable or maybe not suitable for our version?

Denis


All times are GMT -8. The time now is 08:07 PM.

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