- Posts: 33
COMMUNITY FORUM
How to hide 'Add a new item in this category' link
- John Comeskey
- Topic Author
- Offline
- Junior Member
Less
More
14 years 11 months ago #73657
by John Comeskey
How to hide 'Add a new item in this category' link was created by John Comeskey
So I have some K2 categories in which I allow submissions from registered users and other K2 categories in which I do NOT allow submissions from users.
But ALL K2 categories include a link that says, 'Add a new item in this category'. I cannot figure out how to hide this link in the categories that do not allow submissions.
Can anyone please advise? Or is this a K2 bug?
But ALL K2 categories include a link that says, 'Add a new item in this category'. I cannot figure out how to hide this link in the categories that do not allow submissions.
Can anyone please advise? Or is this a K2 bug?
Please Log in or Create an account to join the conversation.
- Markus Thiel
- Offline
- Premium Member
Less
More
- Posts: 149
14 years 2 months ago #73658
by Markus Thiel
Replied by Markus Thiel on topic How to hide 'Add a new item in this category' link
Just remove this in your file item.php:
addLink; ?>">
addLink; ?>">
Please Log in or Create an account to join the conversation.
- Markus Thiel
- Offline
- Premium Member
Less
More
- Posts: 149
14 years 2 months ago #73659
by Markus Thiel
Replied by Markus Thiel on topic How to hide 'Add a new item in this category' link
< span class="catItemAddLink" >
< a class="modal" rel="{handler:'iframe',size:{x:990,y:650}}" href="< ?php echo $this->addLink; ? >" >
< ?php echo JText::_('Add a new item in this category'); ? >
< /a >
< /span >
< a class="modal" rel="{handler:'iframe',size:{x:990,y:650}}" href="< ?php echo $this->addLink; ? >" >
< ?php echo JText::_('Add a new item in this category'); ? >
< /a >
< /span >
Please Log in or Create an account to join the conversation.
- asdfads adfasdf
- Offline
- New Member
Less
More
- Posts: 7
13 years 11 months ago #73660
by asdfads adfasdf
Replied by asdfads adfasdf on topic How to hide 'Add a new item in this category' link
I have the same problem - kind of urgent that I solve this - any info anyone? I want it to appear for categories they have permission to edit, but not the ones they don't...
Please Log in or Create an account to join the conversation.
- asdfads adfasdf
- Offline
- New Member
Less
More
- Posts: 7
13 years 10 months ago #73661
by asdfads adfasdf
Replied by asdfads adfasdf on topic How to hide 'Add a new item in this category' link
Has anybody found a way to make this work right? This is killing me...
Please Log in or Create an account to join the conversation.