Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Templates, Stylesheets, Page Layout / display zencart menu in a non-zencart page?

display zencart menu in a non-zencart page?

Started by vandiermen on 10 May 2011, 9:05 PM · Views: 1,097

Results 1 to 6 of 6
10 May 2011, 9:05 PM
#1
vandiermen avatar

vandiermen

Totally Zenned

Join Date:
Feb 2007
Posts:
518
Plugin Contributions:
1

display zencart menu in a non-zencart page?

I have integrated CMS Made simple template with zencart,
But now I would like to integrate zencart menu with CMS Made simple template.

Or if I could just display the zencart menu in a non-zencart php file this would work.

example:

If I wanted to echo zencart menu into the zencart template I would use something like

<!--bof-drop down menu display-->
<?php require($template->get_template_dir('tpl_drop_menu.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_drop_menu.php');?>
<!--eof-drop down menu display-->

But my attempts display the menu out of the zencart template have failed.

10 May 2011, 10:47 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: display zencart menu in a non-zencart page?

What the the ultimate end goal??

If to use ZenCart as the backend to your other script and allow buying etc from outside of ZenCart then security issues will break your attemtpts

Zen-Venom Get Bitten

11 May 2011, 8:23 AM
#3
vandiermen avatar

vandiermen

Totally Zenned

Join Date:
Feb 2007
Posts:
518
Plugin Contributions:
1

Re: display zencart menu in a non-zencart page?

Hello,
I use little bits of code to add the header and footer of My main CMS to a zencart install. Zencart admin is not changed. Just add blocks of code to the frontend.. Info: studio-owens.com/blog/CMS-Made-Simple-and-Zen-Cart-Template-Integration.htm

So it adds a header from CMS Script system.... where client can add pages to an information menu

Zencart has a good categories menu editor
And I am going to use CMS Script system for the information menu.

Like www.moontree.com.au

If I can echo the categories menu in my other template and direct the links to /zencart install

11 May 2011, 12:41 PM
#4
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: display zencart menu in a non-zencart page?

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

11 May 2011, 12:59 PM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: display zencart menu in a non-zencart page?

Assuming that Moontree is just an example and not your site, I hope you are not going to do as they did and make everything javascript so that visitors without that are forbidden to navigate the site...