Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-03-07 15:54:53

rdtietjen
Archived Plugin Author
Registered: 2005-03-04
Posts: 31
Website

[plugin] [ORPHAN] rdt_dynamenus - automatic section and article menus

Please check out rdt_dynamenus
I’ve used them to provide automatic section and article menus on several so-called static sites. I’ve also written an article, Building a static website with Textpattern, documenting a website building technique supported by the plugin.

cheers,

Last edited by rdtietjen (2006-09-08 15:47:37)


TV? Buglight for humans.

Offline

#2 2005-03-09 15:52:10

rdtietjen
Archived Plugin Author
Registered: 2005-03-04
Posts: 31
Website

Re: [plugin] [ORPHAN] rdt_dynamenus - automatic section and article menus

version .2 corrects a bug that prevented active articles from getting tagged.

I’ve also repaired the link to this plugin in the documentation, sorry ‘bout that — things just slip through.

Last edited by rdtietjen (2006-09-08 15:46:59)


TV? Buglight for humans.

Offline

#3 2005-03-10 17:58:14

uire
New Member
Registered: 2005-02-09
Posts: 4

Re: [plugin] [ORPHAN] rdt_dynamenus - automatic section and article menus

I’ve tried to use the plugin, but I am recieving the following error:

Fatal error: Call to undefined function: latts() in C:\src\txp_bccs\textpattern\publish.php(767) : eval()’d code on line 635

I’ve tried multiple combinations, however, nothing seems to work.

Last edited by uire (2005-03-10 17:59:32)

Offline

#4 2005-03-10 19:30:45

rdtietjen
Archived Plugin Author
Registered: 2005-03-04
Posts: 31
Website

Re: [plugin] [ORPHAN] rdt_dynamenus - automatic section and article menus

The rdt_dynamenus plugin requires at least Textpattern rc2 which is when the lAtts function appeared. You would need to upgrade, probably to rc3 at this point.

I’m sorry to say I didn’t look back at rc1 not realizing that the codebase is changing so much. In the future, i’m not sure what the right thing to do will be. Will it be safe to use Textpattern functions?

Sorry for your frustration,

HTH

Last edited by rdtietjen (2005-03-10 19:34:50)


TV? Buglight for humans.

Offline

#5 2005-03-14 02:52:08

gustaf
Member
From: Santa Cruz, California
Registered: 2004-12-29
Posts: 17
Website

Re: [plugin] [ORPHAN] rdt_dynamenus - automatic section and article menus

SWEET! one template here i come…

Offline

#6 2005-03-14 14:25:31

rdtietjen
Archived Plugin Author
Registered: 2005-03-04
Posts: 31
Website

Re: [plugin] [ORPHAN] rdt_dynamenus - automatic section and article menus

yeah, one template.

it’s irritating, inelegant, to have multiple templates with only one difference or even to use multiple mdn_if_section tags.

bonus: here’s an example of an horizontal rdt_section_menu thru the grace of CSS: http://spiritofcj.org


TV? Buglight for humans.

Offline

#7 2005-03-14 20:07:56

andjules
Member
From: toronto
Registered: 2004-10-20
Posts: 44

Re: [plugin] [ORPHAN] rdt_dynamenus - automatic section and article menus

rdtietjen,

nice plugin idea, wish it was around a month ago – I’ve done two semi-static sites in the last few weeks, perhaps could’ve used this. used mdp_sectionmenu and chh_article_custom on one of them, much as you’ve outlined.

an idea: swithching to – or having the option of – using categories instead of sections. I philosophically agree with Dean’s mindset – sections for navigation, categories for… categorizing; BUT, categories can be nested; at the moment sections can’t.

Last edited by andjules (2005-03-14 20:12:22)

Offline

#8 2005-04-01 14:26:36

Michael_art
Member
From: Stockholm
Registered: 2005-03-23
Posts: 10
Website

Re: [plugin] [ORPHAN] rdt_dynamenus - automatic section and article menus

Help!
It doesnt seem to work in RC3 in the Messy mode.
I am running the textpattern RC3 (OK, i am on my way of implementing it).

My site is in a subfolder: see http://kisd.de/~michael

and unfortunatly I have to run it in messy mode!

Any ideas?

Offline

#9 2005-04-01 18:10:11

Manfre
Plugin Author
From: North Carolina
Registered: 2004-05-22
Posts: 588
Website

Re: [plugin] [ORPHAN] rdt_dynamenus - automatic section and article menus

To add rc1 support, add the following code to the plugin.

<code> if (!function_exists('lAtts')) { function lAtts($pairs, $atts) { // trying this out as well foreach($pairs as $name => $default) { $out[$name] = isset($atts[$name]) ? $atts[$name] : $default; } return ($out) ? $out : false; } </code>

Offline

#10 2005-04-01 18:35:00

Michael_art
Member
From: Stockholm
Registered: 2005-03-23
Posts: 10
Website

Re: [plugin] [ORPHAN] rdt_dynamenus - automatic section and article menus

Hmm, doesn’t work for me.

I think you forgot a } in your code. But anyway, after i added this part, i dont get a erroro message, but i dont get the wished result either. (as you see on my homepage)

Just copy the code to the end of the plugin, or somewhere else?

Offline

#11 2005-04-02 10:44:57

harryv
Member
From: denmark
Registered: 2005-03-26
Posts: 11
Website

Re: [plugin] [ORPHAN] rdt_dynamenus - automatic section and article menus

What can this plugin do, that txp:section_list cannot ?

Offline

#12 2005-04-02 13:24:26

tranquillo
Archived Plugin Author
Registered: 2005-03-07
Posts: 127
Website

Re: [plugin] [ORPHAN] rdt_dynamenus - automatic section and article menus

I can’t name sections using underscore as described, i.e. “this_&_that” is changed in the presentation/section into this38that.

Last edited by tranquillo (2005-04-02 13:25:16)

Offline

Board footer

Powered by FluxBB