Using Blankie as second template on site

  • bins
    Inactive member
  • Topic Author
  • Member
  • Member
More
12 years 8 months ago - 12 years 8 months ago #17062 by bins
I have a site which uses Events template as the main theme.

On one area, I want to use Blankie and I have installed it and set it to appear in the relevant pages, however, the page shows, but the template does not render.

Any thoughts?

Here is the site/page, with debug on.
Last edit: 12 years 8 months ago by bins.

Please Log in to join the conversation.

More
12 years 8 months ago #17071 by ivan.milic
open hot blankie index.php, locate this line:
Code:
<link rel="stylesheet" href="<?php echo strrpos(JURI::current(),'?')? JURI::current().'&css_request=1' : JURI::current().'?css_request=1' ?>" type="text/css" />

change it to this:
Code:
<?php $u =& JFactory::getURI(); $css_url = $u->toString(); $css_url = strrpos($css_url,'?')? $css_url.'&css_request=1' : $css_url.'?css_request=1'; ?> <link rel="stylesheet" href="<?php echo $css_url; ?>" type="text/css" />

Please Log in to join the conversation.

  • bins
    Inactive member
  • Topic Author
  • Member
  • Member
More
12 years 8 months ago #17072 by bins
Thanks for the quick response.

Change made and better, but still doesn't look right!

Please Log in to join the conversation.

More
12 years 8 months ago #17080 by ivan.milic
Well infact it works ok with last fix I sent you but you will have to do some tuning in Blanke templejt.
The following user(s) said Thank You: bins

Please Log in to join the conversation.

  • bins
    Inactive member
  • Topic Author
  • Member
  • Member
More
12 years 8 months ago #17102 by bins
Many thanks - I am starting to fine tune the colours!

Please Log in to join the conversation.

Time to create page: 0.165 seconds
Powered by Kunena Forum