Author |
Message |
18/03/2003 23:10:25
|
rluka
Beginner
Joined: 14/03/2003 04:53:30
Messages: 14
Offline
|
This should be easy but I can't change it. Do I have to edit the html code in /templates/popup/. I tried that and it doesn't work. The permissions are set to 666. Should this be changed?
Any help would be greatly appreciated...rluka
|
|
20/03/2003 11:04:15
|
Anonymous
|
you have to edit the js-link
"<a href=\"javascript:void(window.open('$pollvars[base_url]/comments.php?action=send&id=$poll_id&template_set=$this->template_set','$poll_id','width=230,height=320,toolbar=no,statusbar=no'))\">".$this->pollvars['send_com']."</a>" : '';
it's on line 187 in class_poll.php
|
|
20/03/2003 22:14:13
|
Anonymous
|
Thanks very much for your reply but that didn't work for me.
This is supposed to adjust the width and height of the popup window and not the size of the poll data window which is inside the popup window.
Anyway, thanks for bearing with me as there is a lot for me to learn.
I have checked a lot of previous posts regarding setting the permissions for the files and I was not successful. The class_poll.php attribute was set to 664. I cahnged it to 666 and it still didn't work. Then I changed it to 777
and that didn't work. Do the folder permissions also have to be set.
Where can I find info on setting file attributes?
If I register this poll do you know if the author gives out this information?
Thanks..rluka
|
|
28/03/2003 20:17:47
|
Anonymous
|
Hi
The included code for resizing the popup window appears to be correct but doesn't work for me. Any ideas would be greatly appreciated
line 187 in class_poll.php
|
|
09/04/2003 05:21:38
|
Anonymous
|
Try to add following attribute:
resizable=yes
It could look something like this
toolbar=yes,location=yes,status=yes,scrollbars=yes,resizable=yes,width=100,height=100
|
|
09/04/2003 05:21:44
|
Anonymous
|
Try to add following attribute:
resizable=yes
It could look something like this
toolbar=yes,location=yes,status=yes,scrollbars=yes,resizable=yes,width=100,height=100
|
|
09/04/2003 10:11:11
|
rluka
Beginner
Joined: 14/03/2003 04:53:30
Messages: 14
Offline
|
Thanks for responding
I added it to the code in class_poll.php and it still didn't make any difference. The pop_up window is still the same size. I can edit the file directly on my web server account so the change should be immediate.
Thanks for trying..did this work for you?
|
|
05/05/2003 21:05:19
|
Anonymous
|
I've successfully changed the tabel size within the pop up via the Templates function in the admin panel, just click on popup from the drop down list, then click on the go icon, select view results and change the table width from Header
|
|
|