Keyword

Hide Tags and Same Layout for all?

  • gnarus
  • gnarus's Avatar Topic Author
  • Offline
  • Junior Member
More
11 years 5 months ago - 11 years 5 months ago #111953 by gnarus
Hide Tags and Same Layout for all? was created by gnarus
Hi,
i have 2 questions:
- how can can i hide the tags on items listing of a category? i put to hide on "Item view options in category listings" but still shows, or that only works for that category but not all subcategories?

- also how can i make the changes i want on category listings/layout for all categories? i want for example not to show tags, and not to show category and subcategories, just the items, where can i change that for all existing categories/subcategories? or do i have to edit each one individually?

- is there a way to do a word/letter limit to titles as well?

Thanks

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

  • Mohamed Abdelaziz
  • Mohamed Abdelaziz's Avatar
  • Offline
  • Platinum Member
  • Joomla Developer
More
11 years 5 months ago #111954 by Mohamed Abdelaziz
Replied by Mohamed Abdelaziz on topic Re: Hide Tags and Same Layout for all?
You can create a dummy category and set it to hide tags, then select it in "Inherit parameter options from category" list of each category you want its items to hide tags, but this approache is complete inheritance, i.e all the dummy category settings will be applied to all other categories.

Another approache, if you are using the "Inherit parameter options from category" menu item type, where you can set the options to hides tags in items listed by this menu item.

Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store

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

  • gnarus
  • gnarus's Avatar Topic Author
  • Offline
  • Junior Member
More
11 years 5 months ago #111955 by gnarus
Replied by gnarus on topic Re: Hide Tags and Same Layout for all?
If i create a dummy category and put all the parameters i want for, how do i then make all categories and subcategories inherit the parameters from that dummy category?

do i have to go to each one individually and make them inherit parameters from dummy category or is there a way to select all and make all inherit from the dummy? if its possible where is that option?

Thanks again for your time

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

  • Mohamed Abdelaziz
  • Mohamed Abdelaziz's Avatar
  • Offline
  • Platinum Member
  • Joomla Developer
More
11 years 5 months ago #111956 by Mohamed Abdelaziz
Replied by Mohamed Abdelaziz on topic Re: Hide Tags and Same Layout for all?
I don't know how to set it for all categories as a batch, do you have many categories such that you can't set it individually?

I will try to find a way to set it directly in the database.

Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store

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

  • Mohamed Abdelaziz
  • Mohamed Abdelaziz's Avatar
  • Offline
  • Platinum Member
  • Joomla Developer
More
11 years 5 months ago #111957 by Mohamed Abdelaziz
Replied by Mohamed Abdelaziz on topic Re: Hide Tags and Same Layout for all?
If you know how to use phpMyAdmin, given that you have not set the Inherit From option for any category, run this sql statement:
UPDATE `#_k2_categories` SET `params`=REPLACE(`params`, 'inheritFrom":"0"', 'inheritFrom":"dummyCatid"')  WHERE id <> dummyCatid

Take care to replace:
1- # with your database prefix
2- dummyCatid with your dummy category id.

Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store

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

  • gnarus
  • gnarus's Avatar Topic Author
  • Offline
  • Junior Member
More
11 years 5 months ago #111958 by gnarus
Replied by gnarus on topic Re: Hide Tags and Same Layout for all?
Thanks :) ill give it a try

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


Powered by Kunena Forum