Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [howto] How to build a Client section on your website?
lonelytraveller wrote:
However there’s just one thing that I do not fully understand, that’s the usage of the strong*stw_category_tree plug-in.
Just like to automatically generate category lists based on a “client” parent category, you are right though, you can use whatever you like for navigation, as long as you can restrict it to a particular client’s galleries…
[edit] Actually, you should post your variation as it may help someone else.
have fun!
Last edited by mrdale (2008-05-06 15:52:31)
Offline
#32 2008-05-06 20:45:17
- lonelytraveller
- Member

- From: Firenze, Italy
- Registered: 2008-04-04
- Posts: 45
Re: [howto] How to build a Client section on your website?
mrdale wrote:
Just like to automatically generate category lists based on a “client” parent category, you are right though, you can use whatever you like for navigation, as long as you can restrict it to a particular client’s galleries…
Thanks for replying so quickly. Now that I’ve read your explanation it seems quite obvious what that plug-in is for…
mrdale wrote:
[edit] Actually, you should post your variation as it may help someone else.
My variation is quite simple, but I must admit it works just because I chose to keep all the info in one page, so instead of posting a link to my only gallery I just want the client to see immediately the thumbnail gallery.
That’s why I pulled the gallery out of the navigation and put it inside my main content div. Then as I wrote I simply call the gallery form:
<txp:chh_if_data>
<txp:output_form form="client-gallery"/>
<txp:else/>
<dl><dt>You have no image galleries.</dt></dl>
</txp:chh_if_data>
However this solution is less flexible than yours.
Regarding the implementation of your technique using the MLP plugin :
I simply installed it and it worked perfectly. I just had to translate all the sentences and titles that are used in forms(i.e. in your code “You have no project updates” or “Deadlines”) creating some MLP “snippets” following the plugin documentation. Basically a snippet is just a portion of text that recurs in pages or forms (i.e. just like “Deadlines”) and that can be set to be automatically translated using the plug-in. But that’s really all I had to do.
Sorry if my english is not perfect, but I hope this can be useful.
Last edited by lonelytraveller (2008-05-06 20:51:59)
Offline
#33 2009-03-06 11:29:33
- mfos
- Member
- Registered: 2008-12-11
- Posts: 34
Re: [howto] How to build a Client section on your website?
Hi,
Seem to be having trouble with the category name being captured. No links for the image gallery are showing when I know there is an image category for the user. Could it be something to do with txp:ign_user_info?
All the comments are removed, just can’t seem to get this bit working?
Any help would be cool.
Ta
m
Offline
#34 2009-11-13 14:29:45
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: [howto] How to build a Client section on your website?
Not sure if anyone else has had this problem, but I had the same problem as mfos listed above.
To resolve it, what I had to do was:
- remove the comments (which every has said to do)
- I also had to encapsulate everything in the article-client form inside of the <txp:chh_if_data> tag
I am still testing, but thought it seems to have resolved my issues.
Thanks.
progre55
PS: Thank you to MrDale for the hard work (as well as to the plugin developers).
Last edited by progre55 (2009-11-13 21:36:47)
Offline
Re: [howto] How to build a Client section on your website?
Hello,
All I want for my client page is an image gallery and file downloads. The file downloads are working just fine, but for some reason the image gallery is not working. I’ve tripled checked to make sure the image category is correct. I also do not get a “You have no image galleries” message. Does anyone have any thoughts on this?
Offline
Re: [howto] How to build a Client section on your website?
yeah, I should update the whole freaking thing…
Offline