• Hello Fabrik Community

    Fabrik is now in the hands of the development team that brought you Fabrik for Joomla 4. We have recently transitioned the Fabrik site over to a new server and are busy trying to clean it up. We have upgraded the site to Joomla 4 and are running the latest version of Fabrik 4. We have also upgraded the Xenforo forum software to the latest version. Many of the widgets you might have been used to on the forum are no longer operational, many abandoned by the developers. We hope to bring back some of the important ones as we have time.

    Exciting times to be sure.

    The Fabrik 4.0 Official release is now available. In addition, the Fabrik codebase is now available in a public repository. See the notices about these in the announcements section

    We wish to shout out a very big Thank You to all of you who have made donations. They have really helped. But we can always use more...wink..wink..

    Also a big Thank You to those of you who have been assisting others in the forum. This takes a very big burden off of us as we work on bugs, the website and the future of Fabrik.

Country Dropdown List

jasmin

New Member
1) How can we get all countries in the fabrik dropdown list, without having to create all the dropdown fields (countries) manually?

There is the Joomla Profile Plugin which I believ already has all the countries built in.

There's also many country dropdown list HTML and other code prepared on the net.

But I have no idea how we could get them into the element?

Should we perhaps route the element somehow to the Joomla Profile Plugin?


(BTW, if I need them to register like Address, Phone etc, is it to prefer to route somehow to the Joomla Profile Plugin or just create new fields in Fabrik for these user data? I have sofar used the latter option.)


SECONDARY QUESTIONS IF (1) IS ACHIEVED...

2) If this goal is solved above with having a Country Dropdown list, how would we get the users country appear as default in the list from beginning? Some Geo location?


3) If 2 is achived above, then the country telephone code should also be switched on to the right country as well.


I also have RegularLabs Pro which has the Geo Location Plugin, that could perhaps help? But doesn't Fabrik have Geo location aswell, if that is the way to succeed?
 
You don't need to populate from a database table you can just use a databasejoin element to look up such a table.
 
You gave me a clue with the DB instead of HTML/PHP List.

I solved it by pasting a list of countries directly into the Country Element in the DB, where Dropdowns are handled, without separate table.

NEXT STEP:

2) USERS COUNTRY AS DEFAULT IN DROPDOWN LIST.

How would we get the users country be set and appear as DEFAULT in the dropdown list from the beginning? Geo IPLocation?
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top