Jump to content

Site Variables within the Site Docs textbox


Guest erickroyer

Recommended Posts

Guest erickroyer

I have a need to place a site variable within an html table that I entered from the sitedocs page.

Example

<table>

<div class="colRight">

{LATEST_NEWS}

</div>

</table>

The only page I can get this code to work on is the global/index.tpl page but then it would display the latest news on all pages. I only need the latest news to be displayed on the homepage. So I edited the homepage from the site docs setting, switched to SOURCE and added the above HTML. When I go to the site's homepage nothing shows up.

Is there a way to use this code on just the homepage?

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