How to change position of vote feature in a blog content page?

Hi,

I have a site with joomla 1.6, and at this site I have a blog page with a vote feature, by default this vote feature (of Joomla) appears between title of the article and its content. I would like this vote feature appears after the end of article content.

Where can I move this?

Thank you
marcoloppoAsked:
Who is Participating?
 
Amanda WatsonConnect With a Mentor Web DeveloperCommented:
Righto this fix should do it
You should look for the file /plugins/content/vote.php and change

$mainframe->registerEvent( 'onBeforeDisplayContent', 'plgContentVote' );

to

$mainframe->registerEvent( 'onAfterDisplayContent', 'plgContentVote' );
0
 
darren-w-Commented:
Hi,

you need to change the ordering for the item in module manager on its configuration page.

D
Screenshot.png
0
 
marcoloppoAuthor Commented:
Hi,

But this ordering is valid to de article content, not just to the vote feature. I enabled the feature using the table "Article Options > Show Voting" and there is not a option just to change the order of voting, no?

Tks
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
Amanda WatsonWeb DeveloperCommented:
Have you got a link to your site?  
You need to rejig where you place this but I need to see the site to be able to tell you where to change it.

It may need to be changed via the css
0
 
marcoloppoAuthor Commented:
Hi,

Here is the link: http://docs.dfe.mastersaf.com.br/88-instalacao-da-aplicacao/instalacao-do-portal/instalacao-do-portal-no-glassfish/68-instalacao-com-glassfish

As you see the avaliation appears right below article title, i would like it appears right after the end of the title, in the center of the page.

But I did not get, tks.
0
 
marcoloppoAuthor Commented:
It worked perfectly, just one point, in Joomla 1.6 is a little bit different, as below:

public function onContentAfterDisplay($context, &$row, &$params, $page=0)

tks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.