I find - perch_content_custom
I want to show one item from multiple items of the field depending on the current subdomen value.
I have two subdomen: city1 and city2.
And i have field for city name and content with multiple items:
name = citi1
content = city 1 content ...
I want show city content corresponding to current subdomen.
I try to make this on filters functionality (PerchTemplateFilter), but perch save in database result on every save page in admin panel.
How can i do this.
Sorry for my english.
I need replace the existing page file (test.php) by creating a new page from the master page with the same path (test.php).
Is it possible?
This is necessary so that the client can gradually replace the usual php pages with the pages managed from perch admin panel on the basis of the master page.
By default, this does not work, because if I create a page with an existing path (filename), the perch changes the address or writes that the file already exists.
I need to get around this, since the client cannot change the code in the php files to edit the pages from the admin panel.
The site has more than 2000 pages.
Sorry for my english )))