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

More
5 years 4 months 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.

More
5 years 4 months 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...

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

More
5 years 4 months ago - 5 years 4 months 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
Last edit: 5 years 4 months ago by iamrobert.

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.410 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline