Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-08-10 12:53:23

jonhicks
Member
From: Oxfordshire UK
Registered: 2004-03-22
Posts: 256
Website

Admin plugin request: nav dropdown to header

Someone clever out there: Can you create an admin plugin to make the new navigation menu appear at the top of the page, as well as the footer? I had been using the quickpik plugin, but I prefer the style of the new default menu in the footer.


Cheers,
Jon VC#9

Offline

#2 2005-08-10 18:48:12

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Admin plugin request: nav dropdown to header

Jon, someone has done a hack for that somewhere but I’m buggered if I can find it at this moment. I’ll pop a link in if I come across it. If my memory serves it’s mostly a bit of CSS mumbo-jumbo. :)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#3 2005-08-10 20:49:23

jonhicks
Member
From: Oxfordshire UK
Registered: 2004-03-22
Posts: 256
Website

Re: Admin plugin request: nav dropdown to header

I did a search, but found nuttin’. If its CSS its good news – CSS and me are drinking buddies


Cheers,
Jon VC#9

Offline

#4 2005-08-10 20:53:03

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: Admin plugin request: nav dropdown to header

You could probably do it with some DOM confabulations also. Although I wouldn’t think it should be too hard to do it as a plugin. I’ll try to take a look tonight.


Shoving is the answer – pusher robot

Offline

#5 2005-08-10 21:17:49

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Admin plugin request: nav dropdown to header

Did you refer to this one, Stuart?

Offline

#6 2005-08-10 21:32:43

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: Admin plugin request: nav dropdown to header

follow this

Offline

#7 2005-08-10 21:42:05

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Admin plugin request: nav dropdown to header

Sorry Els but that is Quikpik. Yours was close Lee but this one is the original if you want to have a look Jon. Lee’s link seems to be a re-think but you will have to view the source code to read it I’m afraid.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#8 2005-08-11 05:00:28

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: Admin plugin request: nav dropdown to header

I have this pretty much working as a plugin. Need to account for a few things in IE but I should hopefully have something tomorrow if you all haven’t licked it through CSS. This would be way easier as a mod, just add <code><?php echo navPop(); ?></code> to line 93 of txplib_head.php right before the first <code></td></code>

It would still be hard to style it because the head table lacks hooks, but you could create a class in textpattern.css and assign it to select using the DOM.


Shoving is the answer – pusher robot

Offline

#9 2005-08-11 05:06:42

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: Admin plugin request: nav dropdown to header

Omfg.

Offline

#10 2005-08-11 06:59:48

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,254
Website

Re: Admin plugin request: nav dropdown to header

> hakjoon wrote:

> I have this pretty much working as a plugin. Need to account for a few things in IE but I should hopefully have something tomorrow if you all haven’t licked it through CSS. This would be way easier as a mod, just add <code><?php echo navPop(); ?></code> to line 93 of txplib_head.php right before the first <code></td></code>

Yep, it is that simple. And if you need to add some extra styling: add a class to that td, and/or scroll down the file txplib_head.php, and find function navPop(), you can add class or id to the select menu.

Sidenote, that location, on top of the page, should come as default for TXP 1.0

Last edited by phiw13 (2005-08-11 07:00:16)


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#11 2005-08-11 08:49:47

Dean
Founder (Gone, but not forgotten)
From: Languedoc
Registered: 2004-02-14
Posts: 235
Website

Re: Admin plugin request: nav dropdown to header

I’ve popped it in the top yellow stripe in r754.


text*

Offline

#12 2005-08-11 10:28:09

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: Admin plugin request: nav dropdown to header

Thanks.

Offline

Board footer

Powered by FluxBB