jQuery "Tonic Gallery" XML - Need help making it work in PHP
I have just purchased "Tonic Gallery" which my client thinks it's absolutely perfect for his website. The difficulty is that it works great with HTML but for ".php" it won't even load.
To give you a better idea, here two links:
Tonic Gallery Link: http://codecanyon.net/item/tonic-gal...gallery/120710
This is inputed into the "Portfolio" tab. As per instructions, I have entered the following into the "head" (header.php):
I had then created the "portfolio.php" page with the required input from the plugin:
<link rel="stylesheet" type="text/css" href="styles/tonic_gallery.css"/>
<link rel="stylesheet" type="text/css" href="styles/demo_styles.css"/>
<link rel="stylesheet" type="text/css" href="styles/prettyPhoto.css"/>
// init the portfolio functionality
The functions are not activating and I need help around it. Here is a link to the ".html" files as to how it's suppose to work. Same functions, same root folder just not working in ".php".
<?php $page = "portfolio";?>
<?php include("header.php"); ?>
<div class="wrapper" id="subPagesWrap">
</div><!-- wrapper -->
</div> <!-- end main -->
<?php include("footer.php"); ?>
Any help is appreciated! Thanks!
I'm really hoping someone can get back with me. I found a problematic source. The message given is
This is just fine in a .html doc but in a .php this error shows. Is this the main problem? Is it an easy fix for the plugin to cooperate with .php?
$("#portfolio_wavy").portfolioSetter is not a function
You've not given us enough to work with to help you with this
From what you have said with it working with other XML... it sounds like the data being returned by PHP is incorrect so you may want to check that part out and take it from there
Last edited by VBAssassin; 06-02-2012 at 06:43 PM.
Thanks for the response Scott. I figured it out but took my day to do so. The previous developer before me loaded the jQuery in the footer instead of the header. I missed and attempted to load an additional JQuery command and they contradicted one with another. It took the removal of the footer to fix it. Just a small issue that took my hole day. Thanks again!
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread