Change layout for address fields required

  • Posts: 39
  • Thank you received: 1
8 years 11 months ago #224747

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.6

HI,
I like to change position of < * > in the address form, but I can not find the page to change.
Can you tell me, please?
Thank you

Attachments:

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

  • Posts: 82908
  • Thank you received: 13378
  • MODERATOR
8 years 11 months ago #224754

Hi,

Edit the file "custom_fields" and the file "custom_fields_boostrap" for the view "user" via the menu Display>Views and change the line:

<?php echo $this->fieldsClass->getFieldName($oneExtraField);?>
to:
<?php echo $this->fieldsClass->getFieldName($oneExtraField,true);?>
and the line:
$this->$type
to:
$this->$type,false

The following user(s) said Thank You: leonte54

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

  • Posts: 39
  • Thank you received: 1
8 years 11 months ago #224846

Thank you for your answer.
It works well, just one more thing, how can I insert a space between the end of the word and the asterisk?

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

  • Posts: 82908
  • Thank you received: 13378
  • MODERATOR
8 years 11 months ago #224859

Hi,

I guess you could add such CSS:
.hikashop_field_required_label{ margin-left: 10px; }

www.hikashop.com/support/support/documen...ize-the-display.html

The following user(s) said Thank You: leonte54

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

Time to create page: 0.063 seconds
Powered by Kunena Forum