You’ve got options. The first is to bypass Structure completely for your events – set that weblog to unmanaged, create the proper template group for the url you want and use it that way. Or create the template group exactly the same as the event page url and use that template (as long as it’s a first or second level page) and it will MOST LIKELY work. Other options would be to try using embed variables. Take a look at this example (it’s for categories, but a similar situation): http://eeinsider.com/tips/view/structure-module-category-pages/. Let me know how you make out.
the first option is ok, but I’m try to use structure to make easy for the client.
second.. I’m not sure I understand it. You mean creating a template group called events/2008 because the url of the month is ../events/2008/08?
third.. I think I understood this. In the example EEinsider uses the {category} but I don’t need it, so I’ll make the includes like
{exp:weblog:entries weblog="articles" orderby="date" sort="asc"}
<div class="entry">
{entry_date format='%l, %F %d, %Y'}
<h2 class="title"><a href="http://{url_title_path=">{title}</a></h2>
</div>
{/exp:weblog:entries}
and I call it with
{if segment_2 == "2008"}
{embed="_inc/_html_articles" dynamic="off"}
{if:else}
{embed="_inc/_html_articles" dynamic="on"}
{/if}
fourth.. I fix it.. I edited the next month button on the calendar to link to another template with dynamic='off"
but just to my knowledge, can you tell me if my understanding of the option 2 and 3 were correct?
thanks Mirko
Any thoughts on having {exp:structure:parent_title} take a parent level? In many cases I don’t want the parent title as much as I want the “section” title. It would be great if this would take a level 1,2,3,4…etc… from the top of the tree structure as an optional param.
Thanks, Shawn
And I have yet another question.
I am having problems with the Page URL on the entries on listing pages being automatically changed.
To explain better:
Then, for some unknown reason, titles are occationally changed to what they would have been had I not converted the characters with the foreign character extension.
So a title like “frábært” turns in “frbrt” breaking navigation.
Best, Sammi
I am seeing problems where some weblogs I have created do not show up in the Publish tab. The show up if I click Publish but not in the dropdown.
Let me see if i understand this. After you create a new weblog, it does not show it up in native EE Publish area? Or the Structure dropdown?
I’m having an issue where the Structure tab isn’t showing when I publish to my static pages weblog, is anyone else experiencing this?
When you publish from the native EE Publish menu? And you’re sure that that particular weblog is set for “Structure” type in the Structure Settings?
Any thoughts on having {exp:structure:parent_title} take a parent level? In many cases I don’t want the parent title as much as I want the “section” title. It would be great if this would take a level 1,2,3,4…etc… from the top of the tree structure as an optional param.
A few good idea. I’ll make sure it gets on the list with Travis 😊 BTW, I’m now on the Structure Dev team, so you may see me in this thread more often from here on out.
I am seeing problems where some weblogs I have created do not show up in the Publish tab. The show up if I click Publish but not in the dropdown.Let me see if i understand this. After you create a new weblog, it does not show it up in native EE Publish area? Or the Structure dropdown?
Hi,
well the weblogs show up in the Publish area and Structure, but not when I hover over the Publish tab. Only some weblogs show up there.
It can’t be an access permission problem because I can post.
It is just like something causes some weblogs to be hidden in the Publish tab hover dropdown.
Best, Sammi
I think I have confirmed the bug that has been bothering me.
If you use a ‘foreign’ character in a title of an entry on a listing page then Structure will incorrectly build the Page URL. It will skip the foreign characters. It is easy to confirm this by erasing the URL and force Structure to rebuild it.
This is weird because I thought Structure would simply use the url_title of the entry. It seems like it is rebuilding from the title and not using the url_title field. Is that possible?
Best, Sammi
I think I have confirmed the bug that has been bothering me. If you use a ‘foreign’ character in a title of an entry on a listing page then Structure will incorrectly build the Page URL. It will skip the foreign characters. It is easy to confirm this by erasing the URL and force Structure to rebuild it. This is weird because I thought Structure would simply use the url_title of the entry. It seems like it is rebuilding from the title and not using the url_title field. Is that possible? Best, Sammi
I guess it has something to do with this line in the extension:
673: $url_title = strtolower($REGX->create_url_title($entry_title));
And then maybe it isn’t a Structure bug, but a bug in the Foreign character extension? Obviously the URL is created from the entry_title but the Foreign character extension never does it’s job.
Best, Sammi
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.