gone with this

    <cfset aPages =
application.factory.oTree.getLeaves(LNODEIDS=request.navid) />
    <cfloop from="1" to="#arrayLen(aPages)#" index="i">
        <cfset stObj[aPages[i].title] = aPages[i].OBJECTID />
    </cfloop>

<skin:buildLink objectID="#stObj['page one']#" linktext="go to page one" />
<skin:buildLink objectID="#stObj['page two']#" linktext="go to page two" />


2009/1/7 Blair McKenzie <[email protected]>

> If the link is in the first page you could look into the functions in
> application.factory.oTree. There should be a way of getting the siblings of
> a page, or the children of the navigation node.
>
>
> On Wed, Jan 7, 2009 at 1:33 PM, AJ Mercer <[email protected]> wrote:
>
>> guess I should have clarified a bit further
>>
>> I know the page title - but not it's object ID
>>
>> So I guess I am after a way to get the object ID to pass to buildLink.
>>
>>
>> 2009/1/7 Blair McKenzie <[email protected]>
>>
>> Buildlink will work for any object in the system, including dmHTML. There
>>> should even be a pretty FU for them.
>>>
>>> Blair
>>>
>>>
>>> On Wed, Jan 7, 2009 at 12:58 PM, AJ Mercer <[email protected]> wrote:
>>>
>>>> I have two objects under a single nav
>>>> Both have a friendly URL
>>>>
>>>> Is there a tag like buildLink for objects (eg dmHTML) rather than the
>>>> nav object?
>>>>
>>>>
>>>> For now I will create a sub nav object
>>>> But for some sites this may cause an issue if you dont want it to show
>>>> up in the menu.
>>>>
>>>>
>>>>
>>>> --
>>>> AJ Mercer
>>>> Web Log: http://webonix.net
>>>>
>>>>
>>>> Once you come to the realisation that everyone is crazy,
>>>> You will never be surprised or disappointed ever again.
>>>> AJM 2008
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>> --
>> AJ Mercer
>> Web Log: http://webonix.net
>>
>>
>> Once you come to the realisation that everyone is crazy,
>> You will never be surprised or disappointed ever again.
>> AJM 2008
>>
>>
>>
>
> >
>


-- 
AJ Mercer
Web Log: http://webonix.net


Once you come to the realisation that everyone is crazy,
You will never be surprised or disappointed ever again.
AJM 2008

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" 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/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to