Sorting Main- and Custom Fields into each other

  • lisaundgiorgio
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 2 weeks ago #15224 by lisaundgiorgio
Sorting Main- and Custom Fields into each other was created by lisaundgiorgio
I got this already solved in a seperate post, but I think this could be helpful to more than just me.
What I mean is that you can sort both required fields and custom fields into each other. A possibility to have the whole list (required+custom) and a sorting possibilty for every field like the ordering option with the custom fields.

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

More
12 years 2 weeks ago #15248 by FranckD
Hello lisaundgiorgio,

I could not agree more with you. this is an absolute must have feature

+ One should have the ability to select standard and custom fields per campains

Would you consider sharing your code?



Best Regards

FranckD

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

  • lisaundgiorgio
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 1 week ago #15415 by lisaundgiorgio
Replied by lisaundgiorgio on topic Re: Sorting Main- and Custom Fields into each other
What I did is the following:
In the component views/register/tmpl/default.php I commented out where the loop puts in alle custom fields and set on every desired position this code:
Code:
<tr> <td class="title_cell"><?php echo JText::_('Title'); ?><span class="required">*</span></td> <td><?php echo $this->fieldsOutput['eb_title'] ; ?></td> </tr>

You have to set the required-span only there where you have required fields and replace title with your fieldnames.

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

More
12 years 1 week ago #15423 by FranckD
Thanks Lisa I will try it

Regards

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

Moderators: Tuan Pham Ngoc