Forum Activity

Forum feed

Javascript  Top

  • I'm not quite sure how to explain this. I'm working with an AutoTheme template, and within the template, I have a PHP include that is getting a file that has some javasript in it.

    The page appears to load ok, but the script is designed to let you click an arrow to browse back into the prior year so <- 2004 ->, and if you click the left arrow, it should change to <- 2003 ->, and it will open up a file.

    The script and file appear to work fine when not included in the template. But after I include it postnuke, it doesn't want to work. I think the issue may be that to show the new page in the postnuke site, I am using postwrap to get the page. So when you click on an arrow, you using the postwrap module to get the page to show on the site.

    Does any of that make sense? I'd post some code, but not sure where to start.

    You can see what I mean here, www.freedffl.com If you click the left arrow, it will open up the page, but the menu should change to the prior year. And you can see what I mean then by looking at the page it gets. You can see the arrows there, and how there suppose to work.

    Can anyone offer up any ideas?
  • Your site is not working.

    -Shawn

    --
    Get the Revolutionary AutoTheme HTML Theme System! Currently for PostNuke, PHP-Nuke, MD-Pro, CRE Loaded, osCommerce and Wordpress!
  • I'm not certain what is causing your current problem, but I'll tell you the solution I use.

    I just create a blank module and let the blank module output my HTML. If you don't know how to create a module, you can take one the the rinky-dink ones like "legal," rename it to something else - change all the occurence of "legal" in the core files to the name of your new module and then add your HTML to the index.php file.

    You will need to close and reopen the PHP tags before and after your HTML, but its much easier than it sounds.

    Email me if you need any help.

    warrick@llts.net

This list is based on the users active over the last 60 minutes.