If this is your first visit, check our documentation. To post, register or login.

Template Help

Started by jw1212 on 16 May 2013, 1:38 PM · Views: 1,030

Results 1 to 12 of 12
16 May 2013, 1:38 PM
#1
jw1212 avatar

jw1212

New Zenner

Join Date:
May 2013
Location:
Tampa, FL
Posts:
27
Plugin Contributions:
0

Template Help

I am a new Zen Cart user, I have just installed Zen Cart and have decided on a template to use. I have followed all the install tutorials and I am able to get template to display. My issue is although the template is showing, I dont see the template name in the configuration list in my Zen Cart admin console. I've tried to reinstall the template but still no luck. I am completely open to the fact that I may have done something wrong but for the life of me can't figure out what. Could someone help me out. Thanks!

16 May 2013, 2:20 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Template Help

A link to your site would help. I'm not sure what you mean by 'the template is showing' if you didn't select it in admin.

16 May 2013, 2:24 PM
#3
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,140
Plugin Contributions:
56

Re: Template Help

JW1212:

... My issue is although the template is showing, I dont see the template name in the configuration list in my Zen Cart admin console. ...
I'm sorry, but what you've said doesn't make sense to me as it's a chicken/egg thing. If you don't see the template name in the configuration list (Tools->Template Selection) then you can't select that template as active. If that template's not active, it can't be "showing".

Make sure that your template includes the file /includes/templates/YOUR_TEMPLATE/template_info.php, where YOUR_TEMPLATE is the name of your just-installed template.

16 May 2013, 2:32 PM
#4
jw1212 avatar

jw1212

New Zenner

Join Date:
May 2013
Location:
Tampa, FL
Posts:
27
Plugin Contributions:
0

Re: Template Help

http://www.desotosystemsflags/index.php I was able to select the template under ...tools\template selection however, the install tutorial shows that I should then see the name of the template under the configuration tab, this I assume is how I make changes to the configuration of the template structure itself.

16 May 2013, 2:43 PM
#5
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Template Help

No. I haven't looked at the installation docs in a while, but there is no provision to style a template from admin, other than the layout options in Layout Settings. All admin settings apply to the currently selected template.

16 May 2013, 4:22 PM
#6
jw1212 avatar

jw1212

New Zenner

Join Date:
May 2013
Location:
Tampa, FL
Posts:
27
Plugin Contributions:
0

Re: Template Help

stevesh:

No. I haven't looked at the installation docs in a while, but there is no provision to style a template from admin, other than the layout options in Layout Settings. All admin settings apply to the currently selected template.

Attachment 12505

above is a screen shop of the part of the tutorial I'm referring to, see how the Abbington Mega temp shows under "EZ pages", it's not in my Zen Cart. Specifically I'm trying to edit the "mega menu" on the page and according to the tutorial that button is how you do it. Other then that button I don't see any other way to modify that menu bar without changing the actual code. Hope this makes sense.

16 May 2013, 4:37 PM
#8
jw1212 avatar

jw1212

New Zenner

Join Date:
May 2013
Location:
Tampa, FL
Posts:
27
Plugin Contributions:
0

Re: Template Help

will do, thanks!

19 May 2013, 2:42 PM
#9
jw1212 avatar

jw1212

New Zenner

Join Date:
May 2013
Location:
Tampa, FL
Posts:
27
Plugin Contributions:
0

Re: Template Help

I got a response from the template developer but not sure exactly what it means or how to correct issue, can anyone help? Here's her response:

If you already have the product layout grid module installed and have run the sql patch for that module or any of our other templates installed, you will omit that part of the sql patch:

Code:

The following is used only to remove the column layout grid module:

#delete from configuration where configuration_key in('PRODUCT_LISTING_LAYOUT_STYLE','PRODUCT_LISTING_COLUMNS_PER_ROW');

INSERT INTO configuration (configuration_title, configuration_key, configuration_value,
configuration_description, configuration_group_id, sort_order,
last_modified, date_added, use_function, set_function)
VALUES ('Product Listing - Layout Style', 'PRODUCT_LISTING_LAYOUT_STYLE', 'columns',
'Select the layout style:<br />Each product can be listed in its own row (rows option)
or products can be listed in multiple columns per row (columns option)', '8', '40', NULL,
now(), NULL, 'zen_cfg_select_option(array("rows", "columns"),');

INSERT INTO configuration (configuration_title, configuration_key, configuration_value,
configuration_description, configuration_group_id, sort_order,
last_modified, date_added, use_function, set_function)
VALUES ('Product Listing - Columns Per Row', 'PRODUCT_LISTING_COLUMNS_PER_ROW', '3',
'Select the number of columns of products to show in each row in the product listing.
The default setting is 3.', '8', '41', NULL, now(), NULL, NULL);

Thanks!

19 May 2013, 2:53 PM
#10
jw1212 avatar

jw1212

New Zenner

Join Date:
May 2013
Location:
Tampa, FL
Posts:
27
Plugin Contributions:
0

Re: Template Help

Sorry forgot to include the message I sent to her that prompted the above response, here it is:

I thought I uploaded the SQL patch with no issues. I then tried following the install tutorial again and when I got to the upload sql patch part I get an error "WARNING: An Error occurred, please refresh the page and try again." I then pulled the log file and here is the log entry:

"[17-May-2013 09:22:10] PHP Fatal error: 1062 duplicate entry 'PRODUCT_LISTING_LAYOUT_STYLE' for key 'unq_config_key_zen' ::
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('Product Listing - Layout Style',
'PRODUCT_LISTING_LAYOUT_STYLE', 'columns', 'Select the layout style:<br />Each product can be listed in its own row (rows option) or products can be listed in multiple columns per row (columns option)', '8', '40', NULL, now(), NULL, 'zen_cfg_select_option(array("rows", "columns"),');
in /home4/desotosy/public_html/includes/classes/db/mysql/query_factory.php on line 120

Any idea where I went wrong. Thanks for the help I've been banging my head against the wall.

26 Dec 2014, 10:54 PM
#11
jaingram avatar

jaingram

New Zenner

Join Date:
Apr 2009
Location:
Illinois
Posts:
10
Plugin Contributions:
0

Re: Template Help

Warning NOTE: You have no payment modules activated. Please go to Modules->Payment to configure.
I need help. I have tried and tried and I still cannot correct this. Any Help would be greatly appreciated.

27 Dec 2014, 12:44 AM
#12
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Template Help

I'm getting a 404 from that link in your signature.