Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

create custom field.

7 years 3 months ago
  • ahmed's Avatar
    Topic Author
  • ahmed
  • Offline
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
Licenses:
JomSocial Expired

Hello
i want to make a new custom field, that i can add it in profile (and in profile registry).with ability to connect to database and store record (i want it to act like the other field),

also i want to make condition field , like country , and when type counter appear state.

7 years 3 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Ahmed,

Please you check this documentation to do it documentation.jomsocial.com/wiki/Custom_Profile_Fields , we already have this features actually, maybe you missed it? :)

thank you

7 years 3 months ago
  • ahmed's Avatar
    Topic Author
  • ahmed
  • Offline
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
Licenses:
JomSocial Expired

no i no missed , this Doc not explain what i want , what i need is to code a new kind of field , like auto fill field or search field ,i just need to know where to but my code and how .
thank you

7 years 3 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Ahmed,

To add new field this is impossible, or maybe possible if you have good knowladge with the php code :)

just a hint for you the custom code files are located on this folder /components/com_community/libraries/fields/

thank you!

7 years 3 months ago
  • ahmed's Avatar
    Topic Author
  • ahmed
  • Offline
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
Licenses:
JomSocial Expired

yes im good in php,i just ask were to add the code , and you told me ,and i ask if there is a structure for this code

7 years 3 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

You can follow the existing lib on /components/com_community/libraries/fields/ if you wanna create new fields you should have the .php file for the code, and .xml file for the config on backend..

I think, since you good on PHP so this info should be enough you can learn it by yourself, right? :)

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW