Single click Navigation bar items + moving content-actions

Use this forum to ask questions about how to do things in GuMax skin.
Post Reply
User avatar
nonegiven
Rank 2
Rank 2
Posts: 14
Joined: August 11th, 2009, 11:06 pm

Single click Navigation bar items + moving content-actions

Post by nonegiven »

Hi.

In GuMaxDD 1.1, the release notes say,

"Main menu items are clickable and linked to article themselves, this allows to have single menu item"

Two questions, apologies is the latter has been asked elsewhere but I cant find it via 'search'....

• Is there any way to NOT make a single menu item clickable as a link?

I am attempting a multi-lingual site and it would be easier to have a manually set link I can write in one or two languages. All polyglot extensions I have tried to date do not work here (perhaps I have to translate your skin ... I don't know ... and extensions.)

• Is there anyway to move the content-actions up into the main navigation bar?

... Top and bottom content-actions or "gumax-special-tools"




Thanks. I will keep reading. I think these templates have a lot of hope in them.
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Single click Navigation bar items + moving content-actions

Post by Paul »

Edit the link in GuMaxDD.php file for the navigation links.

You can located edit menu anywhere you want to, just some CSS styling... :)
User avatar
nonegiven
Rank 2
Rank 2
Posts: 14
Joined: August 11th, 2009, 11:06 pm

Re: Single click Navigation bar items + moving content-actions

Post by nonegiven »

a) Single click Navigation bar items

In GuMaxDD.php there is a line

Code: Select all

<!-- Navigation Menu -->
	<div id="gumax-p-navigation">
		<?php $this->mainNavigationBox(); ?>	
	</div>
	<!-- end of Navigation Menu -->
If you add in a link manually, e.g.

Code: Select all

<!-- Navigation Menu -->
	<div id="gumax-p-navigation">
<a href="http:www.google.com">Google</a>
		<?php $this->mainNavigationBox(); ?>	
	</div>
	<!-- end of Navigation Menu -->
It appears outside and above/below the navigation bar, so more work would be required there.

I was just wondering because the single click feature for first items is in the code, and new to this release, therefore it must be able to be disabled, surely?

b) Moving content-actions into Navigation bar

Adding <?php $this->contentActionBox(); ?> alone into the same section does not work either ...

I tried swopping the Content-Actions css for the Navigation-bar items css and re-adding the line but that does not work either, so it is beyond me. Sorry.

Nevermind. I thought there might just be an easy way to do so. It looks like it would take a major re-code.

Thanks.
User avatar
nonegiven
Rank 2
Rank 2
Posts: 14
Joined: August 11th, 2009, 11:06 pm

Re: Single click Navigation bar items + moving content-actions

Post by nonegiven »

I think there is a bug here because ... if you add qualifier/page link to the top items, e.g.

* HOME > * home|HOME
  • It will appear on the website as 'home|HOME'
If you add a qualifier/page link on the menu items, e.g.

Special:Upload|Upload image or file
  • It will only appear as 'Upload image or file'
I suspect that if the 'feature' to make the single item was disabled, then it would be possible to do so and therefore add multi-language translations.

Is there a way to do so, or try?

Thanks
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Single click Navigation bar items + moving content-actions

Post by Paul »

Try to compare the new version with old version with navigation section, it's not hard to figure it out. If not, then you might ask or pay for expert to customize it for you.

Does the menu show correctly in monobook with that specific menu?
User avatar
nonegiven
Rank 2
Rank 2
Posts: 14
Joined: August 11th, 2009, 11:06 pm

Re: Single click Navigation bar items + moving content-actions

Post by nonegiven »

Thanks.

Ditto my response on the other topic. viewtopic.php?f=6&t=399&p=1695#p1695

Until I have the time to re-make a virgin installation, I cannot say right now. Switching to Monobook, it looks the same as standard.
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Single click Navigation bar items + moving content-actions

Post by Paul »

Well, this is just your specific case thought, most of case you don't want to disable single item. Why? it will be weird that single item setting on the menu and doesn't do anything, lol.

Simple copy other menu to the top will NOT word as drop down, you need a little bit coding.
User avatar
nonegiven
Rank 2
Rank 2
Posts: 14
Joined: August 11th, 2009, 11:06 pm

Re: Single click Navigation bar items + moving content-actions

Post by nonegiven »

Did you ever think of adding content-actions to the navigation bar as well ... thereby removing that extra line to text and moving up the page?

There are extensions that remove the content-actions for non-logged in users but that reduces the instant attraction factor of having a Wiki.
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Single click Navigation bar items + moving content-actions

Post by Paul »

Originally, I have login, content-action in the main menu, however, it looks really bad, and from usability, it's worse, since users have to move to the drop down and click on the menu every time, it's not user friendly.
User avatar
isabella12
Rank 0
Rank 0
Posts: 1
Joined: November 9th, 2009, 10:40 am

Re: Single click Navigation bar items + moving content-actions

Post by isabella12 »

hello people want to express my satisfaction with this blog very creative and I really like the views of the focus very good indeed
Post Reply