Keyword

Multi K2 Template for diferent categories

  • Benjamin Aim# Mbumba Nyundu
  • Benjamin Aim# Mbumba Nyundu's Avatar Topic Author
  • Offline
  • New Member
More
13 years 7 months ago #93585 by Benjamin Aim# Mbumba Nyundu
Multi K2 Template for diferent categories was created by Benjamin Aim# Mbumba Nyundu
Hi !

I have already a k2 template for my website.I would like to assign a second K2 template for somes categories of K2.Is it possible ?

Thanks a lot !

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #93586 by william white
Replied by william white on topic Multi K2 Template for diferent categories
If you are using k2 templates - start here

community.getk2.org/notes/Templating_in_K2

 

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #93587 by Simon Wells
Replied by Simon Wells on topic Multi K2 Template for diferent categories
And there is also a further guide on www.simon.getk2.org, search for templating.

SimonK2 Support 

Please Log in or Create an account to join the conversation.

  • Benjamin Aim# Mbumba Nyundu
  • Benjamin Aim# Mbumba Nyundu's Avatar Topic Author
  • Offline
  • New Member
More
13 years 7 months ago #93588 by Benjamin Aim# Mbumba Nyundu
Replied by Benjamin Aim# Mbumba Nyundu on topic Multi K2 Template for diferent categories
Thanks William :) I will have a look right now !

Thanks Simon ! I'll check your website too. By the way, "simon.getk2.org" works but "www.simon.getk2.org" doesn't work, u must check this url :)

Please Log in or Create an account to join the conversation.

  • Benjamin Aim# Mbumba Nyundu
  • Benjamin Aim# Mbumba Nyundu's Avatar Topic Author
  • Offline
  • New Member
More
13 years 7 months ago #93589 by Benjamin Aim# Mbumba Nyundu
Replied by Benjamin Aim# Mbumba Nyundu on topic Multi K2 Template for diferent categories
Thanks a lot, I have succeed to create an other K2 template !What about linking CSS specific file ? Example : I create "blog" template, how to create a specific css file for this k2 template ?

Thanks ^^

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #93590 by Olivier Karfis
Replied by Olivier Karfis on topic Multi K2 Template for diferent categories
Hi.

 

Check out the essential CSS4K2 extension, it's awesome and does exactly this, assign dedicated CSS file to 
sub-templates:

www.jiliko.net/extensions/documentations/item/20-css4k2-parameters

 

--Olivier


Benjistik Studio said:

Thanks a lot, I have succeed to create an other K2 template !What about linking CSS specific file ? Example : I create "blog" template, how to create a specific css file for this k2 template ?

Thanks ^^

Owner of www.FrenchToday.com - K2 fan and freelancer, runs the Joomla/K2 tip site: www.yanaku.com

Please Log in or Create an account to join the conversation.

  • Benjamin Aim# Mbumba Nyundu
  • Benjamin Aim# Mbumba Nyundu's Avatar Topic Author
  • Offline
  • New Member
More
13 years 7 months ago #93591 by Benjamin Aim# Mbumba Nyundu
Replied by Benjamin Aim# Mbumba Nyundu on topic Multi K2 Template for diferent categories
Thanks Olivier !Could u confirm me if i follow the good way ?

So i must :1- Enable the plugin css4k2.2- Copie "default" folder from k2 template folder3- Rename it to "blog" for example4- Transfer it to "rootofmyjoomlawebsite/mytemplate/blog/5- Copie k2.css file from k2 folder6- Rename this file to "blog.css"7- Transfer it to "rootofmyjoomlawebsite/mytemplate/blog/blog.css

 

And that's all ?

 

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #93592 by william white
Replied by william white on topic Multi K2 Template for diferent categories
4. transfer it to root/mytemplate/html/com_k2/templates/

6. rename this file to blog_style.css

7. transfer it to root/mytemplate/html/com_k2/templates/blog

Please Log in or Create an account to join the conversation.

  • Benjamin Aim# Mbumba Nyundu
  • Benjamin Aim# Mbumba Nyundu's Avatar Topic Author
  • Offline
  • New Member
More
13 years 7 months ago #93593 by Benjamin Aim# Mbumba Nyundu
Replied by Benjamin Aim# Mbumba Nyundu on topic Multi K2 Template for diferent categories
Thanks so much, it works perfectly !!

 

A littlle thing to precise, we must change the url of all background in the CSS to fit K2/images directory or copy  the image folder of k2 in the same directory and link it in the CSS :)

Please Log in or Create an account to join the conversation.

More
12 years 11 months ago #93594 by Mongo
Replied by Mongo on topic Multi K2 Template for diferent categories
ok this plugin crashes joomla 1.7 so how do you link a css file to a particular template

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum