Purchase a license: $65

Purchases made through PayPal. Full refunds available within 30 days.

Built for the 1.6.X branch and not yet 2.0 compatible. We're aiming for a late April 2010 release.

Questions + support for purchased licenses: support@buildwithstructure.com

Tags

Blank Extension Screen

If your extension screen is blank after installing Structure try the following:

  • Verify your PHP version is at least 5
  • Increase PHP memory_limit. In your .htaccess file, place this rule: “php_value memory_limit 16M”
  • Make sure your extension file has the permissions 755
  • Restart MySQL + Apache

Blank Screen on Publish / Edit or Structure Module Page

This is generally a PHP memory_limit issue. In your .htaccess file, place this rule: “php_value memory_limit 16M” Use a higher number if possible or the issue persists.

Conditionally Display Sub Navigation or HTML

You can conditionally display the sub navigation and/or any surrounding HTML using the following parameters with nav_sub:


{exp:structure:nav_sub hide_if_no_children='yes' wrap_start='<div id="nav_sub_container">' wrap_end='</div>'}

Displaying Child Page Content

When the {exp:structure:child_ids} tag is used with a weblog tag, you can show the current page’s children content. This feature is useful for overview pages of the current page’s children.


{exp:weblog:entries entry_id="{exp:structure:child_ids}" fixed_order="{exp:structure:child_ids}" parse="inward"}
<h3><a href="{page_uri}">{title}</a></h3>
<p>{content}</p>
{/exp:weblog:entries}

MSM Reordering Issue

If you have problems with pages not saving when reordering check your MSM settings. The problem arises when the system control panel isn’t set “URL to the root of your site” for the site actually running the EE control panel under Admin » System Administration » General Configuration. Update this domain to be the running install. If you need to use the variable {site_url} and that’s not an option you can also set the value to “/”.

Multi-Language Sites

The recommended method is to have your default language at the top level and make separate branches for your alternate languages like this:

/about
/services
/contact
/es/about
/es/services
/es/contact
/fr/about
/fr/services
/fr/contact

You can then use the nav_sub tag and either the start_from or exclude_status parameters. When using exclude_status you can assign statuses by language to control the output.

Example nav_sub code:


{if segment_1  'es' OR segment_1  'fr'}
	{!-- START FROM SEGMENT 2 IF NOT DEFAULT LANGUAGE --}
	{exp:structure:nav_sub start_from='/{segment_1}/{segment_2}'}
{if:else}
	{!-- START FROM SEGMENT 1 IF DEFAULT LANGUAGE --}
	{exp:structure:nav_sub start_from='/{segment_1}'}
{/if}

This method does not require different custom fields per language as they’re all separate pages powered by the same code and quite often the same templates.

No PATH_INFO Support

In your htaccess file use: index.php?/$1 rather than index.php/$1

Playing Nice with LG htaccess Generator

Find This Code


# Remove index.php
# Uses the "include method" 
# <a href="http://expressionengine.com/wiki/Remove_index.php_From_URLs/#Include_List_Method">http://expressionengine.com/wiki/Remove_index.php_From_URLs/#Include_List_Method</a>

Replace This


RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{1,5})$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} ^/({ee:template_groups}|{ee:pages}|members|P[0-9]{2,8}) [NC]
RewriteRule ^(.*)$ /index.php?/$1 [L]

With This Code


RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]

Other Methods

The method htaccess uses to remove index.php sometimes needs to be changed per the environment. THere are many other methods of index.php exlcusion in the EE Wiki in this article: Remove index.php from URLs

Requirements

  • PHP 5+
  • MySQL 5+
  • ExpressionEngine 1.6+ (EE 2.0 compatibility will be released in March 2010)
  • Extension: jQuery for the Control Panel (using jQuery version 1.3.2)

Site License Information

Each site license can be used on one public-facing website or intranet at a time. Each MSM-based website counts as one website. You may install Structure on an unlimited number of private, in-development websites. Full refunds are available within 30 days of purchase if you’re not satisfied.

Visiting The Structure Screen Erases My Data

Make sure you didn’t create the tab after changing settings or it will append a string that includes info to erase the settings every time you visit. Clear the tab under My Account » Customize Control Panel » Tab Manager and then revisit Modules » Structure to resave it.

Where is The Structure Tab?

You have to add custom tabs for yourself through the EE CP.

To add the Structure tab:

1) Go to Modules » Structure
2) In the top right of the CP click “New Tab”
3) Save it

Why Isn’t The “Add Page” Selector Working?

The add page selector only works if you have more than one free weblog for static pages. The weblog must be assigned as the type “Structure” under Modules » Structure » Settings and can not be used as a listing to show up within the menu.