dynamically create a position on the template - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: dynamically create a position on the template (/showthread.php?tid=69995) |
dynamically create a position on the template - programmer - 02-06-2018 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. RE: dynamically create a position on the template - InsiteFX - 02-07-2018 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. RE: dynamically create a position on the template - falko - 02-10-2018 Here: http://php.net/manual/fr/function.str-replace.php RE: dynamically create a position on the template - InsiteFX - 02-11-2018 (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! RE: dynamically create a position on the template - wishmaster - 02-11-2018 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. |