Jump to content

Where is the file for the main content???


Guest dillingerink

Recommended Posts

Guest dillingerink

I don't know what my deal is but I can't find the file you work with to modify the layout of the latest products, and the main page content (welcome to cubecart etc...)??

Link to comment
Share on other sites

I don't know what my deal is but I can't find the file you work with to modify the layout of the latest products, and the main page content (welcome to cubecart etc...)??

Example ;

/language/en/home.inc.php

Be carefull how you edit this as its rendered php!

Link to comment
Share on other sites

/language/en/home.inc.php

This is NOT recommended :) unless you need to edit the php itself, and you know what you are doing with it!

Here is your answer:

1. Welcome stuff is edited in your ACP, click Homepage under site documents in navigation bar. Edit the content through fckeditor. The file above must be chmod 777 to accept your edits.

2. CSS styles can be edited in skins/xx/styleSheets/layout.css and style.css

3. The html behind this page can be edited in skins/xx/styleTemplates/content/index.tpl

In the latter file, be careful of the comments - the html comments <!-- BEGIN: etc. and <!-- END: etc. are actually cues telling the php where to parse sections of the page, and the variables {ETC...} are assigned outputs from the php file. Everything else there is simple html . . .

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