×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: how to move link "write comment"

how to move link "write comment" 9 years 7 months ago #27820

  • Antonello Falconi
  • Antonello Falconi's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 4
Hello everybody, I was wondering how to move the plugin link in frontpage featured articles, from the bottom position to between title and article.
Thanks a lot :)
The following user(s) said Thank You: cmirschnove, ibaranickpatr

how to move link "write comment" 9 years 7 months ago #27830

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
The plugin is written so that it has to execute on after content. (a joomla event that is triggered in your template after the articles content, obviously). As such you can move it after the title.
That is an interesting idea though. There are templates that would look better if the counter was loaded after the title. I'll add an option in the plugin for this in the next release.

Regards,
Daniel
The following user(s) said Thank You: cmirschnove, ibaranickpatr

how to move link "write comment" 9 years 7 months ago #27834

  • Antonello Falconi
  • Antonello Falconi's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 4
Hi Daniel, thanks for reply. As I see on joomla 3 there is an event called "onContentAferTitle". Can you tell me if I could use this and how?
The following user(s) said Thank You: cmirschnove, ibaranickpatr

how to move link "write comment" 9 years 7 months ago #27842

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
You'll need to know php and change the plugin code to use the onContentAfterTitle for the list view and onContentAfterDisplay for the item view.

Regards,
Daniel
The following user(s) said Thank You: cmirschnove, ibaranickpatr
  • Page:
  • 1
Time to create page: 0.118 seconds