| Author |
Message |
dad7732 RavenNuke(tm) Development Team

Joined: Mar 18, 2007 Posts: 1191
|
Posted:
Sat Feb 20, 2010 12:08 pm |
|
Not really specific to 2.4 but since all my sites run 2.4, I'll ask the question here.
As a rule, SSI runs with the .shtml extension. Can SSI, specifically a counter, run on RN? How?
Cheers |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 9136 Location: Arizona
|
Posted:
Sat Feb 20, 2010 12:48 pm |
|
|
|
 |
dad7732 RavenNuke(tm) Development Team

Joined: Mar 18, 2007 Posts: 1191
|
Posted:
Sat Feb 20, 2010 1:11 pm |
|
Funny you mention iFrame as that's the center of my dilema/question. I'm thinking of using include() or require() to point to the cgi-bin pl counter script and then using the SSI script in the iFrame <!=#exec ....> so forth and so on. Just a bit too rusty at this for the moment.
I'm also looking at htaccess as well, may be something there, dunno yet.
Cheers |
|
|
|
 |
Guardian2003 Site Admin

Joined: Aug 28, 2003 Posts: 6373 Location: Vsetin, Czech Republic
|
Posted:
Sat Feb 20, 2010 1:44 pm |
|
Just change the extension to PHP and use include_once
Provided you don't need to pass a variable like
include_once 'your-script.php?&count=1
it should work ok. |
|
|
|
 |
dad7732 RavenNuke(tm) Development Team

Joined: Mar 18, 2007 Posts: 1191
|
Posted:
Sat Feb 20, 2010 2:21 pm |
|
What "extension", I'm already using a PHP page to begin with. So just use the include_once then. I'll give that a try, thanks.
Cheers |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 9136 Location: Arizona
|
Posted:
Mon Feb 22, 2010 6:08 am |
|
If you are using an iframe, make the source page be .php so that you can include whatever you wish. This is what Guardian is getting at (I think). |
|
|
|
 |
dad7732 RavenNuke(tm) Development Team

Joined: Mar 18, 2007 Posts: 1191
|
Posted:
Mon Feb 22, 2010 7:09 am |
|
Actually the iframe is inside a php section in an html page.
Cheers |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 9136 Location: Arizona
|
Posted:
Mon Feb 22, 2010 7:12 pm |
|
Well, iframes are not "PHP", but a browser construct with a target href different than its parent page (I know that you know this), so really, when you look at it from the browser's viewpoint, it is in the parent HTML page. What is the href inside the iframe and are you not wanting whatever that is within that iframe to produce your counter? Guess I'm confused. |
|
|
|
 |
dad7732 RavenNuke(tm) Development Team

Joined: Mar 18, 2007 Posts: 1191
|
Posted:
Mon Feb 22, 2010 7:36 pm |
|
Actually this was for one of my clients running RN but I see that he's abandoned the idea and went back to an SHTML page and such. I was getting more confused than you can imagine. But in spare time, whatever that is, I may pursue this somewhat as it's now become a challenge.
Cheers |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 9136 Location: Arizona
|
Posted:
Tue Feb 23, 2010 5:50 am |
|
|
|
 |
spasticdonkey RavenNuke(tm) Development Team

Joined: Dec 02, 2006 Posts: 1364 Location: Texas, USA
|
Posted:
Tue Feb 23, 2010 4:46 pm |
|
| dad7732 wrote: | Not really specific to 2.4 but since all my sites run 2.4, I'll ask the question here.
As a rule, SSI runs with the .shtml extension. Can SSI, specifically a counter, run on RN? How?
Cheers |
you might look at this recently pre-released demo of adding js/css from kguske, noticed it has a IFrameSSI-min.js file and I thought of you... maybe his example usage for google analytics / nukeINFO will help you out..
|
|
|
|
 |
dad7732 RavenNuke(tm) Development Team

Joined: Mar 18, 2007 Posts: 1191
|
Posted:
Tue Feb 23, 2010 5:04 pm |
|
Yow .. thanks!!! Will give it a go and report back.
Cheers |
|
|
|
 |
|
|
|
|