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

FortySeven Media's avatar
FortySeven Media
130 posts
15 years ago
FortySeven Media's avatar FortySeven Media

There’s not a way to add a sub list on a secondary nav li is there? My client has broken up a page by categories and wants to have those categories as a 3rd level nav in the sidebar:

Overview Partners -Category - Category -Category Strategy Etc…

Since the whole list is spit out by Structure I don’t really see how it’s possible, but thought I’d ask. What would be completely awesome would be a sub-nav tag pair so we could control all the formatting in fine detail and allow for these kinds of customizations. Otherwise I’m just going to have to make static version of this sub-nav.

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

Structure 2 will have some additional controls for your nav, so for example you could choose to not output the <ul> in this case, and add on some additional <li>s for non-structure controlled data. Only one option of many!

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

@fortys you could also make subpages and use category=”” on the weblog tag for each one to output only that category (although it wouldn’t be dynamic as far as when new categories are added. These pages could simply be placeholders and all the entries could be managed through add/edit on the main “Partners” page.

       
Sean C. Smith's avatar
Sean C. Smith
3,818 posts
15 years ago
Sean C. Smith's avatar Sean C. Smith
Is there any chance you have any .DS_store or other similar MacOS hidden files in your Extensions directory?

Nope… nothing like that there.

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

Do the files have the proper permissions? /system/modules/structure + /system/extensions/ set to 755. Do you have an online environment its working in and if so, what’s the difference in PHP versions, etc?

       
Sean C. Smith's avatar
Sean C. Smith
3,818 posts
15 years ago
Sean C. Smith's avatar Sean C. Smith

Travis,

it seems to have sorted itself out after stopping and restarting both apache and mysql.

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

@Sean - Weird, glad it’s sorted out, definitely let me know if it happens again, please.

       
Nathan Pitman's avatar
Nathan Pitman
531 posts
15 years ago
Nathan Pitman's avatar Nathan Pitman

It would be neat if there was a FieldFrame field type that allowed you to select multiple ‘related’ pages from your site using a multi line select to be spat out in a unordered list in the current page. Just sayin. 😉

       
Jack McDade's avatar
Jack McDade
425 posts
15 years ago
Jack McDade's avatar Jack McDade
It would be neat if there was a FieldFrame field type that allowed you to select multiple ‘related’ pages from your site using a multi line select to be spat out in a unordered list in the current page. Just sayin. 😉

I’m sure you could do that with Playa 😉

       
Nathan Pitman's avatar
Nathan Pitman
531 posts
15 years ago
Nathan Pitman's avatar Nathan Pitman

But I guess that wouldn’t persist any structure URLs, or maybe it would… 😊

       
mikec964's avatar
mikec964
18 posts
15 years ago
mikec964's avatar mikec964

Thanks for this fix, Mark. This bug wreaked havoc on a site. Users were inadvertently changing weblog types left and right.

I had a problem with the entries that are marked as ‘listing’ forgetting the selected weblog when you edit the entry. The solution to this is to edit structure_admin.tpl.php line 35, add:
if ($entry['listing_wid'] > 0)
{
$edit_url .= '&structure_listing_weblog='.$entry['listing_wid'];
}
       
aimelise's avatar
aimelise
31 posts
15 years ago
aimelise's avatar aimelise

I installed 1.6.8 at http://gsis.amystoddard.com and am following the tutorial.

I have the “pages” module disabled:

I’m pointing to Google’s minified JQuery files:

All my Structure files are 755.

Yet my Structure control panel tab still looks like this:

I posted the only error I could find in Firebug.

I can’t move around any of my pages within the Control Panel. Can someone please help?

What did I do wrong?

.amy

       
Christopher Dowson's avatar
Christopher Dowson
36 posts
15 years ago
Christopher Dowson's avatar Christopher Dowson

Apologies if this has already been posted, but I’m getting the following error after installation when I click on either the publish tab, or attempt to go into structure on the modules page.

MySQL ERROR:

Error Number: 1146

Description: Table 'web107-xpression.exp__structure_settings' doesn't exist

Query: SELECT * FROM exp__structure_settings WHERE site_id = 1 AND var LIKE 'type_weblog_%' ORDER BY var ASC

I’ve followed the installation instructions, installed the extension, all that jazz. It just seems to have not populated or created the database tables required….

       
Nathan Pitman's avatar
Nathan Pitman
531 posts
15 years ago
Nathan Pitman's avatar Nathan Pitman
Thanks for this fix, Mark. This bug wreaked havoc on a site. Users were inadvertently changing weblog types left and right.
I had a problem with the entries that are marked as ‘listing’ forgetting the selected weblog when you edit the entry. The solution to this is to edit structure_admin.tpl.php line 35, add:
if ($entry['listing_wid'] > 0)
{
$edit_url .= '&structure_listing_weblog='.$entry['listing_wid'];
}

Any chance of someone at nGen confirming this fix. We’re just implementing a sizable site with a lot of listing pages and I’d like to know in advance if I need to hold off on letting the client free in the CMS if I need to apply a fix.

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

@aimelise Emailed you a follow-up: your theme folder was not placed correctly in /themes/cp_themes/default

@Nathan @mikec964 @Mark Croxton - I haven’t seen this issue if anyone can give me access to where it’s happening I’ll take a look. Looking into the code sent as well, but like I said unaware that there’s even an issue and I can’t replicate this.

Also, the module is no longer with nGen, so direct any support or fixes to me directly - thanks!

       
First 64 65 66 67 68 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.