Guest Posted September 11, 2007 Share Posted September 11, 2007 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 Quote Link to comment Share on other sites More sharing options...
Guest Posted September 11, 2007 Share Posted September 11, 2007 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 Quote Link to comment Share on other sites More sharing options...
Guest Posted September 12, 2007 Share Posted September 12, 2007 Hi guys Can anyone help? Thanks T Quote Link to comment Share on other sites More sharing options...
markscarts Posted September 13, 2007 Share Posted September 13, 2007 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. Quote Link to comment Share on other sites More sharing options...
Guest Posted September 13, 2007 Share Posted September 13, 2007 Thanks Markscarts, I thought that I had broken something. I will give it a shot and let you know. T Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.