I am going to offer a 3rd solution using Jquery AJAX

<div id="ajaxed-content">Loading...</div>
<script>
$.get('<%anc_promotion_page%>', function(data){
     $('#ajaxed-content').empty();
     $('#ajaxed-content').append('$(data).find('jquery selector of the 
content you want in your promotion page'));
});
</script>

On Monday, October 5, 2015 at 8:24:09 PM UTC-4, HiRAEdd wrote:
>
> There could potentially be two ways to do what you're talking about.
>
> Expanding on Shankar's suggestion, you could create a List Placeholder in 
> your Admin page. Then reference con_Content to your new List Placeholder. 
> Then code such as:
> <!IoRangeList><!--<%lst_Reference%>--><%Std_PromCode%><br><!/IoRangeList>
> would pull through the value of Std_PromCode for every page connected to 
> the Container.
>
> Alternatively (and this may or may not address exactly your need, I'd 
> require further information), just say you wanted the value for 
> Std_PromCode on the last page you added, a render tag like this would give 
> you that value:
> <%!! 
> Context:CurrentPage.GetElementByName(lst_List).Value[Int:0].GetElementByName(con_Content).Value[Int:0].GetElementByName(Std_PromCode).GetHtml()
>  
> !!%>
> This assumes your Promotion Page is connected to the Promotion Admin Page 
> via a List Placeholder called "lst_List".
> If you wanted to grab the value from every page, you'd need to write a For 
> Each loop to do that.
>
> If you're ok with setting the page up the first time with the manual 
> reference, I'd recommend the first option. It's easy and does the job using 
> native Placeholders.
>
> Cheers,
>
> G.
>
>
> On 30 September 2015 at 22:23, S Gunara <shguna...@gmail.com <javascript:>
> > wrote:
>
>> I want to pull information from content element in child page to display 
>> that particular value in its's parent page
>>
>>  
>>
>> eg. 
>>
>> Promotion Admin Page (in Reddot CMS)
>>
>> è Promotion page
>>
>> o   con_Content
>>
>> §  Content Elem -01
>>
>> §  Content Elem -02
>>
>> §  Content Elem -03
>>
>> §  Content Elem -04
>>
>> ·         Std_Name
>>
>> ·         Std_Email
>>
>> ·         *Std_PromCode*
>>
>>                 
>>
>> I want to display Std_PromCode in Promotion Admin Page while it is 
>> iterating to list all the child promotion pages in page load.
>>
>>  
>>
>> Could anyone please help me to fetch this value during the page load of 
>> Promotion admin page? 
>>   
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "RedDot CMS Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to reddot-cms-use...@googlegroups.com <javascript:>.
>> To post to this group, send email to reddot-c...@googlegroups.com 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/reddot-cms-users.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reddot-cms-users+unsubscr...@googlegroups.com.
To post to this group, send email to reddot-cms-users@googlegroups.com.
Visit this group at http://groups.google.com/group/reddot-cms-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to