Problems, need help? Have a tip or advice? Post it here.
2 posts Page 1 of 1
i am using editable in say for ex root/work/work1/index.php. its fine in backend but when i am trying to display the content using masterpage="index.php" It is giving me error that masterpage index.php could not be found so please suggest what should i do ?
thanks in advance
Hi,

Please take a look at the following setup where we have three index.php templates - one in the site-root and the other two in sub-folders. The names of the template (as expected by the 'masterpage' param) is given in brackets)
Code: Select all
site-root
   |_couch
   |_index.php (index.php)
   |_work
      |_index.php  (work/index.php)
      |_work1
          |_index.php (work/work1/index.php)

As you can see, templates in sub-folders have the path attached to their names.

TIP: While logged-in as super-admin, if you hover your mouse on the template's entry in admin-panel sidebar, you'll get a tooltip showing the template name.

Please correct the name you are providing as masterpage to rectify the problem.

Hope it helps.
2 posts Page 1 of 1