I was integrating CU3ER (Flash 3D image slider – http://www.progressivered.com/cu3er/ ) with one of my EE2 project, faced an issue – the config xml wasn’t loaded, finaly solved it, going to share with you.
Basically CU3ER loads data from an XML file. As my site’s banner slider needs to be dynamic for each section, i need to make the XML file dynamic. Thats why i created a weblog to add images, text for xml file. Later i created an XML template “config.xml” to template group “common”. So thats template can be accessible by http://www.mydomain.com/common/config.xml. As per documentation ( http://www.progressivered.com/cu3er/docs/ ), my configuration was
I had put the files proper location(on cu3er folder), checked the rendered html was ok but the slider couldnt loads the images/data from xml file. I checked the xml file (http://www.mydomain.com/common/config.xml) is well-formed with valid data. Certainly i found the error while debugging using firebug, see the screenshot value –
Although i’ve put config xml location – http://www.mydomain.com/common/config.xml , but CU3ER sent request by adding another get var t, so requested url became http://www.mydomain.com/common/config.xml?t=123243421232 and certainly EE failed to load proper template on my server. So i’ve updated the rewrite rule on htaccess – instead of this
RewriteRule ^(.*)$ /index.php/$1 [L]
I’ve put following
RewriteRule ^(.*)$ /index.php?/$1 [L]
Added an extra question sign(?) and it works. Hope this will help you if face such problem or if you want to integrate CU3ER on your ExpressionEngine project.