- Posts: 30
- Thank you received: 0
Using Blankie as second template on site
-
bins
Inactive member - Topic Author
- Member
Less
More
12 years 8 months ago - 12 years 8 months ago #17062
by bins
Using Blankie as second template on site was created 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.
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.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 8 months ago #17071
by ivan.milic
Replied by ivan.milic on topic Re: Using Blankie as second template on site
open hot blankie index.php, locate this line:
change it to this:
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
Less
More
- Posts: 30
- Thank you received: 0
12 years 8 months ago #17072
by bins
Replied by bins on topic Re: Using Blankie as second template on site
Thanks for the quick response.
Change made and better, but still doesn't look right!
Change made and better, but still doesn't look right!
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 8 months ago #17080
by ivan.milic
Replied by ivan.milic on topic Re: Using Blankie as second template on site
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.
Time to create page: 0.165 seconds