Okay i’ve got another question here, and I think it’s unique to the way Structure forces the site layout and urls etc… or possibly the 14 hours of work a day is just screwing with my head, but i can’t figure it out.
I have a News listing with 6 categories. I want to be able to link to the News page and see just 1 of the categories as well as hit the news page itself and see everything. Since the News page can only be associated with one template, how could i go about this? It’s probably so simple it’s stupid, but the brain is on OFF right now!
Sorry it’s taken so long to get back I’m at a conference. Categories cant be dynamic through urls with structure, but there are a few other ways to use them. Separate pages that each use the category= parameter or using a query string to pass a variable for that parameter would be a couple ways.
Yeah i ended up using the category= parameter with separate templates. Not elegant, but it works. Now i’m second-guessing myself again as i should have thought about the lack of pagination…
I love this module but it might be too restrictive to be widely used in it’s current state. I always run into bizarre exceptions and surprises as i get into the site deeper and it’s hard to compensate without the whole bag o’ tricks. I’ll be keeping my eye on Structure though!
DAMN. It’s back again. After finishing the full build out of all the content, entries, templates, etc… i went to push the site to the live proofing site for the client. Most of the structure urls reset themselves to “home”, and even if i change them, each url segment is preceded by /home/. I’m taking it pretty hard right now since it’s due in the AM and don’t want to rebuild the entire site again…
Any ideas? I didn’t do anything other than simply uploading my whole site structure, importing the database dump and then fixing all url pathing settings.
AND AGAIN! After restoring the entire database, making all copy changes and formatting issues, i went to update the homepage (first entry created, no parent, no children) and it rewrote ALL OTHER PAGES structure URI’s, ruining the entire site again. It goes to client in an hour and i’m pretty much screwed.
Could it be a bug in the Structure URI automatic fill? I can’t find where in the database that field is being populated from.
The only thing i do that makes this happen is changing my “Home” entry. It was created after i installed Structure, and It doesn’t have any children. I could open the page, hit “UPDATE” not change a thing, and it will rewrite all the other pages. Could it be a bug in the Structure URI automatic fill? I can’t find where in the database that field is being populated from.
I guess it could be, but I can’t tell at this point without testing. Haver you tried deleting the home entry and seeing if it allows you to update the other URLs? Also, try making the home URL something different or naming it differently as a quick solution. Maybe “Homepage” or something. I know it’s not ideal, but it may solve your crisis.
I guess it could be, but I can’t tell at this point without testing. Haver you tried deleting the home entry and seeing if it allows you to update the other URLs? Also, try making the home URL something different or naming it differently as a quick solution. Maybe “Homepage” or something. I know it’s not ideal, but it may solve your crisis.
I can actually update other URLs now for some reason – so that’s a life saver, but renaming the page to “homepage” changes all the other page’s uri’s to, you guessed it, Homepage.
As for deleting the entry – i’m a bit afraid! I’ll do a mysql backup and give it a shot in a few minutes tho.
Copy the homepage content and try deleting it and recreating the entry. Also try changing uri to something besides home or homepage - something completely different.
Then, if that doesn’t work try editing the first/top page entry (should be something different now that “homepage” is gone) and if that updates other entries we know it’s a broader bug, but if it’s only involving that entry it must have something to do with the name/title “homepage.”
Okay i followed those steps there – i deleted it and recreated, no effect. It stays the same. I had renamed it to something_else, and that’s the uri that was appended to each segment of the rest of the site. Even if i make a new first/top page, nothing changes it. It seems unrelated to the name/title “homepage”.
Where is the structure uri data kept in the db?
But did you try editing the pages after you created a new top level one?
I want to see if it’s happening because of the first page or related to that specific entry of “home.” Meaning, when you create a new top level “This is a new page” entry does re-editing that URI after the initial save make all URIs change also?
I’m stumped after that. I can take a closer look later this week, but I know that puts you in a bind. One solution would be to leave the homepage uneditable for now if it’s screwing your deadline. I know that’s not a great option, but I was just thinking to make sure you’re covered. PM me a login if you want em to look closer, but I’d feel better if you recreated the site at a test area so I’m not working on your client site. Otherwise, we can’t test well without woryying about destroying needed data.
Just as a long shot - try removing the extra navigation plugin and see if that fixes the issue.
Thanks for sticking in there and helping find a solution. I know it’s frustrating and this is a new issue so I’m just as lost. We’ll get there!
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.