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

New Module: Structure - Uses entries to create a page hierarchy for static and listing pages

Development and Programming

mkuplens's avatar
mkuplens
6 posts
16 years ago
mkuplens's avatar mkuplens

Good point - that RSS question was a bit of a brainfart (although my pagination is still borked)

That said, more importantly: I’m running into a bit of a stumbling block in deploying to the client: when I grant a non-superuser access to the Structure module (whether granting them install/remove access or not) it appears in the Modules list, but when clicked, shows ‘You are not authorized’.

       
rockthenroll's avatar
rockthenroll
485 posts
16 years ago
rockthenroll's avatar rockthenroll

@mkuplens You have to give them proper access under Structure » Settings. PM me if you need more help.

       
Mr.Mikey's avatar
Mr.Mikey
27 posts
16 years ago
Mr.Mikey's avatar Mr.Mikey

hmm, having problems with the ‘No Structure Data Currently Exists’ erro, any help?

Looks like it’s a great module though!

       
rockthenroll's avatar
rockthenroll
485 posts
16 years ago
rockthenroll's avatar rockthenroll

@Mr.Mikey you have to add your first pages through the publish tab once you’ve setup the weblogs to use under Structure » Settings

       
Mr.Mikey's avatar
Mr.Mikey
27 posts
16 years ago
Mr.Mikey's avatar Mr.Mikey

i cant get to structure >> Settings to assign a weblog, as it is here that I get the error.

For Example:

Modules Tab >> Structure : Error Message

:S

       
Mr.Mikey's avatar
Mr.Mikey
27 posts
16 years ago
Mr.Mikey's avatar Mr.Mikey

Ignore, I found the setting link, on my version the ‘Settings’ link was white!, only found it by highlighting the page. 😛

       
Tyssen's avatar
Tyssen
756 posts
16 years ago
Tyssen's avatar Tyssen
Follow-up to @jeffc issue above: We tested determine the error was not a Structure bug, but caused by edits to the module files he did.

I’m getting the same error when trying to drag and reorder pages, but haven’t done anything out of the ordinary in terms of settings up EE other than renaming the system folder. I’m using Structure 1.1.1 and PHP v5.2.4.

       
Adrienne L. Travis's avatar
Adrienne L. Travis
213 posts
16 years ago
Adrienne L. Travis's avatar Adrienne L. Travis

I ran into a similar issue last night and it was related to having my renamed the main (NOT the CP) index.php file.

Do you have Firefox and Firebug installed? If so, enable the console for your site and post whatever script errors it reports (PM me if you need help doing any of this). That Error issue was caused by an AJAX request not completing properly, and i implemented a quick workaround using .htaccess that I can walk you through if that’s your issue.

       
Tyssen's avatar
Tyssen
756 posts
16 years ago
Tyssen's avatar Tyssen

Yeah, I’ve renamed index.php to something else for development and it’s looking for it.

       
Adrienne L. Travis's avatar
Adrienne L. Travis
213 posts
16 years ago
Adrienne L. Travis's avatar Adrienne L. Travis

Okay. Just add this to your .htaccess file, then (note to others – this only works if you have RENAMED index.php, not if you are using extra trickery to remove it entirely. I haven’t experimented with that usecase at all.)

(For the purposes of this example, i’m assuming you’ve renamed index.php to ‘myindex’ with no extension. Obviously, change it to whatever you’ve ACTUALLY named it, including any extension you’re still using.)

# Redirect index.php for an EE addon that doesn't retrieve the renamed file
Redirect /index.php http://www.example.com/myindex/
       
Tyssen's avatar
Tyssen
756 posts
16 years ago
Tyssen's avatar Tyssen

Yep, that did it. Thanks 😊

       
mediasauce's avatar
mediasauce
14 posts
16 years ago
mediasauce's avatar mediasauce

Has anyone had any luck with SAEFs that insert into weblogs managed by Structure? When inserting into a Structure managed weblog via a SAEF, the page is just redirecting without inserting the information. If I switch the weblog to unmanaged the SAEF works. I’m not getting any PHP errors in the logs. I’ve also disable my .htaccess rewrite rules to make sure those aren’t the issue. Has anyone experienced this before and possibly found a work-around other than just not using Structure to manage the weblog?

       
Mr.Mikey's avatar
Mr.Mikey
27 posts
16 years ago
Mr.Mikey's avatar Mr.Mikey

Im trying to populate my navigation menu.

All I want is what’s on the main Structure page, but in a list rather than a table.

The navigation is the same on every page, so I don’t need it to change depending on what page your on etc, just grab all pages and their childrens pages (and their childrens pages) and display them in a nested menu.

Does anyone know of a way to do this? It seems the function has already been coded, just needs ‘sorting out’.

Would be willing to pay someone to do this.

Thanks!

       
rockthenroll's avatar
rockthenroll
485 posts
16 years ago
rockthenroll's avatar rockthenroll

@mediasauce if you make it an Asset weblog it should work. A weblog that users are submitting to makes more sense there anyway because it’s not “Page” content. That instance is one of the reasons we added that feature.

       
poThree's avatar
poThree
50 posts
16 years ago
poThree's avatar poThree

I’m having some trouble figuring out how to get the pagination working with the structure plugin. I’m using the following code (which is outside of my other weblog entries tag that is displaying the content for the page):

{exp:weblog:entries weblog="weblog_1|weblog_2" dynamic="off" status="open" limit="1"}
   ...page content is generated in here
{/exp:weblog:entries}

{exp:structure:paginate parse="inward" show_page_total="yes"}
   {exp:weblog:entries weblog="weblog_1|weblog_2" dynamic="off" limit="1" offset="0"}
   {/exp:weblog:entries}
{/exp:structure:paginate}

I was also plaing with something like this to see if dynamic was causing the issue:

{exp:weblog:entries weblog="weblog_1|weblog_2" {if segment_1} dynamic="on" {if:else}dynamic="off"{/if} status="open" limit="1"}

Lastly, are the pagination URLs supposed to end with “/?page=1” and so on?

       
First 24 25 26 27 28 Last

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.