Posted by ankycooper on October 29, 2010 at 8:07pm
2 followers
Jump to:
| Project: | Rounded corners |
| Version: | 6.x-3.0-alpha2 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
I downloaded and installed the module ; but its not visible under administer > Site Configuration
i have passed the following code
$(".form-submit").corner();
The effect is also not applied in Firefox and IE both. Also I get an error in IE 8
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152)
Timestamp: Fri, 29 Oct 2010 20:04:37 UTC
Message: Object expected
Line: 25
Char: 2
Code: 0
URI: http://localhost/test/
Comments
#1
#2
Please read the README.txt to see how to use the module. The JS library isn't loaded unless you specifically add it, so your above code won't work.
#3
Still no go
I Have uninstalled the module.
I aready have Jquery-UI and Jquery update installed
Removed the code snippet ($(".form-submit").corner(); ) from page.tpl.php
reinstalled th module.
added the following code
<?php$commands = array();
$commands[] = array('selector' => '.form-submit');
// Add the rounded corners.
rounded_corners_add_corners($commands);
?>
now i dont get any javascript errors but there are no rounded corners. Please help
#4
@ankycooper,
Please next time open a new issue, as it is not related.
Anyway, where do you put this code -- in a module, e.g. hook_init()?