Pagetitle and content addition
How can we replace Pagetitle and add the content to a existing manually created CI page based on the pagetitle and content created in a php file using Fuel CMS?
The objective is that whenever I click on a particular link in existing CI page, the Page Title, Content, Meta content should be added into the existing page from a newly created php page in Fuel CMS based on matching URI.
Comments
http://docs.getfuelcms.com/general/pages-variables
http://docs.getfuelcms.com/general/opt-in-controllers
I have added below entry in _variables-> global.php
$pages['MyProject/search/Item1'] = array('page_title' => 'CustomTitle');
In the MyProject/search/Item1 fuel page there is a message saying "There is already a controller method assigned to this page". I am not able to see the changes when i click on MyProject/search/Item1. It is redirecting to original controller without any modification of title and content
$vars = $this->fuel->pagevars->retrieve(''MyProject/search/Item1');