Loading...
 
Skip to main content

Features / Usability


How to get rid of Articles in Menu

posts: 14 Germany

Dear Tikists,
Just installed Tiki 1.9. RC3 Sirius on Linux and Windows. Works ok.

I am trying to design a "Wiki only" page with a minimum menu. When I disable Blog, Homework and the like, these disappear from the menu as expected.

Same is not true for "Articles". It always stays in the Menu, even if clicking on it tell me that the item is disabled.

Dieter Menne
Tübingen/Germany

posts: 175 Canada

Odd I never noticed this before. I guess it is because I seldom use the "Application menu" for the general site user, preferring to create custom ones.

A quick fixt appears that if you change the line at around 170 of the "mod-application_menu.tpl" in tikiwiki/templates/modules/

the line reads

{if $feature_articles eq 'y' or $feature_submissions eq 'y'} change to

{if $feature_articles eq 'y'}

The menu will no longer show it. You must take into account that some styles use thier own mod-application_menu.tpl so you would have to change it in its folder.

IE; tikiwiki/templates/styles/neat/modules/mod-application_menu.tpl

  • My questions to others?


Is the "feature_submissions" bit above out of place or incorrect?

I do not have time to ponder this further at now. However it would seem that the perm "feature_submissions" has to be dealt with in the permissions set up! I still find it odd that when disabled it still shows up.

I also tried to make it go away with the menu permissions with no luck. It should have been removeable from there.

Am I back to hallucinating again? I was sure I saw a response to this from Damian!


posts: 14 Germany

Thanks, Janmes, looks like I will do it via user menu.

Anyway, I have submitted a ticket to bug database (1092330) with reference to your reply.

Dieter


posts: 1092

It is the right fix (as it is done like this in the generic mod-application_menu.tpl). Some styles haven't been updated.
Don't forget the tpl will disappear with the mods and will be replaced with the application user menu (id=42)