Still a bit of a mystery - everything's released, but I'm still not
getting the data I'd expect. I also seem to be getting a strange
'extra' page in my list's loop, with no values for any of the data.

Is there an equivalent of '.Id' that gives me the page ID, rather than
the GUID?

Is there a way of searching for an element by GUID?

Version of RD is 7.5.1.31

Cheers,

- Bobby

On May 27, 1:26 pm, theHam <[email protected]> wrote:
> Hey bobbykjack
>
> in response to your questions:
> a.) you may want to have a look at the release states for each of
> these pages that have the blank elements e.g. are the pages in draft
> and are they in draft by another user?
>
> I'm aware of a pre 7.5 SP2 issue that when pulling elements out of
> pages in draft by a different user the last released version of
> content would be displayed e.g. if i changed the title from black to
> white and did not release the change, you as a different user would
> still see black (as it was the last released version). The biggest
> issue from this is of course that if i create some brand new content
> and leave it in a draft state the last released version is nothing.
> The render tag information for this page viewed by another user would
> return a blank.
>
> also what version of cms are you running? i couldn't see a reference
> in the above posts
>
>  - Morgan
>
> On May 27, 7:40 pm, bobbykjack <[email protected]> wrote:
>
> > Well, after a LOT of trial and error, I'm getting somewhere. I CAN now
> > get some data from the lowest page in this structure up to the highest
> > using render tags. SOME data. What's really strange is that some
> > elements are visible, and others aren't, and there's no obvious
> > pattern as to why this is. For example, some elements of the page will
> > return their object details [e.g. via Elements.GetElement(sf_name)]
> > and their value [e.g. via Elements.GetElement(sf_name).Value]. Others,
> > however, just return an empty string in either case. There is no
> > obvious reason behind this (those that work and those that don't are
> > both standard fields, and I've tried varying their type between
> > numeric and text, in case this minor difference was the cause) and no
> > useful error information is displayed.
>
> > So,
>
> > a) Does anyone know of a common reason why I might be seeing this
> > behaviour?
>
> > b) Is there any way to debug this? E.g. can I loop through all
> > available Elements and output their name/value?
>
> > Many thanks for all the help,
>
> > - Bobby
>
> > On May 27, 9:54 am, bobbykjack <[email protected]> wrote:
>
> > > Thanks for all the help, guys.
>
> > > @rwagner: I've considered the 'link to the lower page' route, but I'm
> > > not sure that will give the desired effect for the actual linking (as
> > > opposed to the data) aspect of this. I'm certainly going to give it a
> > > go first though!
>
> > > @Wayne, markus: The render tags option definitely seems like a
> > > workable solution, and it's probably a good idea to familiarise myself
> > > with this technique in general. I'm just trying to avoid
> > > overcomplicating things, if at all possible. I think it's a real shame
> > > that a pretty basic site structure requires so many different
> > > languages (reddot tags, render tags, navigation manager, vbscript,
> > > etc.) when implemented in RedDot as opposed to a single, flexible
> > > language like PHP. Ah, well - I'll stop moaning and get on with
> > > it! ;-)
>
> > > Cheers,
>
> > > - Bobby
>
> > > On May 27, 4:31 am, markus giesen <[email protected]> wrote:
>
> > > > Broken link... Google Groups fail..
> > > > Try this onehttp://tr.im/mvG8
>
> > > > On 27 Mai, 10:25, markus giesen <[email protected]> wrote:
>
> > > > > Hi Bobby,
>
> > > > > maybe Phil's beginners guide can help you to achieve your 
> > > > > goals:www.reddotcmsblog.com/digging-deeper-with-navigation-manager-render-t...
>
> > > > > It describes how to get values using render tags for data over more
> > > > > than one level
>
> > > > > On May 27, 6:39 am, Wayne Bouwmeester <[email protected]>
> > > > > wrote:
>
> > > > > > You can likely do what you need to with Render tags.
> > > > > > Here's some code I used to get at a bunch of images that were in 
> > > > > > pages
> > > > > > on a specific list off the home page
> > > > > > The code loops through each of the pages on a list, and gets the 
> > > > > > image
> > > > > > from the img_flashBanner element.
> > > > > > If it is the first element, it adds it to the string, subsequent get
> > > > > > separated with a comma. It was used in some JS.
> > > > > > Gives you an idea of what you can do.
> > > > > > It might be a little frustrating getting the syntax down - but I 
> > > > > > think
> > > > > > it's possible.
> > > > > > Wayne.
>
> > > > > > <reddot:cms>
> > > > > > <foreach itemname="flashImagePage"
> > > > > > object="Context:CurrentIndex.GetPathArray()[Int:
> > > > > > 1].Page.Elements.GetElement(lst_flashImages).Value"
> > > > > > countername="ficounter">
> > > > > > <if>
> > > > > > <query valuea="Store:ficounter" operator="==" valueb="Int:0">
> > > > > > <htmltext>
> > > > > >     flashImages = '<%!! Store:flashImagePage.Elements.GetElement
> > > > > > (img_flashBanner).GetHtml !!%>';
> > > > > > </htmltext>
> > > > > > </query>
> > > > > > <query type="else">
> > > > > > <htmltext>
> > > > > >     flashImages += ',<%!! Store:flashImagePage.Elements.GetElement
> > > > > > (img_flashBanner).GetHtml !!%>';
> > > > > > </htmltext>
> > > > > > </query>
> > > > > > </if>
> > > > > > </foreach>
> > > > > > </reddot:cms>
>
> > > > > > On May 18, 4:35 am, bobbykjack <[email protected]> wrote:
>
> > > > > > > I have the following structure:
>
> > > > > > > [] Page one
> > > > > > >     = List one
> > > > > > >         [] Page two
> > > > > > >             = List two
> > > > > > >                 [] Page three
> > > > > > >                     - Field 1
>
> > > > > > > List two can be limited to a single item, if that makes things 
> > > > > > > easier/
> > > > > > > possible. Is there a mechanism allowing me to refer to Field 1 in 
> > > > > > > Page
> > > > > > > one? I guess I need to 'transfer' a list, at some point, and I'd 
> > > > > > > like
> > > > > > > to do all of this without resorting to additional scripting (e.g. 
> > > > > > > RQL/
> > > > > > > ASP/etc.) if at all possible.
>
> > > > > > > Thanks,
>
> > > > > > > - Bobby
--~--~---------~--~----~------------~-------~--~----~
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