Selectivizr in my Coffe
- GK User
- Tue Dec 06, 2011 6:30 pm
Hi
I am trying to add selectivizr to a J1.5 Coffe install. I'm not having much luck with it; can anyone help please? What I have done so far:
added to head.php (also uploaded the selctivizr script
)
Unfortunately I can not upgrade to J1.7 with this site.
Here is the location:
http://216.224.185.30/
added to head.php (also uploaded the selctivizr script
- Code: Select all
$document->addScript($this->templateurl() . '/js/selectivizr.js');
Unfortunately I can not upgrade to J1.7 with this site.
Here is the location:
http://216.224.185.30/
-

- Fresh Boarder
- GK User
- Tue Dec 06, 2011 8:26 pm
Hi,
So what's exactly the problem now? You can't add selectivizr or can't upgrade your site to j1.7? And what you see when doing the upgrade?
Tell me details then I will help you better.
Thanks,
So what's exactly the problem now? You can't add selectivizr or can't upgrade your site to j1.7? And what you see when doing the upgrade?
Tell me details then I will help you better.
Thanks,
-

- Platinum Boarder
- GK User
- Tue Dec 06, 2011 8:38 pm
Sorry I wasn't clear. I do not want to upgrade to J1.7 due to a couple of modules the client has to use that are for only J1.5.
My problem is that I am unable to add Selectivizr to the Coffe template in Joomla 1.5.
My problem is that I am unable to add Selectivizr to the Coffe template in Joomla 1.5.
-

- Fresh Boarder
- GK User
- Wed Dec 07, 2011 11:33 am
I'm not sure what selectivizr is, but Google says to me it's http://selectivizr.com/
If so, it's something like adding GA code to a site. You can try adding absolute path to the js file:
If so, it's something like adding GA code to a site. You can try adding absolute path to the js file:
- Code: Select all
$document->addScript('http://YOURSITE.com/PATH_TO_JS_FOLDER/selectivizr.js');
-

- Platinum Boarder
- GK User
- Wed Dec 07, 2011 2:56 pm
I'm not sure what selectivizr is, but Google says to me it's http://selectivizr.com/
Selectivizr is a JavaScript utility that emulates CSS3 pseudo-classes and attribute selectors in Internet Explorer 6-8, and is a feature offered in at least some of Gavick's 1.7 templates, via a switch in the template manager view.
If so, it's something like adding GA code to a site. You can try adding absolute path to the js file:
I have done that in two different ways:
- Code: Select all
$document->addScript('http://YOURSITE.com/PATH_TO_JS_FOLDER/selectivizr.js');
- Code: Select all
$document->addScript($this->templateurl() . '/js/selectivizr.js');
Both ways show the correct path when viewing the document's source code in a browser. following that path in a browser reveals the javascript. But neither way of calling the script works.
-

- Fresh Boarder
- GK User
- Fri Dec 09, 2011 5:11 am
Try adding this code at very bottom of file \templates\gk_coffe\layouts\blocks\head.php
- Code: Select all
<!--[if (gte IE 6)&(lte IE 8)]>
<script type="text/javascript" src="selectivizr.js"></script>
<![endif]-->
-

- Platinum Boarder
- GK User
- Fri Dec 09, 2011 4:26 pm
Thanks Don. I had to get the job done and give it the client, so I used http://css3pie.com/ instead. I will try your suggestion next time.
-

- Fresh Boarder
- GK User
- Mon Dec 17, 2012 1:33 pm
Hi Aaron,
I'm very Curious, how did you do this?
Regards..
I'm very Curious, how did you do this?
Regards..
-

- Fresh Boarder
8 posts
• Page 1 of 1
