Can I use REQUEST_URI with thickbox? |
[eluser]rvillalon[/eluser]
I need to use REQUEST_URI for the rest of my website but this prevents me from using thickbox... anyone have this problem before?
[eluser]Colin Williams[/eluser]
It is more likely an issue with mod_rewrite. What exact problems are you seeing?
[eluser]rvillalon[/eluser]
The following link for thickbox doesn't work: http://mywebsite.com/modal?TB_iframe=tru...modal=true I get a "The page you requested was not found." Here are my settings: $config['uri_protocol'] = "REQUEST_URI"; $config['permitted_uri_chars'] = '?=&a-z 0-9~%.:_-'; My .htaccess DirectoryIndex index.php RewriteEngine on RewriteCond $1 !^(index\.php|images|stylesheets|js|captcha|css|repository|sortable|crossdomain\.xml|robots\.txt) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php/$1 [L,QSA]
[eluser]rvillalon[/eluser]
Update: I fixed my issue with thickbox by adding this to the route file $route['(^modal([?=&a-z 0-9~%.:_-]+))'] = "modal"; It removes all the parameters (thickbox settings) and redirects it to the modal controller. Viola! Hope this helps someone in the future. Took me forever to find a work-around. |
Welcome Guest, Not a member yet? Register Sign In |