Keyword

Switch off: Add new item in this category

  • oorzaak
  • oorzaak's Avatar Topic Author
  • Offline
  • Junior Member
More
9 years 11 months ago #133428 by oorzaak
Hi,

I want to switch off the link "Add new item in this category" as is shown on the page, as I prefer to have a menu item for this. I cannot find this setting in the back end.


Kind regards, Frits

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

More
9 years 11 months ago #133429 by Lefteris
Replied by Lefteris on topic Re: Switch off: Add new item in this category
Hi. There is no setting for this. You need to either hide it using CSS:
.catItemAddLink { display : none;}
or create a template override and remove the markup. Template overrides are explained at getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates .

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • oorzaak
  • oorzaak's Avatar Topic Author
  • Offline
  • Junior Member
More
9 years 11 months ago #133430 by oorzaak
Replied by oorzaak on topic Re: Switch off: Add new item in this category
Hi Lefteris,

No problem. It's just that I already looked into the code and I found this:

if(isset($this->addLink))


So I expected a parameter of some kind.

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

More
9 years 11 months ago #133431 by Lefteris
Replied by Lefteris on topic Re: Switch off: Add new item in this category
No, this condition has to do with the permissions.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum