London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Open question regarding Dynamic Content

Vote:
0

Hello All,

In a project can we have more than 20 dynamic content? Is it feasible to have that much. In our project there are more resuable sections so we have created a dynamic content controls. Take an example of WebSite name[Yahoo]. The site name will be used in almost all the pages. So if we want to place the site name in tinymce, i think from my knowledge we should create a DynamicContent for that. So till now for small small stuffs like FirstName, Last Name where there is resuable, we are creating a dynamic content.

Please let me know if i am in the right direction.

 

Thanks

RachappaSwamy

#44814
Oct 15, 2010 17:09
Vote:
0

This kind of one-piece-of-information-reused-on-many-pages-situation is probably handled very well by the OOTB dynamic content "property from page". You could store all data like that on a specific page and then use this DC to include it in any editor.

Or am I missing something?

#44818
Oct 15, 2010 17:24
Vote:
0

We did a token replacement system (twice, in fact).  Users could enter this in TinyMCE:

[[SomePropertyName]]


When the page rendered, it would replace that with the contents of "SomePropertyName" off the start page.  We did it with a control adapter.  Worked quite well, and did have the overhead of interface complicated of Dynamic Content, plus the editor could see the placeholder and what property it corresponded to.

#44822
Oct 15, 2010 20:34
Vote:
0

Hello Deane,

Thanks for the reply. Can you just paste some sample code on how it was achieved?

 

 

#44823
Oct 15, 2010 21:03
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.