[TYPO3-english] Extension ratings without JavaScript

Manuel Rego Casasnovas mrego at igalia.com
Tue Dec 2 09:53:32 CET 2008


Hello,

I'm trying to adapt the extension "ratings" [1] to work without
JavaScript because of accessibility requirements.

In my first approach I've modified the links on the starts depending on
if the user has or not JavaScript activated. If it has JavaScript it
works as usually.
However in the other case I generate a link with the information as GET
params, then the plugin extract this GET information and try to use the
class tx_ratings_ajax as when you use JavaScript but I always get the
same error: "Error: bad check value".

You can see what I'm trying at [2], but the real code should use
"t3lib_div::getUrl" instead of "header", but I'm just using header to
see the errors.

I'd like to ask if it's a good approach or you think that I could test
another one.

On the other hand maybe it has no sense try to adapt this extension to
work without JavaScript so I should find a new extension to do that.

Thank you very much,
   Rego

[1] http://typo3.org/extensions/repository/view/ratings/current/
[2] http://pastebin.ca/1273306

-- 
Manuel Rego Casasnovas
Computer Science Engineer
mailto:mrego at igalia.com
Tel: +34 986 10 76 10
Fax: +34 981 91 39 49
Igalia - http://www.igalia.com


More information about the TYPO3-english mailing list