Forums / General / CGI Scripts

CGI Scripts

Author Message

Brett Slaght

Monday 07 June 2004 6:12:49 am

I have a CGI Phone Directory Script written in Perl that I would love to be able to execute inside ezpub, but I do not see a way of running outside code in 3.4 of ezpub. Currently my site is running on ezp 2.2.9 and I would love move onto 3.4, but I need to be able to run this code. Currently it is running through a crude hack using the 2.2.x "static" option through sitemanager. I created a page in sitemanager made it static and basically it pulls the script through an iframe. I know this is bad form, but I didn't know how else to do it. Can somebody show me how to make this work in 3.4??

Thanks
Brett



I love EZ 2.2.x, if only 3.x had the features of 2.2.x

Alex Jones

Wednesday 09 June 2004 7:26:41 am

Brett, you pretty well have two options. One, is to continue to use the hack you mentioned (an iframe) to present the content. Two, would be to re-write the directory using eZ publish. I recommend the second option as it will serve you well in the long run, but it may take a good bit of time if your application is feature-rich or complicated.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Brett Slaght

Wednesday 09 June 2004 7:59:16 am

I have made a new section for the script and am using pagelayout.tpl override which contains an iframe to pull the script. Seems to work for now. Thanks anyways.



I love EZ 2.2.x, if only 3.x had the features of 2.2.x