Keyword

User Extended Fields Plugin

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 3 months ago #136620 by Krikor Boghossian
Replied by Krikor Boghossian on topic User Extended Fields Plugin
Please apply this patch github.com/joomlaworks/k2/pull/226
and let me know if that works for you.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • David Raza
  • David Raza's Avatar Topic Author
  • Offline
  • New Member
  • Welcome to my presence!
More
9 years 3 months ago #140200 by David Raza
Replied by David Raza on topic User Extended Fields Plugin
Hi Krikor

I added the css styles as per your patch and while this improved things a little, it is still a very simple block layout and lacks further formatting to make the labels/fields inline etc.

I have added some css to improve this but when I add a class to the xml file, the class is only being added to the input fields and not the label.
Is this correct?

Looking at the source I see the following:
<label id="address-lbl" for="address" class="">Address</label>
<input type="text" name="plugins-[userExtendedFieldsaddress]" id="address" value="" class="rw-input" size="40"/>

Do you know how I can add a class to the label through xml?

At the moment I am simply styling using the label and input classes but would like more control.

While I appreciate that the extended fields plugin is free, it would have made sense to have it output the same structure as the core k2 forms so that the look is consistent which is what I am trying to achieve.

Thanks
David

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 3 months ago #140231 by Krikor Boghossian
Replied by Krikor Boghossian on topic User Extended Fields Plugin
You can control the label by enhancing the css snippet I posted.
The two lines that where added control the plugin's input and label elements in the user's forms.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum