Skip to Content Skip to Menu

show delimiter field only in userlist

  • Seagul
  • Seagul
  • OFFLINE
  • Posts: 20
  • Thanks: 1
  • Karma: 0
9 years 10 months ago #255861 by Seagul
Hello,

I tried a lot of searching and coding and could not find the problem.
I just upgraded my Joomla from 2.5 auf 3.3.6, CB 1.9.1
I have a userlist with a formatted name field which I only want to show in the userlist and not in the profile.
How can I do that?

My delimiter field (is not working):
[cb:if reason="list"][firstname] [lastname][/cb:if]

This is working:
[firstname] [lastname]

Later I want to do some more advanced formatting, but I cannot get even the simple delimiter field to work in my list without showing in the profile.

Thanks
Seagul

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
9 years 10 months ago #255864 by nant
Replied by nant on topic show delimiter field only in userlist

Seagul wrote: Hello,

I tried a lot of searching and coding and could not find the problem.
I just upgraded my Joomla from 2.5 auf 3.3.6, CB 1.9.1
I have a userlist with a formatted name field which I only want to show in the userlist and not in the profile.
How can I do that?

My delimiter field (is not working):
[cb:if reason="list"][firstname] [lastname][/cb:if]

This is working:
[firstname] [lastname]

Later I want to do some more advanced formatting, but I cannot get even the simple delimiter field to work in my list without showing in the profile.

Thanks
Seagul



there is no reason = "list" functionality - wondering where you saw this.

With Cb 2.0 you can use the Layout parameters to do this - nothing similar exists for CB 191.

Please Log in or Create an account to join the conversation.

  • Seagul
  • Seagul
  • OFFLINE
  • Posts: 20
  • Thanks: 1
  • Karma: 0
9 years 10 months ago #255866 by Seagul
Replied by Seagul on topic show delimiter field only in userlist
on this page:
www.joomlapolis.com/support/tutorials/107-use-cases/18353-using-substitutions-throughout-cb

somewhere in the middle there are the following parameters:

Parameters
user
default - fields only
output - fields and tabs only ('html', 'xml', 'json', 'php', 'csvheader', 'csv', 'rss', 'fieldslist', 'htmledit')
formatting - fields and tabs only ('tr', 'td', 'div' (fields only), 'divs' (tabs only), 'span', 'none', 'table')
reason - fields and tabs only ('profile', 'register', 'list', 'edit', 'search')
...


if this does not work, how can I solve my problem?
--> I want to show a delimiter field only in the user list but not in the profile.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48482
  • Thanks: 8283
  • Karma: 1443
9 years 10 months ago - 9 years 10 months ago #255875 by krileon
Replied by krileon on topic show delimiter field only in userlist
The reason is for the field substitutions. It does not apply to IF substitutions and no where does it say or imply it does. Your IF substitution usage is invalid and won't function. For what you're wanting you should remove the IF substitution usage and move the field to a tab that is in a not shown on profile position. Now you can display your field on userlist without it displaying on profile.

I'll add some separators to the tutorial page to hopefully make this more clear.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 9 years 10 months ago by krileon.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum