Keyword

Upgrade template mystery

  • Neil Boddie
  • Neil Boddie's Avatar Topic Author
  • Offline
  • Senior Member
More
11 years 7 months ago #110610 by Neil Boddie
Upgrade template mystery was created by Neil Boddie
Hi, I have just upgraded from 2.6.2 to 2.6.5 and the template does not seem to work. I think i have the template set up correctly

mysite\templates\beez_20\html\com_k2\golfcourses\golfcourses_style.css

The k2 categories are all set up to use the template golfcourses, I thought the upgrade would automatically pick up the styling from the golfcourses template but it seems that is not the case.

This is my first k2 update and would think I have missed something, when I check in firebug there is no sign of the css file golfcourses_style.css being used.

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

More
11 years 7 months ago #110611 by william white
Replied by william white on topic Re: Upgrade template mystery

mysite\templates\beez_20\html\com_k2\golfcourses\golfcourses_style.css

should be
mysite\templates\beez_20\html\com_k2\templates\golfcourses\golfcourses_style.css

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

  • Neil Boddie
  • Neil Boddie's Avatar Topic Author
  • Offline
  • Senior Member
More
11 years 7 months ago #110612 by Neil Boddie
Replied by Neil Boddie on topic Re: Upgrade template mystery
Hi William glad to see you are keeping up the good work well done.

it seems to be the read more settings that are losing the css settings, all works well in category view which shows a list of articles with read mores. Using firebug i can pick up this file http://localhost/mysite/templates/beez_20/html/com_k2/templates/golfcourses/golfcourses_style.css in category view, as soon as I click on read more I get this http://localhost/mysite/components/com_k2/css/k2.css.

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

  • Neil Boddie
  • Neil Boddie's Avatar Topic Author
  • Offline
  • Senior Member
More
11 years 7 months ago #110613 by Neil Boddie
Replied by Neil Boddie on topic Re: Upgrade template mystery
In category/article listings view all ok but clicking on readmore causes all of my template changes to disappear.

What could be causing this problem, when I highlight this piece of code using firebug
<div class="catItemView groupLeading">
<div class="catItemHeader">
<h3 class="catItemTitle"> Fraserburgh Golf Club </h3>
</div>

It goes to the correct stylesheet

http://localhost/mysite/templates/beez_20/html/com_k2/templates/golfcourses/golfcourses_style.css

When I click on the readmore the same heading changes to H2

<div id="k2Container" class="itemView">
<div class="itemHeader">
<h2 class="itemTitle"> Fraserburgh Golf Club </h2>
</div>

It also uses the wrong stylesheet and messes up all of the style settings used

http://localhost/mysite/templates/beez_20/css/personal.css

The additional info stylesheet settings on the upgrade are using http://localhost/mysite/templates/beez_20/css/personal.css

Before the upgrade the additional info used

<div class="itemIntroText">
<a href="www.fraserburghgolfclub.org" target="_blank">
<div class="itemFullText">
<div class="clr"></div>
<div class="itemExtraFields">
<h3>

Using the following stylesheet

mygolfdays.com/templates/beez_20/html/com_k2/golfcourses/golfcourses_style.css

Why is the readmore after upgrade pointing to the wrong stylesheet

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


Powered by Kunena Forum