how can I create a new templates ?

hotmovie
Posts: 7
Joined: Fri Mar 22, 2013 8:40 am

how can I create a new templates ?

Post by hotmovie »

hi
I created a new template, and upload the folder of "green" to "/ scj / tube / default_templates / ", but did not appear in the background.If I want to modify the template, only edit the default template?

regards
admin
Site Admin
Posts: 37994
Joined: Wed Sep 10, 2008 11:43 am

Re: how can I create a new templates ?

Post by admin »

You have to create new template in Rotation - CMS (create new)

folder with default templates is just a folder with examples
Don't forget to run script update
hotmovie
Posts: 7
Joined: Fri Mar 22, 2013 8:40 am

Re: how can I create a new templates ?

Post by hotmovie »

admin wrote:You have to create new template in Rotation - CMS (create new)

folder with default templates is just a folder with examples
If I create a new "index" template , the default "index" template will be overwritten?

regards
admin
Site Admin
Posts: 37994
Joined: Wed Sep 10, 2008 11:43 am

Re: how can I create a new templates ?

Post by admin »

no
why would you create a new template with the same name ?
Don't forget to run script update
hotmovie
Posts: 7
Joined: Fri Mar 22, 2013 8:40 am

Re: how can I create a new templates ?

Post by hotmovie »

admin wrote:no
why would you create a new template with the same name ?
Thank you very much! Scj is very powerful, and I need a good studies.
admin
Site Admin
Posts: 37994
Joined: Wed Sep 10, 2008 11:43 am

Re: how can I create a new templates ?

Post by admin »

Thank you.
Don't forget to run script update
hotmovie
Posts: 7
Joined: Fri Mar 22, 2013 8:40 am

Re: how can I create a new templates ?

Post by hotmovie »

hi
I have created a new template of "content_list_1", thumbs of the categories.
How to call the new template?

regards
admin
Site Admin
Posts: 37994
Joined: Wed Sep 10, 2008 11:43 am

Re: how can I create a new templates ?

Post by admin »

add &force_template=... to URL
Don't forget to run script update
hotmovie
Posts: 7
Joined: Fri Mar 22, 2013 8:40 am

Re: how can I create a new templates ?

Post by hotmovie »

admin wrote:add &force_template=... to URL
hi
template of index "<a href="/category/<!--CATEGORY_ID-->/<!--CATEGORY_NAME-->/ctr/1/"><!--CATEGORY_NAME--> (<!--TOTAL_ITEMS-->)</a></li></category>", I add "?force_template=content_list_1" to the index template. "<a href="/category/<!--CATEGORY_ID-->/<!--CATEGORY_NAME-->/ctr/1/?force_template=content_list_1"><!--CATEGORY_NAME--> (<!--TOTAL_ITEMS-->)</a></li></category>",but the new template of "content_list_1" is not displayed.why?

regards.
admin
Site Admin
Posts: 37994
Joined: Wed Sep 10, 2008 11:43 am

Re: how can I create a new templates ?

Post by admin »

Caz it just doesn't work this way.

Here's an example

/scj/tube/?group_id=...&force_template=...
Don't forget to run script update
Post Reply