Keyword

{solve}Templating with K2 doesn't load my template

  • Erwin Dicker
  • Erwin Dicker's Avatar Topic Author
  • Offline
  • Senior Member
More
12 years 11 months ago - 12 years 9 months ago #58416 by Erwin Dicker
getk2.org/documentation/tutorials/item/174-templating-with-k2-and-the-concepts-of-sub-templates

hi

i have made a new template and i put it in this:

templates/letwebpage/html/com_k2/templates/default/
category_item.php
item.php

i only change 2 files so i only put those in it.

in the template xml i put folder html in there

but joomla 1.7 doesn't load my k2 template it use the orginale one..

did i forget something?

gr.

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

More
12 years 11 months ago #58417 by william white
Replied by william white on topic Re: Templating with K2, doesn't load my template..
Usually you make a copy of the default template, rename it, and pick the new one from the dropdown list in the category params..
you would end up with
templates/letwebpage/html/com_k2/templates/default
and
templates/letwebpage/html/com_k2/templates/mynewtemplate (make the edits here and you can select it)
That said, what you did should be working, try going to item.php and typing test at the top of the file...it should display and confirm that its working

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

  • Erwin Dicker
  • Erwin Dicker's Avatar Topic Author
  • Offline
  • Senior Member
More
12 years 11 months ago #58418 by Erwin Dicker
Replied by Erwin Dicker on topic Re: Templating with K2, doesn't load my template..
i see it did works..

but i change css file

and i put it in here
/templates/letwebpage/html/com_k2/css/

but that didn't do the job..

should i make a new css file and add !importent after everything i change?
or is there a better way?

gr.

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

More
12 years 11 months ago #58419 by william white
Replied by william white on topic Re: Templating with K2, doesn't load my template..
try This
for css in overrides

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

  • Erwin Dicker
  • Erwin Dicker's Avatar Topic Author
  • Offline
  • Senior Member
More
12 years 11 months ago #58420 by Erwin Dicker
Replied by Erwin Dicker on topic Re: Templating with K2, doesn't load my template..
hi

thx..
but still it would better is k2 has something for it..

gr.

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


Powered by Kunena Forum