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

Brett DeWoody's avatar
Brett DeWoody
140 posts
15 years ago
Brett DeWoody's avatar Brett DeWoody

Very nice!

Another feature I wanted to recommend for the next version is the ability to select (or set) a default weblog for pages and sub-pages. So that its possible when adding a page (from the Structure page) to have the weblog, and its corresponding custom fields, automatically set.

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

@maodiddy Soon is all I can say. As far as subnav, if you want that to show, you need to use “pages - as in creating children pages within the hierarchy. The listings are used differently.

@bdewoody Next version!

       
maodiddy's avatar
maodiddy
25 posts
15 years ago
maodiddy's avatar maodiddy

thanks. another question - there seems to be a bug between Structure and LG-htaccess. Whereas lg-htacess will automatically regenerate the htaccess file when ee_pages are published, it does NOT do so for structure pages. So every time one publishes a new structure page, the htaccess file has to be manually regenerated from within the lg-htaccess extension settings. until the htaccess is manually regenerated, a 404 is returned when trying to access the new page.

I’ve inquired with Leevi about this but have yet to get a response. Is there anything that can be done on your end (or mine) to make it compatible with lg-htaccess in this manner?

thanks, -m

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

@maodiddy it’s something we need to resolve and hopefully after the next major release we can look into it. THere are other htaccess methods you can use in the time being if it’s stopping development. There are many methods.

       
sambo's avatar
sambo
80 posts
15 years ago
sambo's avatar sambo

I could use some advise regarding my situation. Any help is appreciated.

I am using Structure with great success for my current client. Most of his pages are just ‘static’ and then there are a few listing pages. All works wonderfully.

As I understand it, only one page can be a ‘listing’ page or any given weblog. This is of course fine most of the time but lets say that you are managing a list of recipies (as I am) it would be great if Icould:

  • Create a ‘recipies’ weblog.
  • Create a page in structure called Recipies
  • Under that page add one page for each recipy category: Fish, Meat, Vegtables ….
  • Have those pages listing pages for the recipies weblog assigning a specified category to each entry

Maybe I am not explaining this properly - we will see.

I just love to use Structure to automatically create my navigation structure. And it would be great if I could use Structure to solve my problem. But I could also solve my problem by just managing my recipies weblog manually, and on the recipies page, also manually manage the menu - and just use the categories to create the submenu for Recipies.

Best, Sammi

       
Philip Zaengle's avatar
Philip Zaengle
293 posts
15 years ago
Philip Zaengle's avatar Philip Zaengle

Having an issue when wanting members who are in a group other then the Super Admin group. I’ve given the group ‘Editors’ access to all weblogs, access to modules, and then access to the Structure Module. However whenever I login as a member who is part of the ‘Editors’ group go to the modules page and click on the structure module (which is listed there) i get the message “You are not authorized to access this page”. any ideas?

       
Eric A.'s avatar
Eric A.
14 posts
15 years ago
Eric A.'s avatar Eric A.

Tried fix offered by Jack McDade here for resolving the ongoing Structure drag and drop error. I can drag and drop pages but reordering isn’t saving. I changed permissions of all Structure dirs and files in the module, extension and cp/default directories to 755 recursively. Unfortunately this fix didn’t work for me.

I have Structure 1.3.1 installed on EE 1.6.8 build 20090915. jQuery for the CP is enabled and the settings point to the minified files at Google. All necessary JS is showing up in Firebug. I never had the Pages module installed and I don’t have the CP masked. I’ve searched extensively through all 54 pages of this post and seem to have tried all suggestions.

Any ideas? Thanks in advance.

       
Eric A.'s avatar
Eric A.
14 posts
15 years ago
Eric A.'s avatar Eric A.

Nevermind…found the problem. Structure rocks.

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

@sambo That’s an interesting use and I can see your point. That’s currently not possible, but you can still allow them to use the category tab on publish/edit and then sort them through templates (within the normal templating structure or with Structure pages).

@Philip Zaengle Did you enable “Access Structure page” through Structure » Settings?

       
sambo's avatar
sambo
80 posts
15 years ago
sambo's avatar sambo

Thank you for your time.

I like the sound of your suggestion though I don’t fully get it. I know how I can do this if I skip using Structure for this part of the webtree ( your first idea ) but I really want to do it the Structure way ( you second idea ).

So let me try to do this visually. Lets say my menu structure is like this:

  • Something
  • Something
  • Recipies
    • Fish ( Structure page /recipies/fish )
    • Meat ( Structure page /recipies/meat )

I would put the entries for fish and meat into the same weblog but let the user select a “fish” or “meat” category. Then I would create Structure pages for Fish and Meat and have them use a template that uses the last segment of the url to filter out just that category?

So if the url of a Strucure page is domain.com/recipies/fish then I add a show=”fish” to the weblog entries tag?

Obviously the users would not add entries using the Structure tab but I think this could work. Was this how you saw it?

Best, Sammi

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

Your intended page structure would work, but I’d say you have the “listing” attached to the Recipes page, where they would use the add/edit link to add new entries and the category tab on publish/edit to assign the proper category (Fish, Meat, etc.) This way they can use the Structure interface to manage their content. Through templating you could have a /recipes/ template group with fish + meat as templates that use the category parameter and dynamic=”off” on the weblog tag to display ONLY the proper category for each. To me, one of the main points besides a simple hierarchy to build with is the ease of managing content with Structure. I think the above method does that, giving them an easy way to manage the recipes, but using EE’s built in flexible templating to sort and display content as needed. If you REALLY want them all the be Structure managed you could still create those sub-pages and make templates that use the category parameter as above. Email me if you need additional help: travis [at] rockthenroll [dot] com

       
Jorge Molina's avatar
Jorge Molina
12 posts
15 years ago
Jorge Molina's avatar Jorge Molina

Good afternoon,

We have been running structure since we launched our site. This morning I attempted to access Structure from the Modules tab and I get a blank page. It appears to work fine from the Publish/Edit tabs.

I know we last accessed the module on 10/8…and as far as I have been able to determine there have been no changes to our environment. I am at a loss, any help is appreciated.

Jorge

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

@Jorge Molina Sounds Seems like something had to have changed for this to happen. Check your PMs.

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

Travis,

I just tried to install structure on my local install and when I went to enable the extension my extensions page was blank - nothing there. I removed the extension and everything returned. Just in case the download was corrupted somehow, I redownloaded structure but the extension still makes the extensions manager page all blank.

please advise.

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

Is there any chance you have any .DS_store or other similar MacOS hidden files in your Extensions directory?

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