fbpx

Astroid 2.4 Landed with Joomla 4 Compatibility Download Now

Welcome, Guest
Username: Password: Remember me

TOPIC: (SOLVED) Vote section between Content article and Navigation buttons

Vote section between Content article and Navigation buttons 7 months 2 weeks ago #20249

  • vsdmub
  • vsdmub's Avatar
  • Offline
  • Senior Member
  • Posts: 72
  • Karma: 0
Hello, I have activated the Vote feature in my website. It looks very nice in Astroid Template, thank you! I locate the vote feature in the bottom, because it's better that at the end of reading, the user can rate the article. But there is a problem: I am using the navigation buttons to navigate between articles under the same category, and those buttons are located between the article itself and the vote feature. It's not logical. The user should read the article, then vote the article and finally go to the next article.
I would like to locate the Vote section between Content article and Navigation buttons. I couldn't locate the right file in order to make the override. Can you help me please?
The administrator has disabled public write access.

Vote section between Content article and Navigation buttons 7 months 2 weeks ago #20252

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 4063
  • Thank you received: 595
  • Karma: 104
Can you provide a link to the page or the screenshot where this is appearing?
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.

Vote section between Content article and Navigation buttons 7 months 2 weeks ago #20260

  • vsdmub
  • vsdmub's Avatar
  • Offline
  • Senior Member
  • Posts: 72
  • Karma: 0
Using the last Astroid quick installation, go to:
System / Global configuration / Articles / Articles:

Show Navigation: Show
Show Voting: Show

Then, go to the Main menu in the frontend and navigate to Blog / With Sidebar
Click on one of the articles there. You'll find ther the navigation working like you can see in the screenshot.

Here is the link to a live test website:
astroid.joomla.com/index.php/blog/with-s...from-this-politician
Attachments:
Last Edit: 7 months 2 weeks ago by vsdmub.
The administrator has disabled public write access.

Vote section between Content article and Navigation buttons 7 months 1 week ago #20292

  • chandandeep
  • chandandeep's Avatar
  • Online
  • Administrator
  • Posts: 3772
  • Thank you received: 577
  • Karma: 98
Hello,

Thanks for reporting.
Please update default.php file's code from gist.
gist.github.com/chandanndeep/d2bf37525b4bd210dc1b079bc5bafaed

Path: astroid_template_zero/html/com_content/article/

Thanks,
Chandan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.

To know more about products check out the their documentation.
The administrator has disabled public write access.

Vote section between Content article and Navigation buttons 7 months 1 week ago #20298

  • vsdmub
  • vsdmub's Avatar
  • Offline
  • Senior Member
  • Posts: 72
  • Karma: 0
Hello, thank you for the code, but something is working bad. Did I replaced the wrong file? The path to the file that I replaced is:
templates\astroid_template_zero\html\com_content\article\default.php

Now none of the articles are working:
astroid.joomla.com/index.php/blog/with-s...from-this-politician
The administrator has disabled public write access.

Vote section between Content article and Navigation buttons 7 months 1 week ago #20321

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 4063
  • Thank you received: 595
  • Karma: 104
Well, try replacing it back with the default file and see if everything comes back.
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.

Vote section between Content article and Navigation buttons 7 months 1 week ago #20328

  • vsdmub
  • vsdmub's Avatar
  • Offline
  • Senior Member
  • Posts: 72
  • Karma: 0
Yes, I turned back the content of the file and it's working again.
astroid.joomla.com/
The administrator has disabled public write access.

Vote section between Content article and Navigation buttons 7 months 1 week ago #20348

  • chandandeep
  • chandandeep's Avatar
  • Online
  • Administrator
  • Posts: 3772
  • Thank you received: 577
  • Karma: 98
Hello,

I updated the code in gist. Please try again.

gist.github.com/chandanndeep/d2bf37525b4bd210dc1b079bc5bafaed
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.

To know more about products check out the their documentation.
The administrator has disabled public write access.

Vote section between Content article and Navigation buttons 7 months 1 week ago #20358

  • vsdmub
  • vsdmub's Avatar
  • Offline
  • Senior Member
  • Posts: 72
  • Karma: 0
The administrator has disabled public write access.

Vote section between Content article and Navigation buttons 7 months 1 week ago #20363

  • chandandeep
  • chandandeep's Avatar
  • Online
  • Administrator
  • Posts: 3772
  • Thank you received: 577
  • Karma: 98
Code also added in dev Branch.

Topic Solved
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.

To know more about products check out the their documentation.
The administrator has disabled public write access.
Moderators: chandandeep
Time to create page: 0.427 seconds