Render tags behave very strangely - I recently observed the phenomenon
that standard field placeholders' values can be returned, but not if
they're type is set to numeric. Seriously? Yes. The solution? Change
the type to text, even if you're really working with numeric values.

General advice for render tags: lots of trial and error.

- Bobby

On Jul 6, 3:01 pm, Gareth Trufitt <[email protected]> wrote:
> Oh yea, I had an email from a RedDot consultant that suggested this:
> 'I believe that the headline will be returned as blank by a rendertag
> if the page is not released so a quick if statement on that would
> probably sort it out'
>
> I'm not too sure what he meant and whether it would work but it would
> be great if anyone could elaborate.
>
> Cheers,
>
> Gareth
>
> On Jul 6, 2:58 pm, Gareth Trufitt <[email protected]> wrote:
>
> > Hi there,
>
> > Is there a way to grab the contents of an info placeholder using a
> > render tag?
>
> > .GetHtml() and .Value don't work with info placeholders as far as I
> > know, is there a way to grab the contents of the placeholder from the
> > master page?
>
> > The background behind this problem is that within our main navigation,
> > as soon as a page is created, it is included within the navigation,
> > therefore if any pages are published before the newly created page,
> > they include a link, in the navigation, to that page, therefore
> > creating a dead link. My plan is to stick an if statement in the nav
> > that grabs the username of the last person that released the page and
> > checks if it exists or not as, I assume (correct me if I'm wrong),
> > that info placeholder would evaluate to empty if the page was newly
> > created and had never been released.
>
> > Is this the best way to do this and how would I do it if it was?
>
> > Many thanks,
>
> > 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