Show user custom field on frontpage and make it selectionable in Joomla 3Joomla 2.5 custom field with select=selected optionJoomla 3.2 Grouped List Custom Field List doesn't have SELECTED valueTranslating Joomla User MenuJoomla - create custom rewrite rulesUpdate WordPress user_meta Custom Field with post_meta Custom Field valueJoomla backend component file upload for custom componentJoomla 2.5 create user in php script without email addressCustom Joomla profile plugin registered user database table update issuesAdd custom field from plugin to joomla article loopAccess the custom fields in joomla 3

Continuous vertical line using booktabs in tabularx table?

DeclareMathOperator and widearcarrow with kpfonts

What is the length of pair of wires after twisting them around each other?

Write an interpreter for *

How to avoid the "need" to learn more before conducting research?

ICO or PNG Format?

Is there a way to unplug the Raspberry pi safely without shutting down

What gave Harry Potter the idea of writing in Tom Riddle's diary?

Can you castle with a "ghost" rook?

function evaluation - I don't get it

Is refreshing multiple times a test case for web applications?

Wherein the Shatapatha Brahmana it was mentioned about 8.64 lakh alphabets in Vedas?

n-types of the theory of natural numbers?

Is this curved text blend possible in Illustrator?

Why are Gatwick's runways too close together?

A tool to replace all words with antonyms

Can the ground attached to neutral fool a receptacle tester?

Understanding the point of a kölsche Witz

Acceptable to cut steak before searing?

Is it legal for a company to enter an agreement not to hire employees from another company?

Am I overreacting to my team leader's unethical requests?

How to mark beverage cans in a cooler for a blind person?

Plausibility of Ice Eaters in the Arctic

How to take the beginning and end parts of a list with simpler syntax?



Show user custom field on frontpage and make it selectionable in Joomla 3


Joomla 2.5 custom field with select=selected optionJoomla 3.2 Grouped List Custom Field List doesn't have SELECTED valueTranslating Joomla User MenuJoomla - create custom rewrite rulesUpdate WordPress user_meta Custom Field with post_meta Custom Field valueJoomla backend component file upload for custom componentJoomla 2.5 create user in php script without email addressCustom Joomla profile plugin registered user database table update issuesAdd custom field from plugin to joomla article loopAccess the custom fields in joomla 3






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I need to show the user's custom field in the frontend and that the user can change it. The field is a drop-down list and the intention is that it can be changed without having to enter the user profile. For the moment I have managed to get the value of the field that is assigned, but I can't render all the options to make them selectable because I appear as protected.



I have read the joomla tutorial and tried all the possibilities but I can't do what I need
https://docs.joomla.org/J3.x:Adding_custom_fields/Overrides



//This throw me the current value of the custom field for the user

JLoader::register('FieldsHelper', JPATH_ADMINISTRATOR . '/components/com_fields/helpers/fields.php');

$customFields = FieldsHelper::getFields('com_users.user', JFactory::getUser(), true);

$grAct = $customFields[0]->value;

//Tried this code to show the full options of field but nothing happens.

foreach ($this->item->jcfields as $field)

echo $field->label . ':' . $field->value;




Its posible do somthing like this for save the changes?



$form->setFieldAttribute('fieldname','required','','com_fields');



I need to show all the options of the custom field in frontend and when I change it, it saves in the user profile










share|improve this question


























  • Your question appears to have stalled without an support. Perhaps you'd like to try Joomla Stack Exchange.

    – mickmackusa
    Jun 11 at 9:46

















0















I need to show the user's custom field in the frontend and that the user can change it. The field is a drop-down list and the intention is that it can be changed without having to enter the user profile. For the moment I have managed to get the value of the field that is assigned, but I can't render all the options to make them selectable because I appear as protected.



I have read the joomla tutorial and tried all the possibilities but I can't do what I need
https://docs.joomla.org/J3.x:Adding_custom_fields/Overrides



//This throw me the current value of the custom field for the user

JLoader::register('FieldsHelper', JPATH_ADMINISTRATOR . '/components/com_fields/helpers/fields.php');

$customFields = FieldsHelper::getFields('com_users.user', JFactory::getUser(), true);

$grAct = $customFields[0]->value;

//Tried this code to show the full options of field but nothing happens.

foreach ($this->item->jcfields as $field)

echo $field->label . ':' . $field->value;




Its posible do somthing like this for save the changes?



$form->setFieldAttribute('fieldname','required','','com_fields');



I need to show all the options of the custom field in frontend and when I change it, it saves in the user profile










share|improve this question


























  • Your question appears to have stalled without an support. Perhaps you'd like to try Joomla Stack Exchange.

    – mickmackusa
    Jun 11 at 9:46













0












0








0








I need to show the user's custom field in the frontend and that the user can change it. The field is a drop-down list and the intention is that it can be changed without having to enter the user profile. For the moment I have managed to get the value of the field that is assigned, but I can't render all the options to make them selectable because I appear as protected.



I have read the joomla tutorial and tried all the possibilities but I can't do what I need
https://docs.joomla.org/J3.x:Adding_custom_fields/Overrides



//This throw me the current value of the custom field for the user

JLoader::register('FieldsHelper', JPATH_ADMINISTRATOR . '/components/com_fields/helpers/fields.php');

$customFields = FieldsHelper::getFields('com_users.user', JFactory::getUser(), true);

$grAct = $customFields[0]->value;

//Tried this code to show the full options of field but nothing happens.

foreach ($this->item->jcfields as $field)

echo $field->label . ':' . $field->value;




Its posible do somthing like this for save the changes?



$form->setFieldAttribute('fieldname','required','','com_fields');



I need to show all the options of the custom field in frontend and when I change it, it saves in the user profile










share|improve this question
















I need to show the user's custom field in the frontend and that the user can change it. The field is a drop-down list and the intention is that it can be changed without having to enter the user profile. For the moment I have managed to get the value of the field that is assigned, but I can't render all the options to make them selectable because I appear as protected.



I have read the joomla tutorial and tried all the possibilities but I can't do what I need
https://docs.joomla.org/J3.x:Adding_custom_fields/Overrides



//This throw me the current value of the custom field for the user

JLoader::register('FieldsHelper', JPATH_ADMINISTRATOR . '/components/com_fields/helpers/fields.php');

$customFields = FieldsHelper::getFields('com_users.user', JFactory::getUser(), true);

$grAct = $customFields[0]->value;

//Tried this code to show the full options of field but nothing happens.

foreach ($this->item->jcfields as $field)

echo $field->label . ':' . $field->value;




Its posible do somthing like this for save the changes?



$form->setFieldAttribute('fieldname','required','','com_fields');



I need to show all the options of the custom field in frontend and when I change it, it saves in the user profile







php joomla3.0 custom-fields






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 27 at 8:33









Irfan

6,0103 gold badges34 silver badges49 bronze badges




6,0103 gold badges34 silver badges49 bronze badges










asked Mar 26 at 12:18









CipriCipri

11 bronze badge




11 bronze badge















  • Your question appears to have stalled without an support. Perhaps you'd like to try Joomla Stack Exchange.

    – mickmackusa
    Jun 11 at 9:46

















  • Your question appears to have stalled without an support. Perhaps you'd like to try Joomla Stack Exchange.

    – mickmackusa
    Jun 11 at 9:46
















Your question appears to have stalled without an support. Perhaps you'd like to try Joomla Stack Exchange.

– mickmackusa
Jun 11 at 9:46





Your question appears to have stalled without an support. Perhaps you'd like to try Joomla Stack Exchange.

– mickmackusa
Jun 11 at 9:46












0






active

oldest

votes










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55356996%2fshow-user-custom-field-on-frontpage-and-make-it-selectionable-in-joomla-3%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes




Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55356996%2fshow-user-custom-field-on-frontpage-and-make-it-selectionable-in-joomla-3%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현