Did you find a solution? Am Donnerstag, 30. Oktober 2014 18:41:01 UTC+1 schrieb [email protected]: > > Unfortunately I need to do it programmatically through a nav. render spot, > something like <!! Context:CurrentPage.GetElementByName(anc_link).Value > !!%>, which works if I have a content class attached to it, but not when > the "Assign URL" function has been used. > > On Wednesday, October 29, 2014 9:54:22 PM UTC-5, Jian Huang wrote: >> >> I know there are 2 ways to do this. >> >> Using >> >> <!IoRangeList> >> <!-- <%lst_ref_page%> --> >> <%anc_link%> >> <!/IoRangeList> >> >> When you reference lst_ref_page to the page, it will pull the anc_link of >> the referenced page through. Works, BUT you can reference a page in >> SmartEdit, also, a solution that doesn't make sense on first glance. >> >> Another solution >> >> <script> >> $.get('<%anc_ref_page%>', function(data){ >> // get the other page's special link >> $(data).find('#my-special-link').attr('href'); >> >> // render it on current page >> }); >> </script> >> >> >> >> On Tuesday, October 28, 2014 10:03:01 PM UTC-4, [email protected] wrote: >>> >>> I have an anchor element on a page that I need to get the value of, >>> regardless of if the user references a page or uses the "assign url" >>> functionality. I know how to get the URL of a reference/connected page, but >>> I can't figure out how to get the URL that is assigned using the "assign >>> url" function. Is that possible? >>> >>
-- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/reddot-cms-users. For more options, visit https://groups.google.com/d/optout.
