Author |
Message |
dad7732
RavenNuke(tm) Development Team
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Mar 18, 2007
Posts: 1242
|
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 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
Site Admin
![](modules/Forums/images/avatars/0c0adf824792d6d341ef4.gif)
Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Sat Feb 20, 2010 12:48 pm |
|
As an iframe maybe? |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
![](modules/Forums/images/avatars/gallery/blank.gif)
|
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 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
Site Admin
![](modules/Forums/images/avatars/125904890252d880f79f312.png)
Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
![](modules/Forums/images/avatars/gallery/blank.gif)
|
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 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
![](modules/Forums/images/avatars/gallery/blank.gif)
|
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). |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Feb 22, 2010 7:09 am |
|
Actually the iframe is inside a php section in an html page.
Cheers |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
![](modules/Forums/images/avatars/gallery/blank.gif)
|
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
![](modules/Forums/images/avatars/gallery/blank.gif)
|
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 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Feb 23, 2010 5:50 am |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
spasticdonkey
RavenNuke(tm) Development Team
![](modules/Forums/images/avatars/48fb116845dfecf66294c.gif)
Joined: Dec 02, 2006
Posts: 1693
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..
http://nukeseo.com/uploads/file/RNdynaJS.7z |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Feb 23, 2010 5:04 pm |
|
Yow .. thanks!!! Will give it a go and report back.
Cheers |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|