Jump to content

Viewing Cats in different pages


Guest

Recommended Posts

Hi

I am in the process of creating my homepage based on CubeCart however I do not want any of the initial product details to show in the intial page.

As you can see on my site I have replaced the {CONTENT} tag with my home page html.

I have still to tidy this page up, however I would like to know how I can make the links for the Categories in the category box link to a viewcat sheet, where you will see a list of products. At the moment they all point back to the same page where I think they are looking for the {CONTENT} tag.

If I have misunderstood the concepts then please let me know.

Thanks

T

Link to comment
Share on other sites

After checking some of the other links on the page I can see that apart from the "view Cart" none of them link anywhere.

More than likely this is a basic error, so bear with me.

Any help would be appreciated

T

Link to comment
Share on other sites

It is a mistake removing the {CONTENT} tag because that represents all content dynamically added to the page . . .

If you want to have your own static html on the page rather than the normal content for index page, you should do it to styleTemplates/content/index.tpl instead of global/index.tpl. Here's how:

Save a backup of styleTemplates/content/index.tpl to styleTemplates/content/backup_index.tpl

Open styleTemplates/content/index.tpl and delete everything between these code tags:

<!-- BEGIN: index -->

and

<!-- END: index -->

Be sure to leave those tags at the beginning and end of the file. Between them, paste the html code for your page.

DO NOT use any <head> <body> or <html> tags, as these are already generated in your CubeCart pages, all you need is the code for the part of the page that you want to fill content section.

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...