i2-Services, Inc. Forums

Full Version: Ok I must be dense or something
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Okay I have got Poll it installed on my site (Hurray), and can setup polls (hurray again), but this is where I am stumped, how do I put my poll in to a web page? I am not using SSI, so what did I miss? I have read the install procedures several times. Help?

thor0128 Wrote:
Okay I have got Poll it installed on my site (Hurray), and can setup polls (hurray again), but this is where I am stumped, how do I put my poll in to a web page?  I am not using SSI, so what did I miss? I have read the install procedures several times. Help?


To pull the poll into an existing page you need to use SSI. Which would require you to name your page with a .shtml page extension.

Or you can customize the main poll CGI output to match your site design and link to it.

Okay I am still confused.. What to I put into the HTML page you use the script? Link too it how? sorry for the simple questions it there some sample HTML code somewhere?
If you were to link to a separate voting page from your site you just link to the Poll It CGI file. You stated you had it running correct?

If you want to include it into a page. Name is say "index.shtml"

and add this line of code where you want the poll:

<!--#exec cgi="/cgi-bin/poll_folder/Pollit_SSI_File_Name.cgi" -->
Yes I can get into poll it via http://www.glennthomas.us/cgi-bin/Pollit...oad=login.
on the SSI code you are talking about.
<!--#exec cgi=/cgi-bin/pollit_files/Poll_It_SSI_v2.05.cgi"--> my SSI cgi files are in cgi-bin folder,  my poll files are in the /cgi-bin/pollit_files folder. Does this make sense?
now on my page a get a " an error occured while processing this directive" getting closer I think...

thor0128 Wrote:
now on my page a get a " an error occured while processing this directive" getting closer I think...


The CGI files (2) are not in the pollit_files folder. They're in the /cgi-bin/.

Fix that in your SSI tag / path.

<!--#exec cgi="http://www.glennthomas.us/cgi-bin/Poll_It_SSI.cgi" -->
this is what I have inserted in my shtml page. ( I renamed the SSI.cgi file in my /cgi-bin folder). still getting the error. I am sure this is just me being dense....

thor0128 Wrote:
<!--#exec cgi="http://www.glennthomas.us/cgi-bin/Poll_It_SSI.cgi" -->


You can not use a http:// URL in the quotes. It needs to be a relative or full server path.

Try "/cgi-bin/Poll_It_SSI.cgi"

If I remove the "http://www.glennthomas.us" from the mix, I just get a blank page no error message no poll just blank... still working on it.
Pages: 1 2 3
Reference URL's