Rendering container from one page, on another

95 views
Skip to first unread message

Joel Kinzel

unread,
Nov 5, 2012, 10:01:18 AM11/5/12
to reddot-c...@googlegroups.com
All: 

We have the following situation: 

  • A list of faculty members and their contact information. 
  • The contact information is not on the faculty page, but is, instead a page inside of the container on the faculty page (we need to allow flexibility as some faculty have multiple sets of contact information).
  • Need the contact info to show up on the list 
Here is what we have:
<reddot:cms><output type="object" object="Escape:HtmlEncode(Context:Pages.GetPage(Guid:<%info_guid%>).GetElementByName(con_contactInfo).GetHtml())"/></reddot:cms>

My questions is this: 

Is there a way to render that container (or more specifically the pages within the container) as if it were published instead of with the extra markup?

Right now, it includes all of the extra markup that is wrapped in block marks (even when published) so we have been doing CSS display:none on the items we want to hide. I'd rather they not appear in the markup at all. Is there anyway to achieve that using a render tag (ie. can we specify which render mode we want with gethtml)? 

Tim D

unread,
Nov 9, 2012, 4:24:02 PM11/9/12
to reddot-c...@googlegroups.com
reference the container to the old one (reference link in clipboard)? If you have SmartTree.

Joel Kinzel

unread,
Nov 28, 2012, 10:25:34 AM11/28/12
to reddot-c...@googlegroups.com
Unfortunately our users are super simple.

Jian Huang

unread,
Nov 28, 2012, 1:53:15 PM11/28/12
to reddot-c...@googlegroups.com
Hi Joel,

Please let me know if this is correct.  You have

[Page] John Smith
     [Container] con_contacts
          [Page] Contact Info 1
          [Page] Contact Info 2


In this case, you can do container to container reference

[Page] Faculty Contact Info
     [Container] con_contacts >> con_contacts

Since you said users do not have clipboard to do the reference.  That is fine, method #2

[Page] Faculty Contact Info
     [Container] con_contacts
          [Page] Contact Info 1
          [Page] Contact Info 2

Please note that content modules/pages can be connected to multiple locations.  In SmartEdit, click on the reddot for con_contacts, connect existing pages?
Reply all
Reply to author
Forward
0 new messages