We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum
I have some [master pages] set up, and I want to use perch_content_custom to change the background of a section depending on it's folder.
Cattle Folder index.php - [course-category.php] (includes original perch_content which sets the background image for this category) cattle-course.php - [course.php] (uses perch_content_custom to get it's backgorund)
Sheep Folder exactly as above in cattle folder
However I have to refer to the 'page' starting at the root of the site. I have tried just putting in index.php as the page url which results in php not outputting anything. Is there a clever way to select index.php in the same folder as the current page?
Want to reply to this thread?Login with Perch