CodeIgniter Forums

Full Version: dynamically create a position on the template
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How do you design a cms that can dynamically create a position on the template?
Like Joomla or Prestashop.
So that the user can add or remove various module management from different pages.
They use special tags that are embedded into the text editors code.

Example <%listing_module%>

Then it is parsed with a template engine and replaced.

Or using JavaScript to insert them.
(02-10-2018, 11:33 PM)falko Wrote: [ -> ]Here: http://php.net/manual/fr/function.str-replace.php

You need to trun on Private Messages in you forum profile or no one can answer you!
As example you can view source code of opencart v2.x.x.x. It uses clear MVC and you can see how to achieve what you need.