Jump to content

TPL file help


Guest Kelvin

Recommended Posts

Hi,

Not sure if this is out of topic. Moderator, if this is out of topic just let me know.

I am quite new to CubeCart, and new to CSS, TPL, PHP in fact. I am just starting to learn and come around this that I don't understand.

In the /global/index.tpl file, all the build-in boxes, search form, etc are in separate file. And this file just calls those file to place them in the right place. So we have things like:

{SEARCH_FORM}

{CATEGORIES}

{PAGE_CONTENT}

etc...

My question is, is there some place that specify where to link to this files? I know if you use PHP you can use the

<?php include("filename.php"); ?>

But here they just use the curly bracket. If I want to do a new box and put them into the separate file like cubecart did, how should i go about naming the file? How to I ensure that they can read my new file?

Thanks.

Regards,

Kelvin

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