Hi All,

I have a standard field placeholder on my home page and am trying to
use a render tag to retrieve the value of that stf to use throughout
the site. I have tried a number of combinations but I can't seem to
get it to work, I am sure I must be close but am doing something small
wrong.

What I have so far is:

<%!! Context:CurrentIndex.GetRootIndex().Headline !!%>

Which works and gets the headline of the home page.


<%!! Context:Pages.GetPage(Guid:
9718C369CC44475D911A449AB37FDE18).Elements.GetElement
(stf_site_name).Value !!%>

I got the guid of the page from the page info section and this render
tag retrieves the stf correctly. (This is for use in multiple projects
so it can't do it this way)


<%!! Context:CurrentIndex.GetRootIndex().Id !!%>

Something that struck me as a little strange was the fact that the
above render tag retrieved a completely different guid than the one on
the page info section...

Any help would be greatly appreciated,

Cheers,

Gareth




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to