Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
iacas Posted February 9, 2017 Posted February 9, 2017 I have a page in Pages named how-to: https://thesandtrap.com/how-to/ (or https://thesandtrap.com/how-to). I also have a folder named "how-to" with several pages inside, like: https://thesandtrap.com/how-to/mention-members, https://thesandtrap.com/how-to/embed-videos, and https://thesandtrap.com/how-to/add-an-avatar. I went just now with 4.1.18.2 to create another page/folder combo with the same name, named "newport-cup" and regardless of which I create first (the page or the folder) I'm told I cannot because another page or folder already has that name. This is limiting my ability to have a "main page" and then "sub-pages" beneath it. Why was this changed, and is there a work-around? I tried creating "newport-cup/index" (the folder and the page named "index") but that doesn't work. So what can be done? People are somewhat used to seeing a URL like https://thesandtrap.com/newport-cup/2015/results and being able to chop off "results" or "2015/results" and getting a valid page, not an error message.
opentype Posted February 9, 2017 Posted February 9, 2017 That setup is wrong. You should not make a page with the same URL as the folder. You must make ONE page inside the folder the default page. That gives you all you need and also removes the error message when you call the folder directly.
iacas Posted February 9, 2017 Author Posted February 9, 2017 2 minutes ago, opentype said: That setup is wrong. You should not make a page with the same URL as the folder. You must make ONE page inside the folder the default page. That gives you all you need and also removes the error message when you call the folder directly. Yep, that's right, that solves it. I feel like the "default page for this directory" feature wasn't always there or something… because I remember trying this before and solving it by creating a file and directory with the same name. This approach makes more sense. Thanks.
KentT Posted February 9, 2017 Posted February 9, 2017 Just curious.... Why are you creating all those separate pages instead of creating records in a Pages database? Unless you need to put different things in the sidebar for each page, you could put all of them in one database. I'm using one database to display over 1,000 different "pages" -- really records -- with quite different formats, content and layouts. But, then I'm using categories (and subcategories) like you are using folders. Look at the Research section here to see what I mean, if interested. Here's the main directory list, showing subcategories. https://simpletractors.com/research/
iacas Posted February 9, 2017 Author Posted February 9, 2017 8 minutes ago, KentT said: Just curious.... Why are you creating all those separate pages instead of creating records in a Pages database? Unless you need to put different things in the sidebar for each page, you could put all of them in one database. I'm using one database to display over 1,000 different "pages" -- really records -- with quite different formats, content and layouts. But, then I'm using categories (and subcategories) like you are using folders. Look at the Research section here to see what I mean, if interested. Here's the main directory list, showing subcategories. https://simpletractors.com/research/ To be honest… because I don't need thousands, and because I haven't quite figured out how the Records/database stuff works. I had a contractor build out some records functionality for the home page of my site, but I've never taken the hour or so to mess around with Records/Databases and how they integrate with Pages. I've got a degree in computer science and have developed sites, mobile and desktop software, used databases, etc. so it isn't really a lack of knowledge. Except for the annoyance of having to set the sidebar widgets and things on each page individually (which I can do quickly directly on the database), creating 10-12 pages in Pages directly seems to be pretty easy. And another guy who I give permission to can do it pretty easily too without having to understand databases and Records. If you're aware of a good tutorial on how to use Pages and the database, I'm all ears (or eyes, as it may be…).
KentT Posted February 9, 2017 Posted February 9, 2017 Since you're already accustomed to creating pages, it's only one step farther. You simply add a database and an editor to the main page, then save it to create the databaset. Then you can view that database in the ACP, add and organize categories like folders within it, etc. The samples in the documentation gave me enough info to make it over the hump.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.