PDA

View Full Version : How do I....


pwaugh
04-30-2007, 02:15 PM
I installed PerlDesk, and I would like to make a page with a couple of things above the standard perldesk page generated by pdesk.cgi.

Normally, I could just setup so the support menu link just went to the cgi, but I want to embed that in a page (so I have the look & feel, etc.).

Also, I have some other things going on the "support" page, as I mentioned.

So, do I use the Custom Code Include thing? If so, what "code" do I put in it to get it to embed this: public_html/cgi-bin/plist.cgi ?

Thanks for any ideas,

Patrick

lwyau
04-30-2007, 03:19 PM
When you link to a cgi script, you are leaving soho altogether. The only way to "retain" the soho template (look and feel) I know is to use iframe like this:

<iframe src="cgi-bin/plist.cgi" width="100%" height="960"></iframe>

You upload this code as an .inc file and then drag-and-drop custom code to your page. The one issue with iframe is that you have to specify a hard height because "height=100%" does not work. Perhaps there are gurus out there know how to get around this.

pwaugh
04-30-2007, 03:30 PM
That did the trick, I just had to correct the file name to pdesk.cgi, oops. =)

thanks a bunch for your help.