- Posts: 49
COMMUNITY FORUM
"Select a Template" (New category setup)
- Mike C
- Topic Author
- Offline
- Senior Member
Less
More
15 years 3 months ago #70292
by Mike C
"Select a Template" (New category setup) was created by Mike C
Ok, so I understand that categories in K2 are what define item types because each category will have its own template. The question is, how/where do we develop category templates for K2?
Please Log in or Create an account to join the conversation.
- Erebrum
- Offline
- Junior Member
Less
More
- Posts: 30
15 years 3 months ago #70293
by Erebrum
Replied by Erebrum on topic "Select a Template" (New category setup)
Hi ok i didn't tested whole process yet but possibly it would go as follows
1. make new folder in templates - my template - com_k2 etc ... More info about current template placing Here
2. copy all files from default K2 template folder (/components/com_k2/templates/default) in it
3. fire up editor and change custom template files accordingly
4. set actual category to custom template in category parameters
5. also there is a one more step needed for front page to change template - to set template in menu link properties Here
As i sad i got templates to show in template selection, and i quickly changed category template a bit while writing this (just inserting some characters around) and it works. so far so good :P
1. make new folder in templates - my template - com_k2 etc ... More info about current template placing Here
2. copy all files from default K2 template folder (/components/com_k2/templates/default) in it
3. fire up editor and change custom template files accordingly
4. set actual category to custom template in category parameters
5. also there is a one more step needed for front page to change template - to set template in menu link properties Here
As i sad i got templates to show in template selection, and i quickly changed category template a bit while writing this (just inserting some characters around) and it works. so far so good :P
Please Log in or Create an account to join the conversation.
- Alexis Valera
- Offline
- New Member
Less
More
- Posts: 18
14 years 6 months ago #70294
by Alexis Valera
Replied by Alexis Valera on topic "Select a Template" (New category setup)
Where we can find a manual in order we can manage to create a template that can achieve what we want
Whe want to achive something like add some subtibles to ours main titles of the articles so we can manage to put the subtitle in a new extra field
there going to be something like
THE NEW SUBTITLE
The main title of the content
content
other things and plugins
Please
thanks in advance
Whe want to achive something like add some subtibles to ours main titles of the articles so we can manage to put the subtitle in a new extra field
there going to be something like
THE NEW SUBTITLE
The main title of the content
content
other things and plugins
Please
thanks in advance
Please Log in or Create an account to join the conversation.
- left19
- Offline
- Junior Member
Less
More
- Posts: 22
13 years 9 months ago #70295
by left19
Replied by left19 on topic "Select a Template" (New category setup)
Doesn't someone sell one of these that just has a structure like this:
<h1>THE NAME OF THE CATEGORY</H1>
Left justify category image
* list item 1
* list item 2
etc
The k2 tempaltes are difficult to work with IMHO and I"m a designer.
<h1>THE NAME OF THE CATEGORY</H1>
Left justify category image
* list item 1
* list item 2
etc
The k2 tempaltes are difficult to work with IMHO and I"m a designer.
Please Log in or Create an account to join the conversation.