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
15 years ago
rockthenroll's avatar rockthenroll

@Steven, no the old version is no longer available to help support the time and effort the module takes to keep going

@kundi Not natively, but with some trickery it could work. You would most likely need to modify some functions to pass a string to check against. That, or make seperate pages for each language and show a different custom field based on that first segment - the pain there is you have to replicate pages under each section.

       
brianfidler's avatar
brianfidler
75 posts
15 years ago
brianfidler's avatar brianfidler

I’ve got a subnav structure that needs at least two columns (see the Programs tab here: http://www.girlscoutsaz.org … this is currently static though).

In my development mode I’ve got the following Structure tag however it only outputs to a single column:

{exp:structure:nav_sub exclude_status="closed" hide_if_no_children="yes" start_from="/programs" show_depth="2" show_level_classes="no" css_class="submenu-left" css_id="none"}

Is there a simple way to break up the resulting output into two or more columns?

thanks.

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

@bfidler It outputs the markup you see by default. To make the subnav points two columns you could float them, but otherwise you’ll need to add functionality to break them up into separated columns. You could also convert that to a single column, since they’re all on the same level.

       
brianfidler's avatar
brianfidler
75 posts
15 years ago
brianfidler's avatar brianfidler

Hey Travis,

actually there are two levels and I need the ability to use multiple columns so that the drop downs don’t fall below the fold on lower res monitors. Eventually I’ll probably need 3 columns at which point we may show only the top level items.

So is there a way to break up the results into batches, sort of how standard EE tags use limit and offset?

Or am I going to need to hack the files and program the logic myself?

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

@bdfidler You’ll need to add functionality to break them up into separated columns

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

We’re working on new navigation tags for 2.0 for EE2 and we’re interested to hear how you use the tags and how they could help you more. Behavior, code, ideas, anything - email your ideas to contact [at] buildwithstructure [dot com]. Thanks!

       
Tomaz's avatar
Tomaz
9 posts
15 years ago
Tomaz's avatar Tomaz

Several questions/ideas (note that i’m using 1.3 and will buy 2.0 if the required functionality is there): - Is it possible to add pagination somewhere else on the page (like in the sidebar - as an example), so i’m not tied to the same div. Will it be possible sometime in the future to do that (if the answer is no)? - One solution would be option ‘none’ in location parameter. - Current pagination creates a link root/sub-page/?page=2, can i modify the URL to look like root/sub-page/page/2. Not a functional requirement but it looks nicer - like the rest of my URL’s - Can ul and li tags be removed and replaced with span? If not i would recommend a wrap=”div” and wrap_item=”span” parameters so one could pick which html tags does he/she want for pagination.

Tomaz

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

@Tomaz

1) Extra tags will be made someday to customize the pagination output, but not sure it will be created to place them anywhere on the page. Possibly, but can’t promise it.

2) You could use htaccess to do that. Structure can’t allow that because each segment is a “page” and those pagination pages don’t technically exist

3) Someday

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

We’re going to leave this thread open. Support for purchased licenses is also provided through support [at] buildwithstructure [dot com] and articles for common issues will be posted here: http://buildwithstructure.com/knowledge. Support for 1.3.1 will continue for a time at the same address.

Thanks everyone!

       
chilli_group's avatar
chilli_group
12 posts
15 years ago
chilli_group's avatar chilli_group

Having an issue with 1.3.1. Whenever I try to save a new page or save an existing page.? Running EE 1.6.8. Extensions running - Jquery 1.1.1 and Structure 1.3.1

ERROR below: MySQL ERROR:

Error Number: 1064

Description: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ‘DIV 2) AS numChildren FROM exp_structure AS node INNER JO

Query: SELECT node.*, (COUNT(parent.lft) - 2) AS depth, if((node.rgt - node.lft) = 1,1,0) AS isLeaf, ((node.rgt - node.lft - 1) DIV 2) AS numChildren FROM exp_structure AS node INNER JOIN exp_structure AS parent ON node.lft BETWEEN parent.lft AND parent.rgt WHERE node.entry_id = ‘6’ GROUP BY node.lft LIMIT 1

Any Ideas as to what it could be?

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

That’s pretty open and lots of variables to check into there - check your PMs.

       
Blue Coast Web's avatar
Blue Coast Web
32 posts
15 years ago
Blue Coast Web's avatar Blue Coast Web

I’m getting the following error when trying to set up Structure 1.3.1:

PHP Notice:  Undefined variable: ret in C:\Websites\XXXXXXX\system\modules\structure\mcp.structure.php on line 262

This is my first IIS site, and while I’ve successfully used Structure several times on Unix servers, I don’t know what else to do here.

I’m running PHP5, EE 1.6.8, and Pages is disabled. Anything else I can check?

Edit: Nevermind, I figured it out. I had to set my config.php to the following:

$conf['debug'] = "0";
$conf['install_lock'] = "1";
       
Herb's avatar
Herb
224 posts
15 years ago
Herb's avatar Herb

Don’t know if this has been answered in the 62+ pages of this topic; so, I apologize if it duplicates a previous query.

If I create a weblog that will not be linked to a parent entry or weblog, structure wants to start the url as http://site.com/index.php/name_of_parent_entry; then appends to that the name of child entries.

I need to have segments that precede the parent entries name, which can be done ala the pages module. Is this doable? If so, how? I don’t want to either create dummy posts to create a link, nor do I want to pull into structure what would be called by the preceding segments.

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

@Herb You can’t append segments, the pages must be created since Structure requires absolute URLs. This is a major difference between Pages and Structure, as you have to build full paths through parent/child relationships with Structure.

       
Interfacer's avatar
Interfacer
92 posts
15 years ago
Interfacer's avatar Interfacer

Hi Travis

pre sale question for structure 2.0: Is there prev/next view functionality for articles included?

       
First 72 73 74 75 76 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.