Welcome Guest, Not a member yet? Register   Sign In
dynamically create a position on the template
#1

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.
Reply
#2

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.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
Reply
#4

(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!
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#5

(This post was last modified: 02-11-2018, 10:56 AM by wishmaster.)

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.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB