- Posts: 5
COMMUNITY FORUM
Issue: Move created date of article by subtemplate
- J Davies
-
Topic Author
- Offline
- New Member
Less
More
11 years 8 months ago #118718
by J Davies
Issue: Move created date of article by subtemplate was created by J Davies
Hello
I have recently put K2 onto my website and I am very impressed with the service. However I am having some issues with creating a sub template.
I have been following the OStraining.com youtube tutorial video:
www.youtube.com/watch?v=vprpuc5pLHI
and I have created the new folder for the sub template, installed the CSS4K2 plugin and I have been able to edit the CSS successfully with implementing a margin beneath the header and changing the title font sizes of the articles.
However, I am having problems with moving the location of the 'item created date' from above the title to below the author via editing the item.php file.
I have changed the code of the item.php file in the sub template folder from:
I have recently put K2 onto my website and I am very impressed with the service. However I am having some issues with creating a sub template.
I have been following the OStraining.com youtube tutorial video:
www.youtube.com/watch?v=vprpuc5pLHI
and I have created the new folder for the sub template, installed the CSS4K2 plugin and I have been able to edit the CSS successfully with implementing a margin beneath the header and changing the title font sizes of the articles.
However, I am having problems with moving the location of the 'item created date' from above the title to below the author via editing the item.php file.
I have changed the code of the item.php file in the sub template folder from:
www.inferis.co.uk
I have searched the internet for a good couple of hours in an attempt to find a solution but without success.
I am new to PHP and CSS so please answer in layman's terms :blush:
Thank you in advance for any assistance you can offer on this matter.
Please Log in or Create an account to join the conversation.
- Mohamed Abdelaziz
-
- Offline
- Platinum Member
- Joomla Developer
11 years 8 months ago #118719
by Mohamed Abdelaziz
Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store
Replied by Mohamed Abdelaziz on topic Re: Issue: Move created date of article by subtemplate
Hi,
Make sure that:
1- You have created the templates inside templates/yourtemplate/html/com_k2/tempaltes
2- You have selected the subtemplate in the category parameters.
3- Some K2 plugins override the subtemplate feature and have their own templates inside the plugin directory, so you have to edit the plugin template file.
Hope this can help.
Make sure that:
1- You have created the templates inside templates/yourtemplate/html/com_k2/tempaltes
2- You have selected the subtemplate in the category parameters.
3- Some K2 plugins override the subtemplate feature and have their own templates inside the plugin directory, so you have to edit the plugin template file.
Hope this can help.
Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store
Please Log in or Create an account to join the conversation.
- J Davies
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 5
11 years 8 months ago #118720
by J Davies
Replied by J Davies on topic Re: Issue: Move created date of article by subtemplate
Hello,
Thank you very much for your speedy reply!
1. I have created the sub template folder in:
/templates/ijoomla06/html/com_k2/templates
2. I have selected the correct sub template in the category parameters. I can be sure of this because the .CSS file is being used from the sub template to adjust the font and header size on the article and is the new CSS file is noted in the source code below the default K2 CSS. However the edited item.php file is not being adhered to.
3. This was a fresh install of K2 onto my server yesterday. The only additional K2 plugin I have installed is the CSS4K2 plugin. Or are you referring to native K2 plugins that need to be disabled?
Thank you for your help.
Thank you very much for your speedy reply!
1. I have created the sub template folder in:
/templates/ijoomla06/html/com_k2/templates
2. I have selected the correct sub template in the category parameters. I can be sure of this because the .CSS file is being used from the sub template to adjust the font and header size on the article and is the new CSS file is noted in the source code below the default K2 CSS. However the edited item.php file is not being adhered to.
3. This was a fresh install of K2 onto my server yesterday. The only additional K2 plugin I have installed is the CSS4K2 plugin. Or are you referring to native K2 plugins that need to be disabled?
Thank you for your help.
Please Log in or Create an account to join the conversation.
- J Davies
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 5
11 years 8 months ago #118721
by J Davies
Replied by J Davies on topic Re: Issue: Move created date of article by subtemplate
Does anyone know of a solution to this issue?
Please Log in or Create an account to join the conversation.