- Posts: 3
COMMUNITY FORUM
Templating - no com_k2 folder
- Amanda Lalor
-
Topic Author
- Offline
- New Member
Less
More
12 years 1 month ago #111176
by Amanda Lalor
Templating - no com_k2 folder was created by Amanda Lalor
Hi there,
I was following this getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates in an attempt to beautify the k2 section of the J2.5 website I am helping a friend build.
There isnt a com_k2 folder in the /templates/YOURJOOMLATEMPLATE/html/ of this website.
Is it ok to just go ahead and create one?
I am trying to utilise the blog style layout.
Thank you! Amanda
I was following this getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates in an attempt to beautify the k2 section of the J2.5 website I am helping a friend build.
There isnt a com_k2 folder in the /templates/YOURJOOMLATEMPLATE/html/ of this website.
Is it ok to just go ahead and create one?
I am trying to utilise the blog style layout.
Thank you! Amanda
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
Less
More
- Posts: 3722
12 years 1 month ago #111177
by william white
Replied by william white on topic Re: Templating - no com_k2 folder
yes, create ...html/com_k2
and
...html/com_k2/templates
Place a copy of the default folder from components/com_k2/templates/ there
make a copy of it and rename it to yourtemplatename and edit the files
and
...html/com_k2/templates
Place a copy of the default folder from components/com_k2/templates/ there
make a copy of it and rename it to yourtemplatename and edit the files
Please Log in or Create an account to join the conversation.
- Amanda Lalor
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 3
12 years 1 month ago #111178
by Amanda Lalor
Replied by Amanda Lalor on topic Re: Templating - no com_k2 folder
Thanks for the quick reply.
Is there somewhere I can refer to on how or what to modify these php files to, to achieve the blog style layout?
BTW I only copied the three files highlighted in article. Im trusting that I dont need the others?
Is there somewhere I can refer to on how or what to modify these php files to, to achieve the blog style layout?
BTW I only copied the three files highlighted in article. Im trusting that I dont need the others?
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
Less
More
- Posts: 3722
12 years 1 month ago #111179
by william white
Replied by william white on topic Re: Templating - no com_k2 folder
The best thing to do is to start with item.php, category_item.php, and category.php..
look in the source code for where things are displayed. There are descriptive comments before blocks of code like this
<!-- Date created -->
<!-- Item title -->
look in the source code for where things are displayed. There are descriptive comments before blocks of code like this
<!-- Date created -->
<!-- Item title -->
Please Log in or Create an account to join the conversation.