php - Custom tags for my very small cms (Codeigniter) -


i'm developing small cms kind of thing. far have page controller lets add pages. , there frontend controller. calls received frontend controller , respective page displayed. want allow custom tags while creating page. using ckeditor , want while creating page user gives tag <!--cmsform_printform--> , tag print printform method of cmsform controller.

for have created controller cmsform has method printform. in fronend controller have created method replace_tags searches tags , call respective controller , method.

but realized logic false because should not load controller in controller. can't think of anyother logic. please guide me or redirect me codeigniter tutorial explains this.

thanks

have tried writing helper instead? functionality describe sounds more helper method controller action.

ci manual in site lists several excellent video tutorials, notably ones published on nettuts+. might want have look, if haven't already. also, please search ci forums. contain plenty of information on pretty ci-related topic.


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -