Author |
Message |
29/03/2005 04:07:36
|
Anonymous
|
I've installed the script and cannot get the poll results table to be the same width as the poll view table that I set in the general settings tab of the admin page. Do I have to change the files manually for each table or should the admin page cover this?
Basshook
|
|
29/03/2005 08:07:15
|
amber222
Graduate
Joined: 07/05/2004 21:13:07
Messages: 586
Offline
|
Are you using a different template other than the default template?
I believe the setting you made in General Settings is the "$pollvars[table_width]"
Try clicking on "Templates" and select the template you are using. Click on "Poll View" and look under "display_head" to see the table width. Then click on "Poll Result" and look under "result_head" to see the table width. If they don't match, maybe change them to match.
or
|
|
05/04/2005 23:35:39
|
Anonymous
|
I tried that and it didn't work as they both say:
How do I adjust the table_width to make both equal? I'm trying to fit them into a table on my links page at http://www.bottlecaplure.com/links.php
Try clicking on a choice then view the results and you'll see what I mean.
Any help would be appreciated.
|
|
06/04/2005 03:52:35
|
amber222
Graduate
Joined: 07/05/2004 21:13:07
Messages: 586
Offline
|
If you're sure you're on the right template and "$pollvars[table_width]" is not the problem, then my guess would be that it is with the html in your links document. Wait for Auron to return, as he is the expert and can probably answer your question. Otherwise, I would need to see a copy of your links.php file.
|
|
07/04/2005 00:07:46
|
Auron
Expert
Joined: 23/06/2003 22:02:17
Messages: 1053
Offline
|
When editing the templates in the admin area make sure you editing
the right ones, they should be result/ _head, _body and _foot if I
remember correctly. Your better off on all the HTML/tables putting in
your own widths...
|
Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought) |
|
11/04/2005 09:30:41
|
Anonymous
|
I don't understand what everyone is trying to tell me. I do try to change the format in the admin section with the right template and in the right tables. I even tried to use my own widths and that didn't work. How do I find the file with the $pollvars[table_width] script in it? I thought I could go in and manually change the code using notepad or wordpad.
|
|
11/04/2005 10:29:44
|
amber222
Graduate
Joined: 07/05/2004 21:13:07
Messages: 586
Offline
|
I looked at your page again, and I don't think the poll settings are your problem. Looks more like an html issue.
You have a very narrow column on the left. I don't think it is wide enough for the result bars and percentages, so it is forcing the column to be wider to accommodate them.
Right now your main html table is set for 128 pixels. The table within it that holds the poll is set to 125 pixels. What is your Table Width setting in General Settings under Table, Font And Color Options? It seems like it would have to be 125 pixels or less for this to work, and I don't know if all that could fit in a table that narrow.
If I were you, I would adjust the page by making those two columns on the left wider. If you absolutely don't want the left column to be wider, you could try using a pop-up template and see if that helps.
You can check the poll's header and footer files at: poll/textfile/templates and look in the folder for the template style you are using. You want to see display_head.html and result_head.html. The table width is on the first line in these files.
Good luck.
|
|
|