Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8024001
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T22:44:02+00:00 2026-06-04T22:44:02+00:00

I have just purchased Tonic Gallery which my client thinks it’s absolutely perfect for

  • 0

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

LincHospitality.com: http://linchospitality.com/

This is inputed into the “Portfolio” tab. As per instructions, I have entered the following into the “head” (header.php):

<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"/>


<script type="text/javascript" src="script/jquery-1.4.js"></script>
<script type="text/javascript" src="script/jquery-easing.js"></script>
<script type="text/javascript" src="script/jquery.prettyPhoto.js"></script>
<script type="text/javascript" src="script/portfolio-setter.js"></script>
<script type="text/javascript">
  $(function(){
        // init the portfolio functionality
        $('#portfolio_wavy').portfolioSetter({xmlSource:'portfolio.xml', wavyAnimation:true});

  });
</script>

I had then created the “portfolio.php” page with the required input from the plugin:

<?php $page = "portfolio";?> 
<?php include("header.php"); ?> 

  <div role="main"> 
    <div class="wrapper" id="subPagesWrap"> 
    <div id="portfolio_wavy"></div> 
    </div><!-- wrapper --> 
  </div> <!-- end main --> 

<?php include("footer.php"); ?>

The in a direct “.html” file, it works perfectly! But since I had placed in the “header.php” and “portfolio.php”, I get the following error:

$("#portfolio_wavy").portfolioSetter is not a function

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”.

linchospitality “/” gallery [dot] html

How do I over come this function error? Any simple methods?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T22:44:03+00:00Added an answer on June 4, 2026 at 10:44 pm

    You need to run the function after it has loaded. You can make sure of this by running it on the document ready event. I am not sure of the syntax you are using, but just make sure that it is run after the document ready is fired.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have just purchased some software that provides an API into our phone system
I just purchased a website template from DreamTemplate.com, and have tried to send a
we have just started using a git account of our Django website project so
I have just installed composer in my /usr/bin folder, so when from that folder
I have been trying to create a HTML E-mail, which is just one image
I have just purchased a Macbook (yes I am a complete noob on Mac
I have just purchased LG Thrive handset for android apps development purpose. I tried
I have an Android Mobile App that is really just a calendar & you
I have purchased MonoTouch last October from Novell. Now that I updated to MonoDevelop
Recently I have purchased a notebook that came with Windows Home Basic (that don't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.