If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
How I make to show resulted in columns?  XML
Forum Index » Support Forum
Author Message
jalmz
Beginner

Joined: 19/06/2006 06:48:16
Messages: 25
Offline

Carbonize wrote:Might be worth you dropping Auron a PM as he's more familiar with AP.


thanks carbz
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

go to the poll admin panel then the templates section.

edit the templates to how you want the results to appear.

for more info on templates check my sig.

Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
jalmz
Beginner

Joined: 19/06/2006 06:48:16
Messages: 25
Offline

thanks auron.. =)
jalmz
Beginner

Joined: 19/06/2006 06:48:16
Messages: 25
Offline

Hi auron,

i want to have like this one...



i downloaded already the guide. but i cant find the solution.
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Yes I'm not sure that can be achieved using the templates. Would need a loop. eg



Only a quick idea probably has bugs and I know the vriables aer not correct.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

afaik, the poll loops round using the same bit of html for each option.
so you'd have to modify the template yourself and whatever file calls the template.

the poll is designed to start the table -> echo each option with the html from the template -> then end the table.
In the admin panel when editing the template it is only possible to display one option at a time, if you doubled up the code for the options you would most likely get each option twice resulting in two columns.

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
jalmz
Beginner

Joined: 19/06/2006 06:48:16
Messages: 25
Offline

Carbonize wrote:Yes I'm not sure that can be achieved using the templates. Would need a loop. eg



Only a quick idea probably has bugs and I know the vriables aer not correct.


what is the correct variable carbz?
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Don't know as I don't use AP and I cannot download zip files whilst at work.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
jalmz
Beginner

Joined: 19/06/2006 06:48:16
Messages: 25
Offline

Auron wrote:afaik, the poll loops round using the same bit of html for each option.
so you'd have to modify the template yourself and whatever file calls the template.

the poll is designed to start the table -> echo each option with the html from the template -> then end the table.
In the admin panel when editing the template it is only possible to display one option at a time, if you doubled up the code for the options you would most likely get each option twice resulting in two columns.


its hard to do.....
jalmz
Beginner

Joined: 19/06/2006 06:48:16
Messages: 25
Offline

Carbonize wrote:Don't know as I don't use AP and I cannot download zip files whilst at work.


Hi carbz,

in display_loop.html

this is the code

Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

It would be the code in the poll that calls the templates I would need to look at.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
jalmz
Beginner

Joined: 19/06/2006 06:48:16
Messages: 25
Offline

what about this one..

INCLUDE
class_poll.php

jalmz
Beginner

Joined: 19/06/2006 06:48:16
Messages: 25
Offline

carbz?
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Sorry I'm a tad busy at present. I will download it to my laptop for when I get some free time.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
jalmz
Beginner

Joined: 19/06/2006 06:48:16
Messages: 25
Offline

Carbonize wrote:Sorry I'm a tad busy at present. I will download it to my laptop for when I get some free time.


Thanks Carbz. =)
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum