Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2008-11-26 15:21:34
- mrjysta
- Member
- Registered: 2008-09-22
- Posts: 89
Talent agency site <<advice>>
Hi all wondered if anyone could point us in the right direction. We are basically a talent agency and want to add all our member profiles into the CMS then create a website from this so we have a central resouce of talent, online and accessible to the public. Each member will be added as an individual article associated with a particular section(dancers, singers, etc.._) but will need different field types including the following:
Male :
Hair
Height
Chest
Waist
Shoe
Skills
Female :
Hair
Height
Bust
Waist
Hips
Shoe
Dress Size
Special Skills
Both:
+ download showreel
+ download CV
+ description/intro para
I have got the images sorted out with upm_image and galleria or something similar (lots of advice on this on here already!). But not sure have to go about customising the ‘Write’ tab so that different custom fields are displayed depending on male or female/
Alternatively do I just create male and female catagories, add all the custom fields together and just display the relevent ones with different pages/forms.
Any advice on plug-ins or where to look would be great/
Thanks
Offline
Re: Talent agency site <<advice>>
I’d set up some custom fields (you’ll need 8 or 9) covering all the different things you want to capture and set up two sections: one called “male” the other “female”. The templates can be essentially the same but use a form to display the vital statistics which determines which section you are in with the <txp:if_article_section />
tag. I’d switch it so that the categories are dancers, singers, etc (if you can and it’s not too late)
On the admin side, the sed_section_fields plugin is the one you should look at.
Female: Special Skills
…lol :-) Juggling, welding..?
Last edited by Bloke (2008-11-26 15:33:07)
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
#3 2008-11-26 15:38:41
- mrjysta
- Member
- Registered: 2008-09-22
- Posts: 89
Re: Talent agency site <<advice>>
Female: Special Skills
…lol :-) Juggling, welding..?
..haha ;-D yeah cheers for that Bloke! Was also just looking at glz_custom_fields plug-in, would this also be a good way of tackling this or a bit over-kill??
Last edited by mrjysta (2008-11-26 15:54:19)
Offline
Re: Talent agency site <<advice>>
glz_custom_fields is a great plugin because you could define lists of things or sets of checkboxes instead of having freeform text boxes for all your custom fields. But in your case — with primarily size-based info — you’re probably not going to be able to get the most out of the plugin. Of course if you run out of custom fields, that’s a different matter entirely and you should definitely use it.
As it stands, you can get away without it because Hair, Height, Waist, Shoe and (perhaps) Skills are common between each type of person. Technically you could even use a single field for Chest / Bust and simply change the label when you display the page to visitors:
<txp:if_article_section name="male">
...
<txp:if_custom_field name="chest_bust">
<li>Chest: <txp:custom_field name="chest_bust" /></li>
</txp:if_custom_field>
...
<txp:else />
...
<txp:if_custom_field name="chest_bust">
<li>Bust: <txp:custom_field name="chest_bust" /></li>
</txp:if_custom_field>
...
</txp:if_article_section>
Last edited by Bloke (2008-11-26 15:59:59)
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
#5 2008-11-26 17:28:14
- mrjysta
- Member
- Registered: 2008-09-22
- Posts: 89
Re: Talent agency site <<advice>>
Ah, nice one! yeah that would save an extra custom field!
I’m pretty much on the limit of my custom fields as it stands/
I what what your saying about switching the sections and categories, only issue is that ‘Dancers, Singers, Musicians, Fashion,’ has diff CSS/ + there will be home page for each with latest 8 profiles with a male/female tab and then profile specific page for each. these screen shots might make things clearer/
Offline
#6 2008-11-26 17:33:14
- mrjysta
- Member
- Registered: 2008-09-22
- Posts: 89
Re: Talent agency site <<advice>>
Sorry ignore what I said about the latest 8 profiles that complicates my question, it will display all profiles/ for each section.
(I will filter them later on with Coda slider / jQuery)
Offline
#7 2008-11-26 17:52:13
- mrjysta
- Member
- Registered: 2008-09-22
- Posts: 89
Re: Talent agency site <<advice>>
lol, it’s late don’t think any of my last 2 posts made any sense even to me!
I’ll have another look at it in the morning!
Offline
Pages: 1