IS there a way to exclude items items in a category from generating the page?

3 months 4 weeks ago #76975 by iamrobert
I am updating the calendar:

www.iis.kh.edu.tw/news/calendar

To generate the calendar we use advanced module.

We create calendar events items, and to simplify it - I want to divide it up into 3 terms (items):



The problem it creates an item pathway:


However - I don't want that item to be created or shown. Is there away to hide it by category?

I thought advrouter could do it:


but I think that only works at the category level.

Any ideas?

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

3 months 4 weeks ago #76978 by ggppdk
Hello

if you use category view to search for content (instead of search view)

1. Create a new field of type "select" , e.g. call by name "List items in category view"
with values 1:Yes 0:No
- and a default field value of "Yes" (just you will need to load and save all items ...)

2. Give the items that you want to hide in category view a field value of "No"

3. In the configuration of the category or the menu item you can configure the parameter "Locked filter values" to select items that have a value of "1" (aka a value of "Yes")


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

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

3 months 4 weeks ago - 3 months 4 weeks ago #76980 by iamrobert
Thanks - that's an interesting approach - and something new.

I tried this as the field but didn't get any change:

217##1

However, it still generates the item URL right?

I had the same issue here:
flexicontent.org/forum/20-general-suppor...rating-the-page.html




Solution
So, I created an empty template - so nothing shows:

www.iis.kh.edu.tw/tw/?option=com_flexico...=122:cal&Itemid=1469

plus adding this forces noindex,nofollow:

$doc->setMetaData('robots','noindex,nofollow');

If anyone wants to download:
www.dropbox.com/sh/xcwi9mc587np0hm/AAAso...r4JPnOILlmVY4ra?dl=0

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

Moderators: vistamediajoomlacornerggppdk
© 2018 Flexicontent. All Rights Reserved.