Jump to content

Adding php poll script to a template


Feblex

Recommended Posts

Ok, first of all i know barely nothing about web programming. I downloaded a template of a webpage which comes with a nice control panel that lets me customize mostly everything without having to touch the actual code. Since this is the only page a want to make and the template has basically everything i need i didn't feel the need to learn php. The only thing i want to add is the poll script. I searched online and found a simple one,  called Fpoll. The installation is very simple, i run the install.php succesfully so the mysql database now has the tables for the poll, the other part of the installation is simply to paste the include (poll script location) code, in a php file of my page.

The issue begins here, the template i use has a lot of modules, something like user_singup.php and one for every part or function of the page. So what i do is look for a module that appears on the front page only (there's where i want the poll) and paste the code line. If i paste the code near the beginning of the file, when i enter the page the poll is all that appears, if i paste it near the end, the poll appears on top of everything else. So what i want is to actually place the poll in the right-bottom corner of the web, but i surfed the php code looking for something that specify the location of the elements in the file and found nothing.

I'll tell you the software im using in case it helps:

Apache2triad to test the web locally, ver 1.5.4

Apache ver 2.2.0

PHP ver 5.1.2

MySQL ver 5.0.18

Also the template uses CSS for the entire web and so does the poll script which has it's own css file. This may not be relevant but i don't know. :shrug:

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.