66 of 66
66
New Module: Structure - Uses entries to create a page hierarchy for static and listing pages
Posted: 19 April 2010 10:23 AM   [ Ignore ]   [ # 1171 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  522
Joined  07-16-2005

@Bransin We have a UI redesign in the works for page collapsing after the EE2 port is finished. Structure has pagination tags and search works the exact same as always, you just use page_uri and page_url. As far as categories, you can still use them, just not always in the traditional way you’re used to. It’s quite flexible, but I agree we need more KB articles explaining working with categories. On the list.

@illustrationdan Never seen that, make sure your system pref settings are correct and you have the CP URL filled under Structure ยป Settings if you’re using a masked CP. Try Ira’s idea as well, you egenrally have to republish when using lg htaccess generator.

 Signature 

Travis Schmeisser // rockthenroll


Structure is a powerful add-on that lets you create pages, generate navigation, manage content through a simple interface and build robust sites faster than ever.
http://buildwithstructure.com

Profile
 
 
Posted: 21 April 2010 06:53 AM   [ Ignore ]   [ # 1172 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  782
Joined  02-29-2008

Hi Travis,

I was wondering if you had a chance to look into the incompatibilities between Structure and EE v1.6.9 ...

 Signature 

Baseworks Webdevelopment


Twitter | GitHub | Devot:ee | LinkedIn


Latest add-ons
Auto Expire
Lonely Cat
Mobile
Rangee
Remember Me

Profile
 
 
Posted: 27 April 2010 12:40 PM   [ Ignore ]   [ # 1173 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  522
Joined  07-16-2005

@Wouter Updated! Download a fresh copy.

Also, we’re using Tender for support now: http://structure.tenderapp.com

 Signature 

Travis Schmeisser // rockthenroll


Structure is a powerful add-on that lets you create pages, generate navigation, manage content through a simple interface and build robust sites faster than ever.
http://buildwithstructure.com

Profile
 
 
Posted: 27 April 2010 01:39 PM   [ Ignore ]   [ # 1174 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  782
Joined  02-29-2008
rockthenroll - 27 April 2010 04:40 PM

@Wouter Updated! Download a fresh copy.

Also, we’re using Tender for support now: http://structure.tenderapp.com

Awesome! Thanks for the quick service…

 Signature 

Baseworks Webdevelopment


Twitter | GitHub | Devot:ee | LinkedIn


Latest add-ons
Auto Expire
Lonely Cat
Mobile
Rangee
Remember Me

Profile
 
 
Posted: 28 April 2010 02:39 PM   [ Ignore ]   [ # 1175 ]  
Summer Student
Total Posts:  10
Joined  04-07-2010

I was wondering if there is any way to include something in the navigation that isn’t built into structure? For example, I have two weblogs. One utilizes structure, the other doesn’t. In my nav for the one that uses structure I want to include a static link in the full_nav to a page in the other weblog. Any ideas how to accomplish this?

Profile
 
 
Posted: 28 April 2010 05:52 PM   [ Ignore ]   [ # 1176 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  782
Joined  02-29-2008
wgmilleriiig - 28 April 2010 06:39 PM

I was wondering if there is any way to include something in the navigation that isn’t built into structure? For example, I have two weblogs. One utilizes structure, the other doesn’t. In my nav for the one that uses structure I want to include a static link in the full_nav to a page in the other weblog. Any ideas how to accomplish this?

I’m assuming your other weblog uses the default group/template way? You could add an empty page in structure that points to the right group/template (modify the page_uri in the structure tab). I’ve made a habit of including most of my pages in Structure, even if I’m not using it to display it’s content.

 Signature 

Baseworks Webdevelopment


Twitter | GitHub | Devot:ee | LinkedIn


Latest add-ons
Auto Expire
Lonely Cat
Mobile
Rangee
Remember Me

Profile
 
 
Posted: 28 April 2010 07:14 PM   [ Ignore ]   [ # 1177 ]  
Summer Student
Total Posts:  10
Joined  04-07-2010

You are correct in the assumption of the default group/template way. Your solution is actually exactly what I needed, however, unless it’s the root of the other weblog it is stripping out any forward slashes. I’m trying to link to calendar/category/all_events, but when I save it ends up as calendarcategoryall_events.

My other dilemna is the need to create a menu link to a pdf file. I’m assuming this can’t be done using the method above since it’s not another weblog, but rather an actual file. Is there any way to inject a static link to a file into the full_nav?

Profile
 
 
Posted: 30 April 2010 02:37 PM   [ Ignore ]   [ # 1178 ]  
Summer Student
Total Posts:  1
Joined  08-13-2009
/** -------------------------------------
/**  Tag: uri
/** 
/**  Returns a uri for the passed entry_id.
/** -------------------------------------*/
function uri()
{
    
global $PREFS$TMPL$FNS;

    
// Retrieve entry_ids to find uri for
    
$entry_id $TMPL->fetch_param('entry_id');
    
    
// Get site pages data
    
$site_pages $PREFS->ini('site_pages');
        
    
// Get all pages
    
$pages $this->get_data();
    
    
// Make sure array indices are incremental (0..X)
    
$pages array_values($pages);
    
$home trim($FNS->fetch_site_index(00), '/');
    
    
$page_uri $site_pages['uris'][$entry_id];    
    
$item_uri $FNS->remove_double_slashes($home $page_uri);
    
    return 
$item_uri;

I wrote this method to use for search results so I can find the URI of a structure entry.  Feel free to use it Travis. 

I also had some questions about Structure licensing, any chance you could shoot me an email at turner (at) visionpointmarketing [dot] com?

Thanks!

Profile
 
 
Posted: 25 May 2010 08:07 AM   [ Ignore ]   [ # 1179 ]  
Summer Student
Total Posts:  8
Joined  05-17-2010

Hi All!

I’ve just installed Structure, following all of the instructions.

Looks fine on the admin side of things, and I have made sure its using a specific template within the settings.

However, when I view the page, EE is trying to find another template to make use of, and then when it does not find it, it reverts to using the site/index template.

Under template debugging, i get the following:

(0.000013) - Begin Template Processing -
(0.000142) URI: /about/
(0.000153) Path.php Template: /
(0.000169) Retrieving Template
(0.000181) Parsing Template URI
(0.005642) Showing index. Template not found: about
(0.005665) Retrieving Template from Database: site/index
(0.008596) Template Found

I want Structure to use a specific template, in this case site/static - which exists.

Anyone know what I’m doing wrong?

Thanks in advance!

Profile
 
 
Posted: 25 May 2010 10:57 AM   [ Ignore ]   [ # 1180 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  522
Joined  07-16-2005

Are you sure your htaccess file is correct? Open a ticket here for more help: https://structure.tenderapp.com

 Signature 

Travis Schmeisser // rockthenroll


Structure is a powerful add-on that lets you create pages, generate navigation, manage content through a simple interface and build robust sites faster than ever.
http://buildwithstructure.com

Profile
 
 
Posted: 30 June 2010 12:14 PM   [ Ignore ]   [ # 1181 ]  
Summer Student
Total Posts:  4
Joined  07-04-2009

UPDATED: An upgrade to Structure 2.1.1 fixed the issue.


Anyone using Structure 2.0.7 and Solspace User 3.1.1? Im getting this error below when trying to display a registration form. Not sure this is the right place to post but structure is the one throwing the error. Registration code below also. This code was in a normal template (which was working). I was not using structure but then I added a structure page and assigned it this template then started getting the error. Deleted the structure entry and created a new template but no dice…it still remains.

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: list_item_id

Filename: structure/mod.structure.php

Line Number: 204

{exp:user:register form:name="register" return="user/sign_up" username_override="yes"}
          Name
<br /><input type="text" name="screen_name" value="" maxlength="32" class="input" size="25" style="width:300px" /><br />
          
Email Address<br /><input type="text" name="username" value="" maxlength="120" class="input" size="40" style="width:300px" /><br />
          
Password<br /><input type="password" name="password" value="" maxlength="32" class="input" size="25" style="width:300px" /><br />
          
Password Confirm<br /><input type="password" name="password_confirm" value="" maxlength="32" class="input" size="25" style="width:300px" /><br />
          
{if captcha}
               
<br />{captcha}<br /><br />
               
Submit the word you see above:<br />
               <
input type="text" name="captcha" value="" size="25" maxlength="32" style="width:300px;" /><br />
          
{/if}
          
<p><input type="submit" value="Submit" class="submit" /></p>
          
{if no_results}
          
<p>You're currently logged in.</p>
          {/if} 
          {/exp:user:register} 
Profile
 
 
Posted: 01 July 2010 08:17 PM   [ Ignore ]   [ # 1182 ]  
Summer Student
Total Posts:  18
Joined  07-19-2009

Just having a problem with a structure installtion, running 1.6.8 running structure 2.1.1
I don’t have any entries under structure yet.

When try to save a new weblog or update an existing weblog

Keep getting this:

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

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 = ‘8’ GROUP BY node.lft LIMIT 1

Any Idea’s?

Profile
 
 
Posted: 05 July 2010 12:04 PM   [ Ignore ]   [ # 1183 ]  
Research Assistant
RankRankRank
Total Posts:  526
Joined  03-29-2007

first time structure user here. quick question about page_uri.
For some reason when I use the tag {page_uri} in the front end, the index.php gets ignored. meaning, my links look like www.domain.com/about. They should look like www.domain.com/index.php/about

Can anybody point me into the right direction?

Profile
 
 
   
66 of 66
66