P2Dpro
JoomlaXT!
Welcome, Guest
Please Login or Register.    Lost Password?
Horizontal Style? Forum is locked
(1 viewing) 1 Guest
Go to bottom
TOPIC: Horizontal Style?
#4729
niko_lg
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Horizontal Style? 4 Years, 5 Months ago Karma: 0
Hi

I have another problem with pollXT

I have created a Example Poll with 1 Question and 3 Options

In fronted the poll in showed in vertical style, it is possible to show it in horizontal style?

I have tried to change the parameters in backend in ROW anc COLUMNS boxes but it not seems to work fine.




Can you help me?
 
Logged Logged
  The topic has been locked.
#4735
omerten
Moderator
Posts: 2832
graph
User Offline Click here to see the profile of this user
Re:Horizontal Style? 4 Years, 5 Months ago Karma: 65
Hi,
the row and column fields are just for the size of text boxes. To get a horizontal style, you would probably have to chenge the stylesheet (with some "float:left", that should be possible. I'll come back to you.
regards,
Oli
 
Logged Logged
  The topic has been locked.
#4740
niko_lg
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Re:Horizontal Style? 4 Years, 5 Months ago Karma: 0
Thanks for all...

unfortunately I am not very good in change the stylesheet
 
Logged Logged
  The topic has been locked.
#4741
omerten
Moderator
Posts: 2832
graph
User Offline Click here to see the profile of this user
Re:Horizontal Style? 4 Years, 5 Months ago Karma: 65
Hi,

please try the following.

In /components/com_pollxt/class/pollxt.utilities.php uncomment line 134, so it looks like:

Code:

//$html .= "<div style=\"clear:both\"></div>"; 


add the uncommented line after line 139, so it looks like:

Code:


else $tabcnt ++;
}
$html .= "<div style=\"clear:both\"></div>"; 



That should do the trick,

regards,

Oli
 
Logged Logged
  The topic has been locked.
#4747
niko_lg
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Re:Horizontal Style? 4 Years, 5 Months ago Karma: 0
I have wrong something because I have this error:

Code:

Parse error: syntax error, unexpected T_STRING in /web/htdocs/www.mrpronostico.com/home/jv300/components/com_pollxt/class/pollxt.utilities.php on line 144


This is a screenshot:



Where is the error? Sorry about my ignorance
 
Logged Logged
  The topic has been locked.
#4748
omerten
Moderator
Posts: 2832
graph
User Offline Click here to see the profile of this user
Re:Horizontal Style? 4 Years, 5 Months ago Karma: 65
my error... the line should look like that:
Code:


$html .= "<div style=\\"clear:both\\"></div>"; 


sorry,
regards,
Oli
 
Logged Logged
 
Last Edit: 2008/12/23 16:36 By omerten.
  The topic has been locked.
Go to top

Donation

Development and Maintenance of Joomla extensions is time consuming. Webspace and Server cost money. With a small donation you can help that we're able to pay the bills and can continue developing free extensions.

Make payments with payPal - it's fast, free and secure!

Featured Products


Get in touch

Search

This site is hosted by


Copyright © 2003-2009 by JoomlaXT! Template based on afterburner by Rockettheme
Joomla!(TM) is the trademark of Open Source Matters, Inc in the United States and other countries. The Joomla! name and variations on it utilizing shortforms for it such as J, Joo, Joom, etc, used on this site, is used under a limited license granted by Open Source Matters. JoomlaXT! is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.