Feblex Posted December 30, 2009 Share Posted December 30, 2009 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. Quote Link to comment https://forums.phpfreaks.com/topic/186728-adding-php-poll-script-to-a-template/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.