Firing jQuery when not logged in
Permalink
Hi all,
I am very sorry if this has been covered, I have read several posts on the issue but no solutions seemed to work.
I have jQuery Revolution Slider (purchased from Codecanyon) running fine all the time however when logged out my tooltips and scrolltotop jquery don't seem to work. I thought it was a scripting error but when I logged into Concrete5 I found they all worked fine.
I can't seem to work out why this would be, especially if the Revolution Slider is working when not logged in meaning jQuery should be working there.
Below is my code:
header.php
home.php
footer.php
Any help or pointers would be hugely appreciated.
I am very sorry if this has been covered, I have read several posts on the issue but no solutions seemed to work.
I have jQuery Revolution Slider (purchased from Codecanyon) running fine all the time however when logged out my tooltips and scrolltotop jquery don't seem to work. I thought it was a scripting error but when I logged into Concrete5 I found they all worked fine.
I can't seem to work out why this would be, especially if the Revolution Slider is working when not logged in meaning jQuery should be working there.
Below is my code:
header.php
<?php defined('C5_EXECUTE') or die(_("Access Denied.")); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <?php Loader::element('header_required'); ?> <link rel="stylesheet" href="<?=$this->getThemePath()?>/css/unsemantic-grid-responsive.css" type="text/css" media="screen" /> <link rel="stylesheet" href="<?=$this->getThemePath()?>/main.css" type="text/css" media="screen" /> <link rel="stylesheet" href="<?=$this->getThemePath()?>/typography.css" type="text/css" media="screen" /> <link rel="stylesheet" href="<?=$this->getThemePath()?>/css/html5reset.css" type="text/css" media="screen" /> <link rel="stylesheet" href="<?=$this->getThemePath()?>/css/font-awesome.min.css" type="text/css" media="all" /> <link rel="stylesheet" href="<?=$this->getThemePath()?>/css/icons.css" type="text/css" media="all" /> <link rel="stylesheet" href="<?=$this->getThemePath()?>/css/LiteTooltip.min.css" type="text/css" media="screen" > <link rel="stylesheet" href="<?=$this->getThemePath()?>/css/minimenu.css" type="text/css" media="screen" />
Viewing 15 lines of 17 lines. View entire code block.
home.php
<?php defined('C5_EXECUTE') or die("Access Denied."); $this->inc('elements/header.php'); ?> <div id="theme-wrapper"> <div id="mini-header-wrapper"> <div class="grid-container mini-header"> <div class="grid-85 grid-parent"> <ul class="mini-contacts"> <li class="address">test</li> <li class="phone">test</li> <li class="email">test</li> <li class="skype">test</li> </ul> </div> <div class="grid-15 grid-parent">
Viewing 15 lines of 39 lines. View entire code block.
footer.php
<footer class="grey-strip"> <div class="grid-container"> <div class="grid-25"> test </div> <div class="grid-25"> testing </div> <div class="grid-25"> test </div> <div class="grid-25"> testing </div> </div>
Viewing 15 lines of 35 lines. View entire code block.
Any help or pointers would be hugely appreciated.
look at this link...
It is already solved...
http://www.concrete5.org/community/forums/customizing_c5/web-applic...
also refer this how-to
http://www.concrete5.org/documentation/how-tos/developers/javascrip...
I hope this will help to you...
It is already solved...
http://www.concrete5.org/community/forums/customizing_c5/web-applic...
also refer this how-to
http://www.concrete5.org/documentation/how-tos/developers/javascrip...
I hope this will help to you...
Made the site work as expected.
It now also loads jQuery UI which I didn't need but the frustration is over.
Posted in case anyone else finds the same issue I did.