Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2013-02-04 17:54:36

towndock
Member
From: Oriental, NC USA
Registered: 2007-04-06
Posts: 335
Website

New default Txp 4.5 template and dropdown menus

I’m beginning to appreciate the potential of the new default public-side theme in Textpattern (sorry if I’m slow to the party on just how cool it is). Phil really did an amazing job on making an attarctive default theme that scales, and really is a useful basis for creating sites on top of.

For most sites the provided menu structure is fine. However, I’m working a site that will need drop down menus to deal with all its content. Has anyone integrated drop down menus yet into this theme?

Phil’s coding of both the template and css is so masterful that it gives my smaller brain some pause – it isn’t initially obvious to me how to insert the code (and not break something else). I hope someone has already worked this out (maybe Phil?).

Thank you for any input.

Keith

Offline

#2 2013-02-04 19:27:38

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: New default Txp 4.5 template and dropdown menus

Hello Keith.

You want a single tier drop down yes? Kind of like this

If yes then I may be able to code something up for you within the next couple of days.

Offline

#3 2013-02-04 20:04:37

towndock
Member
From: Oriental, NC USA
Registered: 2007-04-06
Posts: 335
Website

Re: New default Txp 4.5 template and dropdown menus

Phil,

Exactly – that functionality would work perfectly.

Offline

#4 2013-02-04 20:10:04

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,136
Website Mastodon

Re: New default Txp 4.5 template and dropdown menus

towndock wrote:

Phil,
Exactly – that functionality would work perfectly.

+1


…. texted postive

Offline

#5 2013-02-04 20:11:40

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: New default Txp 4.5 template and dropdown menus

Ok then, leave it with me

Offline

#6 2013-02-12 02:00:27

madzzoni
Member
From: Grünberg/Hessen/DE
Registered: 2013-01-22
Posts: 38

Re: New default Txp 4.5 template and dropdown menus

philwareham wrote:

Hello Keith.

You want a single tier drop down yes? Kind of like this

If yes then I may be able to code something up for you within the next couple of days.

Hello Phil, i’m also looking for a nice Drop-down-menu (plugin) like your demo here.

Right now i use this script in a form for the “default” Nav-menu in 4.54

<txp:section_list
	active_class="active"
	break="li"
	default_title="Hjem"
	include_default="1"
	sections="artikler,profil,nyheder,produkter,kontakt,etc,etc"
	wraptag="ul"/>

- which gives me the possibility to change the Section Menu-order quite easy – is it possible to include a Submenu in this script?


<TXP:n00b />

Offline

Board footer

Powered by FluxBB