Welcome Guest, Not a member yet? Register   Sign In
How to insert specific elements in common page content?
#1

Hi there!

I have one question that I worry about and interested very long time

Imagine we have page content. As we know it usualy fills with texteditor like CKEDITOR

And what if I want to insert in some place in text that we paste with texteditor some special elements like custom gallery,

or some contact form or some google map, I mean that staff which not related with usual text

Examples

1) Divide page content into pieces and fills it separatly, then in page with unique design paste this parts in certain places and between them insert our specific elements

2)Create some sorts of placeholders in texteditor - [[gallery=1]], [[contact_form]],[[map=2]] and so on. And before render page look up through the text content, parse and replace with that staff we need

3)other options?

So what would be the best practices from your professional look? How u resolve this kind of situation?

Thanks!
Reply


Messages In This Thread
How to insert specific elements in common page content? - by scion - 12-05-2015, 09:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB