Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Javascript
  • Posted: 16.04.2004, 04:29
     
    Switch17
    rank:
    Softmore Softmore
    registered:
     January 2003
    Status:
    offline
    last visit:
    06.07.04
    Posts:
    99
    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?
  • Posted: 03.05.2004, 23:36
     
    AbraCadaver
    rank:
    Professional Professional
    registered:
     August 2002
    Status:
    offline
    last visit:
    29.09.08
    Posts:
    1383
    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!
  • Posted: 03.05.2004, 23:47
     
    autothemes
    rank:
    Helper Helper
    registered:
     May 2004
    Status:
    offline
    last visit:
    17.06.04
    Posts:
    450
    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

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula