Recent Topics

How to override help in footer?

Started by on Aug 16, 2017 – Contents updated: Aug 23, 2017

Aug 16, 2017 10:37    

I have 3 different sections in my blog. And the footer has a help URL, and when I click on it, says (there's a typo btw - responsibility):

This is an independent website published solely under the reponsibility of its owner.

This is a slug of type "help". I've changed that slug to an item type and tried point it to a page. That works for the main blog, but not for the other 2 sections. Think I have to make that item a post of all 3 sections for this to work?

Is it possible to have a different help contents for different blogs on the same site?

Aug 16, 2017 19:36

Hi @agent_kith, what do you mean when you said:

I have 3 different sections in my blog.

and also:

I've changed that slug to an item type and tried point it to a page. That works for the main blog, but not for the other 2 sections.

I'm still not clear about what is exactly your question. help is an special display that shows the message you mentioned. The message itself can be modified at skin level. The slug can't be freely modified and that's why I don't understand how did you change it, as you said above.

Please clarify ( screenshots would be nice ;) ).

Thank you.

Aug 17, 2017 02:00

Thanks mgsolipa.

@mgsolipa wrote earlier:

Hi @agent_kith, what do you mean when you said:


My bad. I meant I have 3 collections - Main, News and Manual.

@mgsolipa wrote earlier:

> I've changed that slug to an item type and tried point it to a page. That works for the main blog, but not for the other 2 sections.


Every collection's footer has a help link, and it just says https://site/collection/help. When I changed the help slug to post and change it's ID to a post, it works for the collection where the post resides.

@mgsolipa wrote earlier:


I'm still not clear about what is exactly your question. help is an special display that shows the message you mentioned. The message itself can be modified at skin level. The slug can't be freely modified and that's why I don't understand how did you change it, as you said above.

Please clarify ( screenshots would be nice ;) ).

Thank you.


Right now the help text isn't really helpful. So I would like to override the behaviour of help - when I click on help a general help page specific to the collection is displayed instead (e.g. in Main, my help will be describing what the other collections are, and a news help and manual help.

Seems there are no problems when modifying the help slug? At least when it's of "Item" type. Not exactly sure what "Help" type is as the manual didn't really say much about it AFAICT.

Aug 21, 2017 03:35

A little more info about slugs and special slugs here: http://b2evolution.net/man/slug

That works for the main blog, but not for the other 2 sections.

What you are trying to do should work. We need more details than "doesn't work" to know what the problem is. What happens when you click on the help link after having modified the slug?

Aug 21, 2017 08:07

@fplanque wrote earlier:

A little more info about slugs and special slugs here: http://b2evolution.net/man/slug

> That works for the main blog, but not for the other 2 sections.

What you are trying to do should work. We need more details than "doesn't work" to know what the problem is. What happens when you click on the help link after having modified the slug?


The other two sections return a 404 when I click on help. Setting extra sub-categories fix the 404 error. This is with type Post. Will experiment with type page when I can later.

From the documentation, because slugs are unique, it probably means I can't have individual help pages for each collection.

edit: Tried both post and page. Both sort of works, but the article will either be shown in the common headers, or as a normal post in the sub-categories. Both aren't ideal. Looks like I'd just have to manually edit the skin to change the text.

Thanks for the clarification.

Aug 23, 2017 01:47

Besides having the same content for all collections (which will be fixed in a future release where we will have per-collection slugs), can you please describe what the issue is when you use page? (screenshot of issue?)

Aug 23, 2017 02:08

@fplanque wrote earlier:

Besides having the same content for all collections (which will be fixed in a future release where we will have per-collection slugs), can you please describe what the issue is when you use page? (screenshot of issue?)


In my site menu - Home (Main), News(Blog) and Manual (Manual) are B2evolution collections. Forums is a link to a MyBB forum. Feedback and Privacy Policy are pages from the Main Collection (set the info pages to point to Main).

If I use page, the article will appear in the site menu header at the top. And if I associate the help page to the Main Collection, that page will also be shown on the main menu. It's all a preference thing as I preferred to have:

  1. help to be in the footer section (not both header and footer).
  2. Only way to get to the help article is via the help link in the footer, and not in categories, sub-categories, tabs, intros, etc.

AFAICT the best solution is modify the skin as suggest. So don't spend any resources on this as it's unlikely to be a feature anybody else would like..

Thanks for all the help guys.


Form is loading...

powered by b2evolution – This forum is powered by b2evolution CMS, a complete engine for your website.