Page 1 of 1

Showtime Module / Rounded Corners

Posted: Tue Feb 07, 2012 10:10 pm
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!

Re: Showtime Module / Rounded Corners

Posted: Tue Feb 07, 2012 10:12 pm
by jtcreate
Also, even when numbering is turned off in nav bar, it's still showing on output. Anyone run into this? Thanks.

Re: Showtime Module / Rounded Corners

Posted: Wed Feb 08, 2012 3:33 pm
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.

Re: Showtime Module / Rounded Corners

Posted: Wed Feb 08, 2012 3:35 pm
by jtcreate
Looks like it was browser caching issue. Fixed. Still hunting for number issue.