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?
- Paustian responded to »Different page content under one template (tpl file) based on URL« 06:46 AM
- Guite responded to »Remove contents of nuke_sc_anticracker from Database« 01:30 AM
- espaan responded to »Categories disappear when editing ...« 08. Feb
- eledril responded to »How decrease zikula cpu usage« 08. Feb
- jmvaughn responded to »PN 0.764 to Zikula 1.1.2 (migration) Internal Server Error« 08. Feb
- eledril created topic »Where can I download BBCode and BBSmile?« 08. Feb
- Paustian responded to »Need Feedback« 08. Feb
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Javascript
-
- Rank: Expert
- Registered: Aug 20, 2002
- Last visit: Jan 12, 2010
- Posts: 1219
Your site is not working.
-Shawn
--
Get the Revolutionary AutoTheme HTML Theme System! Currently for Zikula, PHP-Nuke, CRE Loaded, osCommerce and Wordpress! -
**unknown user**
- Rank: Softmore
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 365
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
- Moderated by:
- Support
Users on-line
This list is based on users active over the last 60 minutes.
