a plus1 modult használom kommentekre való szavazásra. minden tökéletes, de csak a default helyre (a komment törzs alá) tudom kitenni a szavazódobozt a modul gyári beállításaival. a kommenten belül szeretném máshova helyezni, de sajna a dokumentációja nem sokat segít.
tudnátok segíteni, hogy milyen php kóddal tudom meghívni a komment szavazás widgetet?
INFORMATION FOR THEMERS ======================== First off, you can change the 'You voted' text on the module admin page ?q=admin/settings/plus1. Additionally, you can override the theming function theme_plus1_widget in your theme. /** * Theme for the voting widget. * * You are free to load your own CSS and JavaScript files in your * theming function override, instead of the ones provided by default. * * This function adds information to the Drupal.settings.plus1 JS object, * concerning class names used for the voting widget. * If you override this theming function but choose to use the * default JavaScript file, simply assign different values to * the following variables: * $widget_class (The wrapper element for the voting widget.) * $link_class (The anchor element to cast a vote.) * $message_class (The wrapper element for the anchor element. May contain feedback when the vote has been cast.) * $score_class (The placeholder element for the score.) * The JavaScript looks for these CSS hooks to * update the voting widget after a vote is cast. * Of course you may choose to write your own JavaScript. * The JavaScript adds presentation, ie: fade in. * */
Melyik modulhoz, modulokhoz kapcsolódik a téma?:
Drupal verzió:
Fórum: