I have made a new template and I want to define it in a list of pages.
There is an easy way to select a list of pages and then define them with the same template ?? or the only way is go inside each page and select the template ??
How to define a list of pages with the same template ??
-
- Forum Members
- Posts: 17
- Joined: Wed Jan 30, 2008 12:59 pm
- Location: Juiz de Fora - MG, Brazil
Re: How to define a list of pages with the same template ??
Hi in template manager click in Set All Pages
Re: How to define a list of pages with the same template ??
If you want to change only few (20?) pages, it shouldn't be difficult if you can access to mysql tables via Phpmyadmin.spadilha wrote: There is an easy way to select a list of pages and then define them with the same template ?? or the only way is go inside each page and select the template ??
Take note of number of your desired template id (20) , then id's of the pages to change (eg 10, 11, 12)
Then use a query like this:
Code: Select all
UPDATE `cms`.`cms_content` SET `template_id` = '20' WHERE
`cms_content`.`content_id` =10 AND
`cms_content`.`content_id` =11 AND
`cms_content`.`content_id` =12 ;
blast
-
- Forum Members
- Posts: 17
- Joined: Wed Jan 30, 2008 12:59 pm
- Location: Juiz de Fora - MG, Brazil
Re: How to define a list of pages with the same template ??
Nuno, I don't want to set the template to "All Pages", but just some of them. I want to select some pages and set the same tamplete.
thankz anyway
thankz anyway
Re: How to define a list of pages with the same template ??
Yep, dude, me absolutely agrees with what you sayinblast2007 wrote:If you want to change only few (20?) pages, it shouldn't be difficult if you can access to mysql tables via Phpmyadmin.spadilha wrote: There is an easy way to select a list of pages and then define them with the same template ?? or the only way is go inside each page and select the template ??
Take note of number of your desired template id (20) , then id's of the pages to change (eg 10, 11, 12)
Then use a query like this:
RegardsCode: Select all
UPDATE `cms`.`cms_content` SET `template_id` = '20' WHERE `cms_content`.`content_id` =10 AND `cms_content`.`content_id` =11 AND `cms_content`.`content_id` =12 ;
blast
