- Posts: 28
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- Add a new item in this category is missing when category desc+title are set to hide[Front-end]
Add a new item in this category is missing when category desc+title are set to hide[Front-end]
- Miltiadis bouchalakis
- Topic Author
- Offline
- Junior Member
Less
More
14 years 2 months ago #88098
by Miltiadis bouchalakis
Add a new item in this category is missing when category desc+title are set to hide[Front-end] was created 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.
- william white
- Offline
- Platinum Member
Less
More
- Posts: 3722
14 years 2 months ago #88099
by william white
Replied by william white on topic Add a new item in this category is missing when category desc+title are set to hide[Front-end]
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
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.
- william white
- Offline
- Platinum Member
Less
More
- Posts: 3722
14 years 2 months ago #88100
by william white
Replied by william white on topic Add a new item in this category is missing when category desc+title are set to hide[Front-end]
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
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.
- william white
- Offline
- Platinum Member
Less
More
- Posts: 3722
14 years 2 months ago #88101
by william white
Replied by william white on topic Add a new item in this category is missing when category desc+title are set to hide[Front-end]
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
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
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 28
14 years 2 months ago #88102
by Miltiadis bouchalakis
Replied by Miltiadis bouchalakis on topic Add a new item in this category is missing when category desc+title are set to hide[Front-end]
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
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
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 28
14 years 2 months ago #88103
by Miltiadis bouchalakis
Replied by Miltiadis bouchalakis on topic Add a new item in this category is missing when category desc+title are set to hide[Front-end]
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
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.
- Forum
- K2 Community Forum
- English K2 Community
- Add a new item in this category is missing when category desc+title are set to hide[Front-end]