3 of 14
3
New Module: Structure - Uses entries to create a page hierarchy for static and listing pages
Posted: 24 September 2008 09:55 AM   [ Ignore ]   [ # 37 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  172
Joined  07-16-2005

Pagination currently doesn’t work with the module because we’re assigning exact URLs to entries, so pagination can’t find itself (if that makes sense). On the wishlist. Also, you don’t need dynamic=“off” or it may not work. You only need dynamic=“off” when calling a listing or single entry NOT related to the “page” you’re on.

 Signature 

///////////////////////////////////////////////////////////////////////

+ Travis Schmeisser

nGen Works

+ rockthenroll

///////////////////////////////////////////////////////////////////////

Structure: a new way to build ExpressionEngine sites

Profile
 
 
Posted: 24 September 2008 10:16 AM   [ Ignore ]   [ # 38 ]  
Summer Student
Total Posts:  11
Joined  02-01-2008

Ok, thanks Travis!

Profile
 
 
Posted: 24 September 2008 07:29 PM   [ Ignore ]   [ # 39 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  302
Joined  06-13-2006

This looks fantastic, and just in time, too. I just started working on a site for which this might be a godsend.

 Signature 

Opus - I feel a nostalgia for an age yet to come…
ExpressionEngine 1.6.5 (Build 20081031)

Profile
 
 
Posted: 24 September 2008 07:31 PM   [ Ignore ]   [ # 40 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  172
Joined  07-16-2005

@opuszine Awesome! Let me know what you think!

 Signature 

///////////////////////////////////////////////////////////////////////

+ Travis Schmeisser

nGen Works

+ rockthenroll

///////////////////////////////////////////////////////////////////////

Structure: a new way to build ExpressionEngine sites

Profile
 
 
Posted: 24 September 2008 09:25 PM   [ Ignore ]   [ # 41 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  302
Joined  06-13-2006

I’ve just started using it, and so far, I’m really impressed. But I’ve run into one issue that I can’t quite seem to work out.

I have created a weblog entitled “pages” that holds all of my site’s static pages. I’ve created an entry—“Ministries”—that will serve as the “parent” page of the “Ministries” section, and I’ve created several “children” entries—e.g., “Worship”, “Children”—that will be “sub” pages of “Ministries”.

So far, so good. However, I have all of these static pages using a single template. Which means that, when I attempt to pull up “Ministries” or any of its children, I don’t get just that particular entry, I get a list of all of the entries in the “pages” weblog. Which, obviously, isn’t right.

So, what am I doing wrong? Is there some configuration setting I missed?

 Signature 

Opus - I feel a nostalgia for an age yet to come…
ExpressionEngine 1.6.5 (Build 20081031)

Profile
 
 
Posted: 24 September 2008 09:32 PM   [ Ignore ]   [ # 42 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  302
Joined  06-13-2006

Oh, and here’s one for the feature request list. It’d be nice to be able to display a list of particular entry’s children, if any, and even limit it to display a specific number of levels of children, if any.

 Signature 

Opus - I feel a nostalgia for an age yet to come…
ExpressionEngine 1.6.5 (Build 20081031)

Profile
 
 
Posted: 24 September 2008 10:47 PM   [ Ignore ]   [ # 43 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  302
Joined  06-13-2006

Re: my earlier issue, I figured out what was going on. I misread the documentation and had dynamic=“off” in my {exp:weblog:entries} tag. I took that out, and everything seems to be working fine now.

 Signature 

Opus - I feel a nostalgia for an age yet to come…
ExpressionEngine 1.6.5 (Build 20081031)

Profile
 
 
Posted: 25 September 2008 07:42 AM   [ Ignore ]   [ # 44 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  172
Joined  07-16-2005

@opuszine glad you got it figured out. Just when I came in to answer!

RE: the dispay children tag. The only tag to do that sort of thing would be

{exp:structure:nav_sub}

and that’s only for sub navigation. EE tags should work for everything else.

 Signature 

///////////////////////////////////////////////////////////////////////

+ Travis Schmeisser

nGen Works

+ rockthenroll

///////////////////////////////////////////////////////////////////////

Structure: a new way to build ExpressionEngine sites

Profile
 
 
Posted: 25 September 2008 01:13 PM   [ Ignore ]   [ # 45 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  302
Joined  06-13-2006

Sorry to hog the thread, but I have one more feature request.

I’ve noticed that the {exp:structure:nav_sub} tag’s output doesn’t nest lists properly. For example, here’s how the tag currently outputs the lists:

<ul id="nav_sub">
    <
li class="sub_level_0"><a href="/about/overview/">Worship & Music</a></li>
    <
li class="sub_level_0 parent_here"><a href="/about/staff/">Men</a></li>
    <
ul>
        <
li class="sub_level_1 here"><a href="/about/staff/managers/">Managers</a></li>
        <
li class="sub_level_1"><a href="/about/staff/sales/">Sales</a></li>
    </
ul>
    <
li class="sub_level_0"><a href="/about/catalog/">Catalog</a></li>
</
ul>

Note that the “sub_level_1” list is actually outside the <li> that contains its parent. This output certainly works, but it makes the CSS styling a lot more difficult (and it’s less correct semantically). Could the output be adjusted to look like this?

<ul id="nav_sub">
    <
li class="sub_level_0"><a href="/about/overview/">Worship & Music</a></li>
    <
li class="sub_level_0 parent_here"><a href="/about/staff/">Men</a>
    <
ul>
        <
li class="sub_level_1 here"><a href="/about/staff/managers/">Managers</a></li>
        <
li class="sub_level_1"><a href="/about/staff/sales/">Sales</a></li>
    </
ul>
    </
li>
    <
li class="sub_level_0"><a href="/about/catalog/">Catalog</a></li>
</
ul>

Now, the “sub_level_1” list is correctly nested within its parent’s <li>. It’s more correct semantically, and makes styling with CSS easier as well.

What do you think?

 Signature 

Opus - I feel a nostalgia for an age yet to come…
ExpressionEngine 1.6.5 (Build 20081031)

Profile
 
 
Posted: 25 September 2008 01:15 PM   [ Ignore ]   [ # 46 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  172
Joined  07-16-2005

That is DEFINITELY broke. Thanks for finding that. I’ll get a fix into our system and post when it’s fixed.

 Signature 

///////////////////////////////////////////////////////////////////////

+ Travis Schmeisser

nGen Works

+ rockthenroll

///////////////////////////////////////////////////////////////////////

Structure: a new way to build ExpressionEngine sites

Profile
 
 
Posted: 25 September 2008 01:31 PM   [ Ignore ]   [ # 47 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  302
Joined  06-13-2006

Thanks for the quick response.

 Signature 

Opus - I feel a nostalgia for an age yet to come…
ExpressionEngine 1.6.5 (Build 20081031)

Profile
 
 
Posted: 25 September 2008 03:43 PM   [ Ignore ]   [ # 48 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  172
Joined  07-16-2005

New version uploaded to fix the li bug. http://www.ngenworks.com/software/ee/structure/

Thanks again @opuszine!

 Signature 

///////////////////////////////////////////////////////////////////////

+ Travis Schmeisser

nGen Works

+ rockthenroll

///////////////////////////////////////////////////////////////////////

Structure: a new way to build ExpressionEngine sites

Profile
 
 
Posted: 26 September 2008 04:22 AM   [ Ignore ]   [ # 49 ]  
Summer Student
Total Posts:  26
Joined  12-16-2007

Hi Travis,

Great module!

When I try to access my homepage, I’m getting the error message that the tag {exp:structure:breadcrumb}, can’t be found. In other pages/levels (with URLs) the tag does work. Any clue?

Question/Request:
Is is possible to completely remove the main add/edit buttons in the header and only use the Structure tab for customers?

Profile
 
 
Posted: 26 September 2008 07:17 AM   [ Ignore ]   [ # 50 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  172
Joined  07-16-2005

@NicoSmit Not sure what’s up here because the breadcrumb tag shouldn’t cause any errors on your homepage. It doesn’t return anything when there. Can you PM me a login to look at your install? Or post the code?

We’re finishing up an extension now that allows tabs for groups or individuals, ordering and hiding the default ones. We’ll release it soon, gotta make time to write the docs.

 Signature 

///////////////////////////////////////////////////////////////////////

+ Travis Schmeisser

nGen Works

+ rockthenroll

///////////////////////////////////////////////////////////////////////

Structure: a new way to build ExpressionEngine sites

Profile
 
 
Posted: 26 September 2008 03:32 PM   [ Ignore ]   [ # 51 ]  
Grad Student
Avatar
Rank
Total Posts:  45
Joined  02-05-2008

i just installed this after thinking i was going about an essentially ‘static’ site a**-backwards. i’ll probably have more to say but so far, this is very cool. kudos.

eta: probably a setting issue of my site, but when i use the sub_nav it is relative to the web root, not the index.php. e.g. nuun.cl/about/what_is_nuun as opposed to nuun.cl/index.php/about/what_is_nuun

 Signature 

rebecca :: littlered media :: agile web design & development :: super mom :: i’m in pradipta’s rolodex

Profile
 
 
Posted: 26 September 2008 04:49 PM   [ Ignore ]   [ # 52 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  172
Joined  07-16-2005

@littlered Glad you like it! I think the subnav tag has a hard coded root. We always remove the index.php. Maybe we’ll change it next version…

 Signature 

///////////////////////////////////////////////////////////////////////

+ Travis Schmeisser

nGen Works

+ rockthenroll

///////////////////////////////////////////////////////////////////////

Structure: a new way to build ExpressionEngine sites

Profile
 
 
Posted: 29 September 2008 10:58 AM   [ Ignore ]   [ # 53 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  302
Joined  06-13-2006

I’ve noticed that when I move pages around, the site structure seems to be updated but the word “Error” (in red) always appears next to the page I’ve moved. Why is that?

It doesn’t happen on the other that I’m using “Structure” with. There, I just get a red asterisk that disappears almost immediately.

 Signature 

Opus - I feel a nostalgia for an age yet to come…
ExpressionEngine 1.6.5 (Build 20081031)

Profile
 
 
Posted: 29 September 2008 01:27 PM   [ Ignore ]   [ # 54 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  172
Joined  07-16-2005

Were those entries created before installing Structure? The problem is most likely that they don’t have Structure data associated with them. It creates an alias/url for EVERY entry, so one’s created before probably don’t have the correct data associated with them yet. If that’s the case go in and resave that entry and it should work.

 Signature 

///////////////////////////////////////////////////////////////////////

+ Travis Schmeisser

nGen Works

+ rockthenroll

///////////////////////////////////////////////////////////////////////

Structure: a new way to build ExpressionEngine sites

Profile
 
 
   
3 of 14
3
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64912 Total Logged-in Users: 24
Total Topics: 81863 Total Anonymous Users: 17
Total Replies: 440100 Total Guests: 202
Total Posts: 521963    
Members ( View Memberlist )
Newest Members:  bjmohrAqua193Bios Elementmjpoteetguimogranwelshmrcfthenetmonkeybenekwhobutsb