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

benek's avatar
benek
189 posts
16 years ago
benek's avatar benek

I’m having another problem, completely unrelated to my first problem. This is on a different site.

My Structure settings won’t save properly. When I select Structure to manage my main weblog and choose a default template for it it appears to save that information, but then if I navigate away from the Structure page (to Publish for example) those settings disappear. When I publish a new entry the Structure tab is not there. Which means the only way to get new pages to show up in structure is to publish them normally, then go reset my Structure settings, then check to see if the page now shows up in Structure, then immediately click to edit it from the Structure screen, and now the Structure tab is there on the edit page. Not a very economical way to use it.

Why wouldn’t those settings stay put and how can I fix it?

       
benek's avatar
benek
189 posts
16 years ago
benek's avatar benek

My problem with Structure setting getting erased has become even worse. I’ve managed to start building the site by going back to settings and resetting them every time I needed to. The pages listed in the Structure tab would stay there once I got them to appear.

But now along with the settings every thing on the Structure page has gone. I’m getting the “getting started” message as if nothing has been published even though I’ve previously created many different top level pages (some as listings with a few entries in them).

Of course all of those entries still show up in the edit tab, they haven’t gone anywhere, but Structure can’t see them or format their URLs since the settings to manage my weblogs won’t stick.

Now I’m to the point where I can’t really do any more work until I’ve got Structure running properly as it’s so integral to how the site is built.

This is the second site in two days that development has been crippled on due to Structure not working properly (two different issues). It’s getting quite frustrating. I’d really appreciate some help if possible because I really want to use Structure for these sites.

       
28Bytes's avatar
28Bytes
192 posts
16 years ago
28Bytes's avatar 28Bytes

@benek if you don’t mind me asking who is your hosting provider. I know I had an issue like what your talking about using a different CMS on a “certain” shared hosting account. Maybe that is the problem?

       
jcrichton's avatar
jcrichton
3 posts
16 years ago
jcrichton's avatar jcrichton
Just to expand on the previous person’s issues with empty <li>s being outputted. If I use this tag:
{exp:structure:nav_sub exclude_status="No Navigation" show_level_classes="no" }
I get the following HTML
<ul id="nav-sub">
    <li><a href="/page_url/">Title text</a></li>
    <li><a href="/page_url/">Title text</a></li>
    <li><a href="/page_url/">Title text</a></li>
    <li class="last"><a href="/page_url/">Title text</a></li>
</ul>

<li class="here last"><a href="/"></li>
<li class="here last"><a href="/"></li>
<li class="here last"><a href="/"></li>
<li class="here last"><a href="/"></li>
<li class="here last"><a href="/"></li>
If I add the start_from attribute then those empty <li>s go away.

The start_from didn’t work for us, but putting an extra pipe at the end did fix it:

exclude_status="no_sub_nav|"
       
benek's avatar
benek
189 posts
16 years ago
benek's avatar benek
@benek if you don’t mind me asking who is your hosting provider. I know I had an issue like what your talking about using a different CMS on a “certain” shared hosting account. Maybe that is the problem?

The first site (with the disappearing Extension Manager after Structure install) is on a Media Temple grid server. The second site (where Structure refuses to save settings) I’m not sure about because I don’t manage the hosting, but it’s not a crappy shared host.

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

Just to keep everyone in the loop: we’re working with the few people having issues and it’s looking to be localized to environment issues and we can’t replicate any of the issues. They don’t seem to be part of overall bugs so far.

       
benek's avatar
benek
189 posts
16 years ago
benek's avatar benek
I’ve used Structure before and wouldn’t do an EE site without it now. I’m installing it on a new site today and run into a problem I don’t recall having the first few times I used it. My problem is that ext.structure_ext.php seems to be breaking the extension manager. As soon as I upload that file I cannot access my extension manager at all - it just returns a completely blank page. If I delete the file, the problem goes away and extension manager works fine. So of course this issue doesn’t allow me to install Structure or use any other extensions if it’s installed. What’s going on? Am I doing something wrong in the installation process?

This issue has been resolved thanks to help from rockthenroll. The PHP version was set to 4 instead of 5. Upgraded PHP and problem fixed. Thanks.

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

For those playing long at home and so everyone knows the software isn’t buggy:

@Adam D. - Settings not sticking: Issue was the CP tab that had been added. The tab was created after submitting the settings form, so it was passing P=admin_settings_submit which meant every time the Structure tab was loaded it ran a function to erase all settings.

@benek - Blank/broken extension page: PHP5+ is required and the environment only has 4.4.8

@benek - Settings not sticking: same issue as @Adam D. above

       
benek's avatar
benek
189 posts
16 years ago
benek's avatar benek

Thanks man you’ve been more than helpful! 😊

       
Traverse's avatar
Traverse
66 posts
16 years ago
Traverse's avatar Traverse

Hi, Is it possible to use categories with Structure?

As Structure uses the URL if I add /category/houses to the end it just doesn’t work. Am I missing something?

Thanks

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

@Traverse Structure uses absolute URLs, so you can not add additional segments or work with categories in that way.

       
28Bytes's avatar
28Bytes
192 posts
16 years ago
28Bytes's avatar 28Bytes

@rockthenroll is it possible to remove this class=”sub-level-0” from the sub-nav tag?

       
28Bytes's avatar
28Bytes
192 posts
16 years ago
28Bytes's avatar 28Bytes

Nevermind figured it out from a few posts above this one. Oh and the new sitemap tag is freaking awesome.

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

New version 1.2.6: nav_sub bug fix

http://www.ngenworks.com/software/ee/structure

       
bjsteiger's avatar
bjsteiger
87 posts
16 years ago
bjsteiger's avatar bjsteiger

I’m using the latest version of Structure and I’m trying for the life of me to figure out how to create a drop-down navigation. I just keep running into deadends - for example, I can get a second level to show but now the third or forth level because I have to be in that navigation. Any work around?

Thanks bjs

       
First 39 40 41 42 43 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.