Subject: Staticpages plugin: ignore search, no sitemap

Posted on: 26/11/12 10:42am
By: ivy

until Geeklog1.8.1, dummy topic (permission 3 2 2 0) assigned page are not searched, and we can use autotag: staticpage_content for guest users. (The page permission is 3 2 2 2.)

ex)
PHP Formatted Code

 
_parts_ : (permission 3 2 2 2) assigned topics (permission 3.2 2 0)

But Geeklog 2.0.0, autotag: staticpage_content does not display assigned to topic (perrmission 3 2 2 0) for guest users.

How can we set staticpages to non-search mode in Geeklog 2.0.0 site?

Static page should be permitted by assigned topics?

The static page assigned to TopicA: (3 2 2 0) and TopicB: (3 2 2 2) is displayed to guest?

Re: Staticpages plugin: ignore search, no sitemap

Posted on: 26/11/12 02:55pm
By: Laugh

A staticpage assigned to a topic will take on the permissions of that topic. So if a user cannot view the topic then they shouldn't be able to view the staticpage (just like how stories work).

Is your real question how can you prevent a staticpage from displaying in the search results?

If you look in the staticpage configuration you can disable center block and php staticpages from appearing in search results.

Re: Staticpages plugin: ignore search, no sitemap

Posted on: 26/11/12 07:32pm
By: ivy

Tom,
I see!
thanks.

Re: Staticpages plugin: ignore search, no sitemap

Posted on: 26/11/12 08:34pm
By: Laugh

Did that help you?

You could make that staticpage use php then it could skip the search.

Else if you do need a specific staticpage to be not included in the search results you will have to add a feature request for it Smile

Re: Staticpages plugin: ignore search, no sitemap

Posted on: 26/11/12 08:49pm
By: ivy

I always set "Home only" mode.
But if "dummy" topic permission is 3 2 2 2, then
http://geeklogsite/index.php?topic=dummy
This page is searched by crawler if displayed in topic block.

"Topic" need non-listed option, maybe.




Re: Staticpages plugin: ignore search, no sitemap

Posted on: 27/11/12 09:18am
By: Laugh

You can have hidden topics.

There is a flag you can set on the topic edit admin form.

Geeklog - Forum
https://www.geeklog.net/forum/viewtopic.php?showtopic=94527