Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
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
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
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
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
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
Re: Admin plugin request: nav dropdown to header
Omfg.
Offline
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
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