Keyword

Add a new item in this category is missing when category desc+title are set to hide[Front-end]

  • Miltiadis bouchalakis
  • Miltiadis bouchalakis's Avatar Topic Author
  • Offline
  • Junior Member
More
14 years 2 months ago #88098 by Miltiadis bouchalakis
When the Category description is set to hide and the title is hide and the Category description is not displayed a user cannot add a new item in the category from the Front-end because the link "Add a new item in this category" is not displayed...I can try doing some hacking but i think it should be shown even if you display only articles in that category without any category description

Please Log in or Create an account to join the conversation.

More
14 years 2 months ago #88099 by william white
Try doing an override - search the "add a new item in this category" in category.php
Move it outside the if statement that hides it! This wont require hacking and wont be overwritten on update

Please Log in or Create an account to join the conversation.

More
14 years 2 months ago #88100 by william white
Im sorry, that is not the final solution. The above will show the add item link....
There is something somewhere else that must also be changed....ill post when i find it

Please Log in or Create an account to join the conversation.

More
14 years 2 months ago #88101 by william white
I think the code is in the core and im not sure if it can be overridden
in \components\com_k2\views\item in view.html.php
line 33 - 36

Please Log in or Create an account to join the conversation.

  • Miltiadis bouchalakis
  • Miltiadis bouchalakis's Avatar Topic Author
  • Offline
  • Junior Member
More
14 years 2 months ago #88102 by Miltiadis bouchalakis
thanks for your help!

William White said:I think the code is in the core and im not sure if it can be overridden in \components\com_k2\views\item in view.html.php
line 33 - 36

Please Log in or Create an account to join the conversation.

  • Miltiadis bouchalakis
  • Miltiadis bouchalakis's Avatar Topic Author
  • Offline
  • Junior Member
More
14 years 2 months ago #88103 by Miltiadis bouchalakis
I don't have time to search for a fix right now so it is still open if anyone can suggest anything feel free to comment!
else i will try to fix this by the end of this month probably and if i find a solution i will post it

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum