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

@poThree the parameter parse=”inward” is required as stated in the docs http://www.ngenworks.com/software/ee/structure/#tag-pagination

       
jlundell's avatar
jlundell
18 posts
16 years ago
jlundell's avatar jlundell

Can I not nest weblog:entries? I’m just now experimenting with listings. My static page template looks something like this:

{exp:weblog:entries limit="1"}
...
{exp:weblog:entries dynamic="off" weblog="glossary" sort="asc" orderby="title"}
  <div class="glossary">
    <a name="{url_title}"><dt>{title}</dt></a>
    <dd>— {gloss_definition}</dd>
  </div>
{/exp:weblog:entries}
{/exp:weblog:entries}

…and that doesn’t work, unless I close the first entries block before the second one starts. That’s not so good, because I really want the listing to be dynamic content, not static in the template, and to do that I need nesting.

       
Matt Weinberg's avatar
Matt Weinberg
489 posts
16 years ago
Matt Weinberg's avatar Matt Weinberg

You’re not really supposed to use nested weblog:entries tags in the same template, except by using embeds and embedded variables. Can you switch to a setup like that?

That said, are you sure you need to nest? I use listing pages with structure and have all my content dynamic and have never needed to. Maybe if you explain your goal a bit…

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

@rockthenroll - Switching the weblog to an Asset in Structure makes the SAEF work, but I was still wanting the ability to have a specific URL for each item. I’m creating a simple event listing page and wanted users to submit events that could be reviewed by an admin and then made live by switching the status. Ideally each event would have a unique URL that linked off the event listing page. I also liked the idea of the admin being able to add/edit events by clicking the add/edit links next to my events page in Structure. I understand this isn’t currently be possible with Structure (or even the intention), but I thought I’d share where I was trying to head.

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

@jlundell same as @slapshotw said you shoudln’t nest weblog tags and I don’t know why you would NEED to in this case. If you really need the content in two places split the tag into two or use a plugin/module that let’s you share weblog data like Reeposition http://ellislab.com/forums/viewthread/37240/

       
jlundell's avatar
jlundell
18 posts
16 years ago
jlundell's avatar jlundell

I may well not need to do what I was trying to do. I’m new to this whole EE game, let alone Structure.

The site I’m building is, so far, Structured. I have five or six top-level pages, each with a weblog (is that really necessary?), and they all share a template. Two of those sections have child pages with listings, one for a glossary (with a weblog of definitions) and one for a bibliography. The bibliography has detail pages; the glossary does not, at least not yet.

Originally what I thought I’d do is to put the bibliography listing inside the weblog content for the bibliography page, and use the common template. But that can’t work without nesting. So I created a separate bibliography template (and glossary template), but that didn’t work until I un-nested it. For this particular page, that works OK, and splitting the tag should be OK too. But if there’s a more idiomatic way to do this kind of thing, I’m all ears.

       
Matt Weinberg's avatar
Matt Weinberg
489 posts
16 years ago
Matt Weinberg's avatar Matt Weinberg
Originally what I thought I’d do is to put the bibliography listing inside the weblog content for the bibliography page, and use the common template. But that can’t work without nesting.

You lost me here. Why doesn’t this work without nesting?

Also, I want to help, but let’s not hijack this thread– maybe start a new thread in how-to so that you can get input from other members of the community? I’m almost certain there’s a better way to accomplish what you’d like.

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

I installed the module added posts through the publis tab but nothing shows up in the structure tab at all any ideas?

I also get this on the settings page.

No permissible groups exist. A group must have these permissions before it will show here.

* Can access control panel
* Can access publish
* Can access edit
* Can access Structure
       
rockthenroll's avatar
rockthenroll
485 posts
16 years ago
rockthenroll's avatar rockthenroll

@PenGwnFistOfFury Assign which weblogs Structure will use under Structure » Settings

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

@Travis I did that. Still no luck.

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

404 Page?

I may be confused, but I can’t work out how to define a 404 error page (is this even doable)? At the very least a page that will display a ‘could not find that page’ type message… Right now it’s just re-rendering the homepage, which isn’t exactly idea.

       
Peter Baker's avatar
Peter Baker
49 posts
16 years ago
Peter Baker's avatar Peter Baker

Just wanted to reiterate how awesome this is. Structure is completely changing how I’m building sites, especially a new, very large, very complicated site. Hugely satisfying building it this way.

One thing that gave me a little light bulb moment; Once I stopped thinking of the weblog sections as sections, and more as content types (basically just channels to the custom field groups), it made things a lot simpler for me. Basically, for me, the ‘publish’ menu is a dropdown of new page types (ie. New Product Page, New Basic Text Page, New Biography Page), all with their own field sets, which can then go anywhere in the Structure hierarchy. Awesome.

Thanks a ton. If there was a donation button, I’d click it.

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

@Travis - I uninstalled the module then reinstalled it. I created a new field group and new custom fields and new weblog to hold my static content. Still no dice.

       
Ray Brown's avatar
Ray Brown
33 posts
16 years ago
Ray Brown's avatar Ray Brown

Hey all,

I’m getting an error right after installing Structure. I’m using EE 1.6.7 with PHP5. I was previously using the Pages module, but uninstalled it before starting the installation process for Structure.

As instructed, I uploaded the extension, language files, and module to my EE installation. Then I enabled the extension and installed the module. I have CP jQuery enabled. However, when I click on ‘Structure’ (in the modules list) to edit its settings, a page with SQL errors pops up:

MySQL ERROR: Error Number: 1146 Description: Table ‘[my_db].ee__structure_settings’ doesn’t exist Query: SELECT * FROM ee__structure_settings WHERE site_id = 1 AND var LIKE ‘type_weblog_%’ ORDER BY var ASC

I tried searching for similar issues, but didn’t find any. Any help would be appreciated. Thanks!

       
Peter Baker's avatar
Peter Baker
49 posts
16 years ago
Peter Baker's avatar Peter Baker

I just came across a bug that I was wrestling with for a couple days before realizing Structure was part of the problem. Stand Alone Entry Forms apparently cannot submit to a weblog that is managed by Structure. No error gets logged, nothing happens at all except a blank page and no entry submitted to the db. I’d love to have tried to figure out why and possibly work around it, but without a single error in the log, I don’t think I’d have much luck. As soon as I turned off the Structure management from one of the weblogs, the SAEF worked fine.

Any ideas why, or how to fix it? I’d love to have a Stand Alone Entry Form submitting to a listing weblog. Without it, that one weblog will have to live outside of Structure, and will end up being the only one, which is kind of a shame.

       
First 25 26 27 28 29 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.