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

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

Here’s another thing to try: wipe all the URI fields blank, hit Save and let Structure reassign them for you. THis will be a sort of global URI reset.

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

We’re doing some quick testing and think it’s triggered by placing “/” into the URI field. Did you attempt to make the homepage URI “/” at some point?

Do the global reset as I said above, but leave your homepage set to the URI of “home” this will make your homepage accessible at “/” AND “/home” but if you use the site/default template as the template for your homepage you’ll be fine. Once all other entries are resaved your good.

We’re looking into how to fix this and will hopefully have a bug update in the next few days.

       
Jack McDade's avatar
Jack McDade
425 posts
16 years ago
Jack McDade's avatar Jack McDade

I’m leaving the homepage editable for now – luckily i’m not handing over the control panel today, just the finished site as far as the front end goes. After today i’ll make a dev version to debug with. I’ll give those two tries a shot and we’ll see what happens.

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

Cool. Let me know if that fixes it for you so we make sure we’re taking care of the same bug. Thanks!

       
Jack McDade's avatar
Jack McDade
425 posts
16 years ago
Jack McDade's avatar Jack McDade
We’re doing some quick testing and think it’s triggered by placing “/” into the URI field. Did you attempt to make the homepage URI “/” at some point?

As a matter of fact i did. Earlier on in my testing i followed someone’s suggestion of naming home “/” for some reason or another instead of just calling the entry id into a template. MAYBE it’s some lingering bug related to that…

       
IschaGast's avatar
IschaGast
56 posts
16 years ago
IschaGast's avatar IschaGast

This plugin is exactly what EE was missing. Creating a simple sub navigation that the client can order easily and also add new pages easily.

I tried the plugin this evening and it’s great BUT…

++ Wrong url’s I am busy building a site over here: http://ischagast.nl/janhekmanschool/informatie/ But when clicking the “nieuwbouw” link it goes to the wrong place. I think it’s because of the extra folder I am using but the links should get the site_url parameter I think.

++ Active link At the moment the <li> gets the class=”here” when an Item is active. In the most ideal situation, for me, not the <li> gets a class but the link is removed and it’s a Like this:

<ul>
  <li><strong>Jan Hekmanschool</strong></li>
  <li><a href="http://ischagast.nl/janhekmanschool/jhs/de_geschiedenis/">De geschiedenis</a></li>
</ul>

Or the link gets the class=”active”. Than you have more CSS control over the links and it’s easier styling.

<ul>
  <li><a href="http://ischagast.nl/janhekmanschool/jhs/" class="active">Jan Hekmanschool</a></li>
  <li><a href="http://ischagast.nl/janhekmanschool/jhs/de_geschiedenis/">De geschiedenis</a></li>
</ul>

Most ideal would be if you could change these setting just like you can with the breadcrumbs:

{exp:structure:breadcrumb separator=" : "}

Keep up the good, not good but AWSOME work!

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

@IschaGast We’re wrapping a few updates to release tomorrow or Friday that will make the subnavigation not just start from the root, but make use of your site_url setting.

If the tags aren’t working how you need you’re welcome to alter your copy to suite your needs. We like how it works now 😊

       
IschaGast's avatar
IschaGast
56 posts
16 years ago
IschaGast's avatar IschaGast
@IschaGast We’re wrapping a few updates to release tomorrow or Friday that will make the subnavigation not just start from the root, but make use of your site_url setting. If the tags aren’t working how you need you’re welcome to alter your copy to suite your needs. We like how it works now 😊

I wished my skills were that good that I could make my own copy 😉

But I have just another thing that would be great I think.

At the moment there is created <ul id=”nav_sub”> but maybe it would be nice to have <div id=nav_sub”> and that a user could insert a <h2> or something as a Structural label. Then you could position the navigation menu everywhere you want even when realigning the site. Then the Structural label would position with it and also get’s the right styling.

Another thing that would be great is that you can also get the parent page in the list if you want. The plugin now shows:

But maybe a choice between these two would be a great feature

About Us
Staff
Products
Services
Contact
About Us
Staff
- Managers
- Sales
Products
Services
Contact
       
jeffc's avatar
jeffc
30 posts
16 years ago
jeffc's avatar jeffc

Ok, my first post here so I’ll try not to blow it…

I’m using the Stucture Module and am pulling my hair out trying to understand why on my template I’m no longer getting the dynamic page information I was getting before. I have a template group called ships. In there is index and suites. When you go to the Ships page it used to have the title and summary of the five ships in than weblog. After installing Structure it no longer pulls them in. I haven’t changed anything in the template except add the breadcrumbs and subnav capabilities. I’ve made sure dynamic=”off” is not set. So here’s the code in question:

{exp:weblog:entries weblog="{my_weblog}"disable="member_data|trackbacks|categories|pagination"}
<div class="content-box">
<h2><a href="http://{title_permalink=">{title}</a></h2>
<a href="http://{title_permalink=">{ship-thumb}</a>
{ship-summary}
</div>
{/exp:weblog:entries}

I’ve set the page structure in the entries as I needed them. I’m also getting the ERROR when trying to move pages around. I’m not sure why and after reading this thread I didn’t see any solutions that worked.

Hope I don’t sound like I’m complaining - I’m not! Just tired of going in circles here on my end. I appreciate your help!

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

@jeffc You actually need dynamic off in that tag. Now that Structure is managing things and you are at a custom URL, you need to let EE know “ignore where I’m at and show this specific data.” Make sense? This will be true for any weblog data that is not assigned to that “page” within Structure.

       
jeffc's avatar
jeffc
30 posts
16 years ago
jeffc's avatar jeffc

Wow that was quick and I’m ashamed to say it worked 😊 I know I had tried using it just to try it but I must have done something else. Ok, so now that works, Thanks! And thanks for the lightning fast reply!

Do you have any idea why my sorting isn’t working? I’ve got cp_jquery installed. When I drag and drop, they don’t get saved in their new location so I’m unable to sort them.

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

Awesome! Glad that worked!

As far as reordering if you see the reorder handles it should be working. Might be a compatibility issues. Check that you have PHP5 it’s required for that.

       
jeffc's avatar
jeffc
30 posts
16 years ago
jeffc's avatar jeffc

I see the handles but I get the red ERROR after moving. This goes for existing pages and newly created pages. I’m running PHP 5.2 I read in this thread about another guy that was having an identical problem but there was not solution mentioned.

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

Do you have multiple site manager installed? That was the issue before. That’s not supported yet, but that release is coming by the end of the week.

       
jeffc's avatar
jeffc
30 posts
16 years ago
jeffc's avatar jeffc

Not yet, but in a few weeks hopefully if I can get this site wrapped up:)

       
First 11 12 13 14 15 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.