Skip to Content Skip to Menu

REGISTRATION & SEARCH Fields : I AM -> LOOKING FOR

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
5 years 2 months ago #313986 by krileon
I've already told you where to post the examples. The Field Title; please read my replies carefully.

These codes should be paste for both Fields no.1 & 2 ?

No, read what I've provided for you. Read the substitution tutorial below. Then adjust the examples to fit your needs.

www.joomlapolis.com/documentation/279-community-builder/tutorials/18353-using-substitutions-throughout-cb


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.

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

5 years 2 months ago #313987 by Chris041973
Replied by Chris041973 on topic REGISTRATION & SEARCH Fields : I AM -> LOOKING FOR
Our Target :

A- REGISTRATION

FIELDS 1 (DROP-DOWN SELECT) : I AM
Option 1.1 = Man
Option 1.2 = Woman

FIELDS 2 (CHECK-BOXES) : LOOKING FOR
Option 2.1 = Man
Option 2.2 = Woman

B- SEARCH (User List)

FIELDS 2 (CHECK-BOXES) : Replace "[strike]LOOKING FOR[/strike]" by "I AM"
Option 2.1 = Man
Option 2.2 = Woman

FIELDS 1 (DROP-DOWN SELECT) : Replace "[strike]I AM[/strike]" by "LOOKING FOR"
Option 1.1 = Man
Option 1.2 = Woman

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

5 years 2 months ago #313988 by Chris041973
Replied by Chris041973 on topic REGISTRATION & SEARCH Fields : I AM -> LOOKING FOR
In the Title of "I AM A" Field, we have paste the code below :
[cb:if reason="search"]I AM A[cb:else]LOOKING FOR A[/cb:else][/cb:if]

In the Title of "LOOKING FOR A" Field, we have paste the code below :
[cb:if reason="search"]LOOKING FOR A[cb:else]I AM A[/cb:else][/cb:if]

Regarding the Title, it works Great !!!
BUT "Looking for a" IS BEFORE "I am a" in the Search Users ... Please find attached the screen shot ...


Our target is "I AM" Field BEFORE "LOOKING FOR A" Field
How to swap the Field 1 & 2 in the Search User ?
Attachments:

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

5 years 2 months ago #313989 by Chris041973
Replied by Chris041973 on topic REGISTRATION & SEARCH Fields : I AM -> LOOKING FOR
Our Explanation might not be enough clear ...

Our Target :

REGISTRATION/EDIT (Field 1 is the first line):
Field 1
Field 2

SEARCH USERS (Field 2 is the first line):
Field 2
Field 1

With CB, Please could we swap Field 1 & 2 between the Registration and the search User ?
I mean not only the Title BUT swap the Fields too ???

If yes, how to do it ?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
5 years 2 months ago #313990 by krileon

How to swap the Field 1 & 2 in the Search User ?

You can't unless you change the fields order which will change it everywhere.


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.

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

5 years 2 months ago #313993 by Chris041973
Replied by Chris041973 on topic REGISTRATION & SEARCH Fields : I AM -> LOOKING FOR
OK, understood ... no need to swap Field 1 & 2, the front-end users will understand and the Logic regarding the search works well ...

We will buy the "Pro" package for "CB Query Field" because we have a list of countries and Provinces ... We don't need other plugins ...
There is a good Youtube video to understand the "CB Query Field" plugin and a tutorial for country/states : www.joomlapolis.com/documentation/18533-configuring-dynamic-usa-state-city-zip-fields-with-cb-query-field-plugin

I have just sent you a new question about the Template packages ....

Thank you for your help ...

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

Moderators: beatnantkrileon
Powered by Kunena Forum