Showtime Module / Rounded Corners

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
User avatar
jtcreate
Forum Members
Forum Members
Posts: 168
Joined: Wed Mar 21, 2007 11:01 am

Showtime Module / Rounded Corners

Post by jtcreate »

Hi,

Enjoying this module... however, running into an issue with rounded corners in all but Mozilla browsers. Code in module php file shows this:

Code: Select all

					if ($row['st_nav_radius'] > 0){
						 $cssstring .="
						-moz-border-radius: ".$row['st_nav_radius']."px ".
							$row['st_nav_radius']."px ".$row['st_nav_radius']."px ".$row['st_nav_radius']."px;";
I need to change it to include all three for best compatibility:

Code: Select all

-webkit-border-radius:
-moz-border-radius:
border-radius:
Can someone assist in making the code blend? Thanks!
User avatar
jtcreate
Forum Members
Forum Members
Posts: 168
Joined: Wed Mar 21, 2007 11:01 am

Re: Showtime Module / Rounded Corners

Post by jtcreate »

Also, even when numbering is turned off in nav bar, it's still showing on output. Anyone run into this? Thanks.
User avatar
jtcreate
Forum Members
Forum Members
Posts: 168
Joined: Wed Mar 21, 2007 11:01 am

Re: Showtime Module / Rounded Corners

Post by jtcreate »

Ok. This appears to work. It's functional... but (see below):

Code: Select all

					if ($row['st_nav_radius'] > 0){
						 $cssstring .="
						-webkit-border-radius: ".$row['st_nav_radius']."px ".
							$row['st_nav_radius']."px ".$row['st_nav_radius']."px ".$row['st_nav_radius']."px;
						border-radius: ".$row['st_nav_radius']."px ".
							$row['st_nav_radius']."px ".$row['st_nav_radius']."px ".$row['st_nav_radius']."px;							
						-moz-border-radius: ".$row['st_nav_radius']."px ".
							$row['st_nav_radius']."px ".$row['st_nav_radius']."px ".$row['st_nav_radius']."px;";
When I click to an internal page and use the back button to come back, I get this:

Code: Select all

Parse error: syntax error, unexpected '}' in /home/content/53/8731253/html/new/modules/Showtime/Showtime.module.php on line 237
If I then refresh the page, it shows up fine and the error is gone. Also still not sure why numbers are showing when it's unchecked. Any thoughts are appreciated. Thanks.
User avatar
jtcreate
Forum Members
Forum Members
Posts: 168
Joined: Wed Mar 21, 2007 11:01 am

Re: Showtime Module / Rounded Corners

Post by jtcreate »

Looks like it was browser caching issue. Fixed. Still hunting for number issue.
Post Reply

Return to “Modules/Add-Ons”