We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

PageTree module

Development and Programming

Che's avatar
Che
7 posts
20 years ago
Che's avatar Che

Hi all

I’ve written a new module called PageTree, that allows you to create arbitrary page navigation structures, with any level of heirarchy.

Each “page” object has metadata (title, short description), and linking info (template group/name and optional entry id, or a static url). Pages have any number of child pages, with any level of nesting.

You can then use tags in your templates to render those trees in different ways (eg: breadcrumbs, section nav, sitemap). The tags can auto-detect the current page, based on the query string (ie: it looks for a page that matches the current template/entry combination), or you can supply it at a parameter.

It has a few funky features, like auto-exporting the page structure into a specified category group, allowing you to associate weblog entries to pages (in addition to associating pages to weblog entries). This is nice for doing things like sidebar elements that you want to post to multiple “pages”.

I’m pretty sure people might find this module useful.

I’d like to make it available to the community, but I’m concerned about the codebase. While I’ve coded it all myself, I’ve used chunks of the built-in Weblog module’s code as “inspiration”.

I need some advice on whether this module is distributable. I’m happy to supply the MOD and MCP files to someone from pMachine, to see what you think, and I’m happy to “clean room” any contentious chunks of code.

Che

       
Paul Burdick's avatar
Paul Burdick
480 posts
20 years ago
Paul Burdick's avatar Paul Burdick

We’ve been pretty liberal about people using the ExpressionEngine code as inspiration in their modules and plugins, especially the Weblog Module. If you want to send me a copy of the files at paul [at] pmachine [dot] com, I will give the files a look over.

       
Jesse Bennett-Chamberlain's avatar
Jesse Bennett-Chamberlain
10 posts
20 years ago
Jesse Bennett-Chamberlain's avatar Jesse Bennett-Chamberlain

This sounds amazing… I would LOVE something like this.

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
20 years ago
Lisa Wess's avatar Lisa Wess

If this is OK’d, please don’t forget to add it to our list of modules. =)

       
endurant's avatar
endurant
13 posts
20 years ago
endurant's avatar endurant

Please send a post when this is an official module. This is a needed feature in EE.

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
20 years ago
Lisa Wess's avatar Lisa Wess

It is just semantics, but whether this is released by the author or not - it won’t be an “official module” unless pMachine starts rolling it out wtih EE. =)

       
Che's avatar
Che
7 posts
20 years ago
Che's avatar Che

Thanks Paul – I’ll send the files through.

The module is functional, but could use some testing, and additional conditional tags… After I’ve had some feedback from pMachine, I’ll open it up to some limited beta-testing through this forum.

       
Che's avatar
Che
7 posts
20 years ago
Che's avatar Che

Just so no-one gets too excited… Paul gave me some early feedback on the module, and I need to debug the install script. So it might be a few days before I can report back with any progress.

       
endurant's avatar
endurant
13 posts
20 years ago
endurant's avatar endurant

Ok, Che, send another post when you get it up and running. thanks.

       
Johnathan Powell's avatar
Johnathan Powell
2 posts
20 years ago
Johnathan Powell's avatar Johnathan Powell

Hey guys, just found this post. This sounds like a great addition to EE! I hope Paul didn’t bust your bubble, Che. We’re looking forward to seeing this in action!

       
Johnathan Powell's avatar
Johnathan Powell
2 posts
20 years ago
Johnathan Powell's avatar Johnathan Powell

Not to sound pushy or anything, just want to make sure this isn’t forgotten about. Have there been any breakthroughs with it? If you need a beta tester, let me know (c:

       
Bruce2005's avatar
Bruce2005
536 posts
20 years ago
Bruce2005's avatar Bruce2005

This is listed in modules, is it working and ready to take for a spin?

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
20 years ago
Lisa Wess's avatar Lisa Wess

It is in the list of known modules - NOT released….

       
Bruce2005's avatar
Bruce2005
536 posts
20 years ago
Bruce2005's avatar Bruce2005

Let go

lol

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
20 years ago
Lisa Wess's avatar Lisa Wess

Pardon?

       
1 2 3

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.