@New Tribes Mission @Jorge In order to fix the “news” -> “news-1” problem, I first tried deleting the entry altogether and making it Unmanaged in Structure. This didn’t do it, so I looked at the serialized data in exp_sites.site_pages and, as suggested, brought it into PHP and removed the empty keys, and put the serialized data back into mysql – this worked. I’ve emailed Travis about this and hopefully a solution can be found.
I am having the same problem where my settings are disappearing, I tried following the fix for it, but I don’t understand what to do:
Settings not sticking: Issue was the CP tab that had been added. The tab was created after submitting the settings form, so it was passing P=admin_settings_submit which meant every time the Structure tab was loaded it ran a function to erase all settings.
Also, when I try to uninstall, it stays installed.
Edit: I think I understand now, but even when I go directly to Modules and then Structure and set my settings, it still loses the settings.
Edit: Figured out my problem. It ended up being some Safari plugins, specifically I think it was Evernote.
Im having problems getting child pages to link correctly in search. It wants to link it to
http://www.mysite.com/childpage
instead of
http://www.mysite.com/parent/childpage
Anyone have a fix for this or have similar issues?
Solved: if you find yourself with this problem you should use a combination of conditional statements as well as using
<a href="http://{page_uri}">{title}</a>
instead of
<a href="http://{auto_path}">{title}</a>
explained here http://expressionengine.com/docs/modules/weblog/variables.html#var_page_uri
I just posted this on Jambor-ee so apologies for the duplicate but here goes -
For each listing entry, do I need to add in the detail template to the Page URL input field?
For example I have a static (index) entry called News and I want each listing entry to go to news/detail.
But if I create a new news entry, the Structure URL just says news/ followed by the input field.
Is there a way to force this to news/detail/ followed by the input field or is this not how it’s supposed to behave?
Like @philfreo, @New Tribes Mission, and @Jorge I was having issues with the ‘-1’ showing up in my Structure URIs. I asked @philfreo for a bit of help, which was a big timesaver. I took what he gave me a turned it into a PHP script. Drop your exp_sites.site_pages record into the $serialized_data variable and load the page. It will show you the serialized data, then the unserialized data, then it will unset any blank uris or templates and finally it will spit out the new serialized data.
Just a quick stopgap until this gets fixed.
Feature requests for next version:
Edit: okay, i’m a dork on one of these – you can exclude statuses from the sitemap. But you can’t by default add classes – i had to hack the sitemap function to do that and to do a couple other things (adding a “current” class like you can in nav_main, for instance.)
@MeritMile You need to place the structure fodler from the download WITHIN your current CP theme
@viewcreative Chekc your PMs we need to see what’s up there
@pengwnfistoffury “here” class bug noted
@iain I’ve personally seen Structure managed sites with THOUSANDS of entries with no performance hit. All depends how much is being called into the template at once - that would be the same with regular EE tags.
@Firestorm Creative Studios some kind of if_children conditional is in the works
@rick.prince orderby=”structure” is not available…YET
@philfreo + @Wes Thanks for sharing, that was a crazy weird one! Never seen it and we’ll have to research a bit more to make sure it doesn’t pop up again.
@stinhambo think you’re mixing traditional templating with Structure URLs - you don’t need “detail” in the URI, but you can switch back and feed data through the normal template system if you’d like. The only place the templating system matters within the Structure publish/edit tab is to assign which template it will display through - nothing to do with the URL/URI though.
@Adrienne L. Travis duly noted, thanks!
This is a wonderful module, thank you for making it.
Some feature requests:
option to set default weblog on a per page basis in the Structure tab. Similar to how you can set a page as a listing for another weblog, except for child pages. You can already have a different weblog for an ‘overview’ or landing page and it’s children, but to set this up you need to go through the Publish menu and assign the parent entry in the structure tab.
option to show entry status in a column
Ability to ‘lock’ the top level pages from being reordered or added to.
Option to turn off 404s for non-existant child pages of structure uris; eg:
Page in structure: /about/clients/
Non-existing page returns a 404: /about/clients/europe/
It would be cool if this could just render /about/clients/ so /europe/ is available as a url segment for another purpose (such as dynamically showing entries from a category called ‘europe’). My current workaround is the following .htaccess rule which rewrites the last url segment to a query string…
RewriteRule ^about/([a-zA-Z0-9\-]+)/(.*)$ /index.php/about/$1/?c=$2 [QSA,L]
Hello,
I am using Structure in a gallery and I am getting a invalid uri error when I click on an image that links to the bigger image, with the below code:
<ul class="art-grid">
{exp:weblog:entries weblog="{mysection2}" dynamic="off" disable="categories|category_fields|member_data|trackbacks|comments" rdf="off"}
{artwork_upload}
<li><a href="http://{pages_uri}">{exp:imgsizer:size src="{art_image}" auto="165" alt="{title}"}</a>
{title}
</li>
{/artwork_upload}
{/exp:weblog:entries}
</ul>
What am i doing wrong?
Thanks!
Kevin
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.