8 of 14
8
New Module: Structure - Uses entries to create a page hierarchy for static and listing pages
Posted: 10 October 2008 07:05 AM   [ Ignore ]   [ # 127 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  172
Joined  07-16-2005

Structure manages ALL entries, so it will show up there. Currently, there’s not a way to turn this off.

 Signature 

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

+ Travis Schmeisser

nGen Works

+ rockthenroll

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

Structure: a new way to build ExpressionEngine sites

Profile
 
 
Posted: 10 October 2008 11:38 AM   [ Ignore ]   [ # 128 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  302
Joined  06-13-2006
rockthenroll - 10 October 2008 07:05 AM

Structure manages ALL entries, so it will show up there. Currently, there’s not a way to turn this off.

FWIW, it’d be really great if this could be changed in a subsequent update so that Structure could be turned on/off on a per-weblog basis.

 Signature 

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

Profile
 
 
Posted: 10 October 2008 11:40 AM   [ Ignore ]   [ # 129 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  302
Joined  06-13-2006

Re: that plugin I mentioned earlier in the week, are folks still having problems with it?

 Signature 

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

Profile
 
 
Posted: 10 October 2008 02:47 PM   [ Ignore ]   [ # 130 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  157
Joined  09-06-2006
rockthenroll - 08 October 2008 01:54 PM

@smartpill {exp:structure:nav_sub} should NOT be within a weblog tag. That’s probably why it’s not outputting anything out for you.

Ok. This is probably what confused me:

Pages can be linked to within {exp:weblog:entries} with the variables {page_uri} and {page_url}.

I did manage to get subnav page links to appear (thanks watershed). I was hoping to get the entire menu to show. I tried frenzal’s code but get a PHP error when I place it. I think it was “unexpected T-VAR” or something like that referring to the 1st line of the new code.

rockthenroll - 08 October 2008 01:54 PM

RE: The Issue: the top level nav is locked down so clients can’t change nav that may be hardcoded into a template. Right now we don’t have plans to change this.

My bad. When I checked the “administer” permission preference it worked fine.

 Signature 

Kyle Summer | smartpill design | New Haven, CT

Profile
 
 
Posted: 12 October 2008 07:17 AM   [ Ignore ]   [ # 131 ]  
Grad Student
Avatar
Rank
Total Posts:  52
Joined  01-17-2007

You are a god!

Profile
 
 
Posted: 15 October 2008 08:27 AM   [ Ignore ]   [ # 132 ]  
Summer Student
Total Posts:  4
Joined  02-07-2008

Would be pretty helpful if this worked for more than 2 levels.  I tried Frenzel’s code and it works, but it shows everything no matter what page you are on, instead of only showing children once you actually click on a page.

I may have a look at the code and see if I can modify it.  Either way, nice job on this so far, it’s a great tool that should be built into EE.

Thanks

Profile
 
 
Posted: 15 October 2008 08:29 AM   [ Ignore ]   [ # 133 ]  
Summer Student
Total Posts:  4
Joined  02-07-2008

It would also be great if in the breadcrumb, the “here” was actually the title of the current page (unlinked).  “Here” is a bit general.

Thanks again

Profile
 
 
Posted: 16 October 2008 08:01 PM   [ Ignore ]   [ # 134 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1642
Joined  05-13-2004

I’m about to install this module it looks like it should help me achieve what I want. I also like the structure children plugin on page 6.

 Signature 

CreateSean - My journey to pro web designer
currently improving my CSS, XHTML, JQuery & photoshop kung fu skills
I am the poster formally known as The Linguist.

Profile
 
 
Posted: 16 October 2008 08:15 PM   [ Ignore ]   [ # 135 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1642
Joined  05-13-2004

I attempted to install this but got the following error when enabling the extension.

I added the CPjquery module no problem
the actual structure module will install
but the extension gives me this error when I go to the extensions manager

Warning: require_once(modules/structure/mod.structure.php) [function.require-once]: failed to open stream: No such file or directory in D:\xampp server\htdocs\xxx\yyy\extensions\ext.structure_ext.php on line 5

Fatal error
: require_once() [function.require]: Failed opening required 'modules/structure/mod.structure.php' (include_path='.;D:\xampp server\php\pear\') in D:\xampp server\htdocs\xxx\yyy\extensions\ext.structure_ext.php on line 5

 Signature 

CreateSean - My journey to pro web designer
currently improving my CSS, XHTML, JQuery & photoshop kung fu skills
I am the poster formally known as The Linguist.

Profile
 
 
Posted: 17 October 2008 06:29 PM   [ Ignore ]   [ # 136 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  172
Joined  07-16-2005

@Sean Looks like you need to upload the contents of the modules folder to your install’s module directory as the error states: modules/structure/mod.structure.php. Also, install the module after that.

Thanks for the feedback, everyone. The subnav might have more control eventually, but right now it’s as is. Let’s move any plugin chat regarding extending that functionality to a different thread to avoid confusion of the built-in tags vs the custom ones you are all helping with. I really appreciate the work everyone is putting in I just want to make sure we keep it all straight for people joining in. Thanks!

 Signature 

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

+ Travis Schmeisser

nGen Works

+ rockthenroll

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

Structure: a new way to build ExpressionEngine sites

Profile
 
 
Posted: 17 October 2008 06:43 PM   [ Ignore ]   [ # 137 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1642
Joined  05-13-2004

rockthenroll,

actually I’ve done that and installed the module but the error persists. I can see that the mod.structure.php file exists in the structure folder inside of modules inside of system.

In installed and uninstalled and reinstalled the module and the error for the extension continues.

 Signature 

CreateSean - My journey to pro web designer
currently improving my CSS, XHTML, JQuery & photoshop kung fu skills
I am the poster formally known as The Linguist.

Profile
 
 
Posted: 17 October 2008 08:43 PM   [ Ignore ]   [ # 138 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1642
Joined  05-13-2004

I deleted everything, redownloaded it all and then followed the instructions exactly and I’m still getting this error.

——

I then went to another install and added the structure module using exactly the same procedure and it works - no idea why it works in one but not another.

 Signature 

CreateSean - My journey to pro web designer
currently improving my CSS, XHTML, JQuery & photoshop kung fu skills
I am the poster formally known as The Linguist.

Profile
 
 
Posted: 17 October 2008 10:01 PM   [ Ignore ]   [ # 139 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1642
Joined  05-13-2004

My final reply to this issue - I fixed it, but completely uninstalling EE and then reinstalling.

after i got everything back to the way it was before I installed structure without a problem.

 Signature 

CreateSean - My journey to pro web designer
currently improving my CSS, XHTML, JQuery & photoshop kung fu skills
I am the poster formally known as The Linguist.

Profile
 
 
Posted: 17 October 2008 10:38 PM   [ Ignore ]   [ # 140 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1642
Joined  05-13-2004

Well I lied, I’m back again.

I can access my control panel easy enough when I use domain.com/system/ however if I use admin.php to mask the control panel I get the same error as above - I have no idea why this would show up as it doesn’t seem to be related.

Warning: require_once(modules/structure/mod.structure.php) [function.require-once]: failed to open stream: No such file or directory in D:\xampp server\htdocs\path\to\extensions\ext.structure_ext.php on line 5

Fatal error
: require_once() [function.require]: Failed opening required 'modules/structure/mod.structure.php' (include_path='.;D:\xampp server\php\pear\') in D:\xampp server\htdocs\path\to\extensions\ext.structure_ext.php on line 5

 Signature 

CreateSean - My journey to pro web designer
currently improving my CSS, XHTML, JQuery & photoshop kung fu skills
I am the poster formally known as The Linguist.

Profile
 
 
Posted: 18 October 2008 12:55 PM   [ Ignore ]   [ # 141 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  172
Joined  07-16-2005

@Sean - saw your tweet - did you get everything working then? http://twitter.com/CreateSean/statuses/964779196

 Signature 

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

+ Travis Schmeisser

nGen Works

+ rockthenroll

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

Structure: a new way to build ExpressionEngine sites

Profile
 
 
Posted: 18 October 2008 05:03 PM   [ Ignore ]   [ # 142 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1642
Joined  05-13-2004

rockthenroll,
yeah it’s installed though accessing the CP via masked admin.php gives me the error in my post above yours.

anyhow I’ve looked at the module and I’m not “getting it”, are there any tutorials or example usage anywhere?

 Signature 

CreateSean - My journey to pro web designer
currently improving my CSS, XHTML, JQuery & photoshop kung fu skills
I am the poster formally known as The Linguist.

Profile
 
 
Posted: 18 October 2008 08:11 PM   [ Ignore ]   [ # 143 ]  
Summer Student
Total Posts:  20
Joined  12-22-2007

has anyone wrote a function for mod.strucutre.php that will print the entire hierarchy given a specific root note? 

like nav_sub, but printing all children?

thanks !

edit: i did it by modifying the nav_main function listed earlier in the thread.

Profile
 
 
Posted: 19 October 2008 07:55 PM   [ Ignore ]   [ # 144 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  172
Joined  07-16-2005

@Sean screencasts to come!

 Signature 

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

+ Travis Schmeisser

nGen Works

+ rockthenroll

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

Structure: a new way to build ExpressionEngine sites

Profile
 
 
   
8 of 14
8
 
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: 26
Total Topics: 81864 Total Anonymous Users: 17
Total Replies: 440101 Total Guests: 183
Total Posts: 521965    
Members ( View Memberlist )
Newest Members:  bjmohrAqua193Bios Elementmjpoteetguimogranwelshmrcfthenetmonkeybenekwhobutsb