Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#25 2009-01-29 19:23:41
- mlarino
- Member
- Registered: 2007-06-29
- Posts: 367
Re: Restaurant Guide (Filtering by...)
Thanks Bloke,
I will try to refine the ideas for the organization of all the categories etc… and will post them soon.
Thanks again for helping!!!
Offline
#26 2009-02-02 12:48:21
- mlarino
- Member
- Registered: 2007-06-29
- Posts: 367
Re: Restaurant Guide (Filtering by...)
Hi Again!
I finally have an idea for the clasification of the articles.
I will try to write it as clear as I can.
Category:
MADRID with 23 Child categories (Centro, Salamanca, Chamberí, Latina, Ciudad Lineal, Barajas… etc…) – To Classify into zones of the city
—————————————————-
Sections:
RESTAURANTS
ENTERTAINMENT
SHOPPING
BEAUTY & HEALTH
Section: RESTAURANT (Custome Fileds: Type of Food / Atmosphere / Price range)
Section: ENTERTAINMENT (Custome Fileds: Type of Entertainment)
Section: SHOPPING (Custome Fileds: Type of shopping / Category)
Section: BEAUTY & HEALTH (Custome Fileds: Type of Beauty & Health / Category)
————————————————
Custome Fileds: __(using glz_custom_fields to create lists inside each one)
Type of Food (Mexican, Italian, Japanese, etc…)
Atmosphere (Romantic, Classic, Modern, etc…)
Price range (10€-20€, 20€-30€, 30€-40€, etc…)
Type of Entertainment (Movies, Theater, Music, Drinks, Art, Tours, Attractions, etc…)
Type of shopping (Fashion, Jewlewry, Flowers, Cosmetics, Toys, Decoration, Gourmet, Books, etc…)
Type of Beauty & Health (Hairdresser, Spa, Gyms, Medical Centers etc…)
Category (Middle, High, Deluxe, etc…)
————————————————
That is my idea on how to use the Cateries, sections and custome fields to clasify all the articles on the website.
What do you guys think?
Offline
#27 2009-02-03 12:00:24
- mlarino
- Member
- Registered: 2007-06-29
- Posts: 367
Re: Restaurant Guide (Filtering by...)
Do you guys understand my explanation?
Offline
Re: Restaurant Guide (Filtering by...)
mlarino wrote:
Do you guys understand my explanation?
Yeah, looks like a plan to me. The good thing about using Category as a location is that you have the option to enhance it in future with an extra layer, e.g.
Spain
-> Madrid
-> Centro
-> Salamanca
-> ...
-> Barcelona
-> ...
Italy
-> Rome
-> ...
Filtering things across sections so visitors can look for specific types of “thing” in a particular region of the city is easy with article_custom. The custom fields are easily searchable and will help to narrow things down further. And you can reuse the custom fields across sections, which is great; perhaps using sed_section_fields to only show appropriate types as you listed above so that people can only enter the correct type of information when writing articles.
It seems like a logical way to approach it all.
I do echo jakob’s sentiment about the price ranges though. It’s fine now — and yes it’s nice to allow people to filter by an actual price — but to filter by a range of actual values is perhaps opening yourself up to a lot of work in future when the global economic climate shifts (of course you might want this for repeat business purposes!)
By employing ‘price’ as some subjective range of quality (like “cheap & cheerful”, “mid-price”, “expensive”, “luxury”) you might save yourself some work. But if the customer demands actual values, then that’s decided.
So if you enter some articles in this proposed schema does it seem to hang together ok? Do you get a good feeling that it’s extensible and can meet the (future) demands of the client? Can you display all the stuff you need from each article? If so, it’s a winner.
Then comes the fun part: the filtering!
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
#29 2009-02-03 12:38:11
- mlarino
- Member
- Registered: 2007-06-29
- Posts: 367
Re: Restaurant Guide (Filtering by...)
I am not sure id the fun part! hehe
I am a little scared what can happend when I start doing that :)
I have to show my plan to the client and show them how the back end will look so they can upload the content, It is pretty easy for them visually, thanks to glz_custom_fields and sed_section_fields.
When I get confirmation I will start posting some articles in categories etc… and see what I can do about the filtering
thanks!
Offline
Re: Restaurant Guide (Filtering by...)
mlarino wrote:
I am not sure id the fun part! hehe I am a little scared what can happend when I start doing that :)
It sounds to my untrained eye — if I may mix metaphors — that your approach works. Others may see some issues I’ve not spotted, but it seems solid to me.
If you stick with that, I’m confident that the filtering will be relatively straight forward. I’ll help where I can.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline