Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2007-03-22 21:36:36
- jquerytextpattern
- New Member
- Registered: 2007-03-22
- Posts: 1
Integrate jQuery's "Treeview" plug into TP for auto link additions...
Hey there, nice to be part of the Textpattern forums, I’m honored.
I’m having a problem with integration and automation, but I’m not courageous enough to do this one alone.
——-My situation——-
I currently have a blog that uses Textpattern for everything;
I was reasearching for some good content management automation, and I decided that I was going to slip my Knowledgebase right into a “section” and a “page” on Textpattern;
I planned to use articles to form my literature, with a “projects/document” list formed automatically with a simple Textpattern linklist.
I ran into a problem . . . . I discovered jQuery. Incase you don’t know, it’s a top-notch Javascript Framework Library that has a gigantic following of developers creating new plug-ins, widgets, etc; plus jQuery’s use of html/xhtml/css/amateur javascript to initiate, optionize and position the (.js) scripts inside your pages and forms is foolproof.
——> jQuery became the object of my affection in my knowledgebase, and my greatest problem, now, lies with the Textpattern integrations with the jQuery plugin “Treeview”.
———-WHAT DO I WANT TO ACCOMPLISH?————-
I want to automate the creation of “Treeview” columns, so that article creation will automatically create levels of folders and links. I’m not sure how I would do that, because I can only get my Textpattern to output: “Link Title” “Name” “Description”, automatically, from article creation. i.e. “Recent Articles” isn’t enough of a list. Perhaps you guys could help me?
All the information, demos, screenshots, source, files and comments about the jQuery plugin, “Treeview” are below. Hopefully they can help you?
Thanks a bunch. I hope someone can help me figure this out,
jqtp
———Treeview References———
jQuery Link: http://jquery.com/
jQuery Plugin “Treeview”, Overview: http://bassistance.de/jquery-plugins/jquery-plugin-treeview/
jQuery Plugin “Treeview”, API Browser: http://jquery.bassistance.de/api-browser/plugins.html
jQuery Plugin “Treeview”, TracBrowser, All Source Code: http://dev.jquery.com/browser/trunk/plugins/treeview/
jQuery Pluging “Treeview”, Demo: http://jquery.bassistance.de/treeview/
SAMPLE:
<li class=“closed”>Item 1 <ul> <li>Item 1.0 <ul> <li>Item 1.0.0</li> </ul> </li> <li>Item 1.1</li> <li>Item 1.2 <ul> <li>Item 1.2.0 <ul> <li>Item 1.2.0.0</li> <li>Item 1.2.0.1</li> <li>Item 1.2.0.2</li> </ul> </li> <li>Item 1.2.1 <ul> <li>Item 1.2.1.0</li> </ul> </li> <li>Item 1.2.2 <ul> <li>Item 1.2.2.0</li> <li>Item 1.2.2.1</li> <li>Item 1.2.2.2</li> </ul> </li> </ul> </li> </ul> </li> <li>Item 2 <ul> <li>Item 2.0 <ul> <li>Item 2.0.0 <ul> <li>Item 2.0.0.0</li> <li>Item 2.0.0.1</li> </ul> </li> </ul> </li> <li>Item 2.1 <ul> <li>Item 2.1.0 <ul> <li>Item 2.1.0.0</li> </ul> </li> <li>Item 2.1.1 <ul> <li>Item 2.1.1.0</li> <li>Item 2.1.1.1</li> <li>Item 2.1.1.2</li> </ul> </li> <li>Item 2.1.2 <ul> <li>Item 2.1.2.0</li> <li>Item 2.1.2.1</li> <li>Item 2.1.2.2</li> </ul> </li> </ul> </li> </ul> </li> <li class=“open”>Item 3 <ul> <li class=“open”>Item 3.0 <ul> <li>Item 3.0.0</li> <li>Item 3.0.1 <ul> <li>Item 3.0.1.0</li> <li>Item 3.0.1.1</li> </ul>
</li> <li>Item 3.0.2 <ul> <li>Item 3.0.2.0</li> <li>Item 3.0.2.1</li> <li>Item 3.0.2.2</li> </ul> </li> </ul> </li> </ul> </li> </ul>
Offline