Jump to content

Trouble with menues


Guest Teonnyn

Recommended Posts

Guest Teonnyn

Hello, I just got CubeCart after a long time of not using it.. I think the last version I had was 2. Now, I have a lot more understanding of the template system and PHP/etc in general but still having trouble getting this right.

My goal is to make the CubeCart template match up to my own template on the website:

http://www.geeklicense.com/index.php?page=home

At the moment, this is where I am:

http://geeklicense.com/store/index.php

Trying to get the menu in place is the hardest part thus far, and I'm using Killer as a base for this template. The menu itself is pure CSS and I managed to get it to render in place with a forced include:

$body->assign("CUSTOMMENU",include_once("***l/menu.php"));

However, nothing I'm trying can get the menu to where it actually belongs, the blank white space below the header. Does anyone have any suggestions?

Link to comment
Share on other sites

It looks like you're trying to use PHP inside the template file.

For every template file (.tpl), there will be an associated .inc.php file inside the /includes folder.

You'll need to include any new php scripts within index.php in the root of the site.

Its sometimes easiest to hijack an existing (but unused/removed) box/template.

Jason

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...