Keyword

User Extended Fields display

  • Chris Dewook
  • Chris Dewook's Avatar Topic Author
  • Offline
  • New Member
More
12 years 8 months ago #61914 by Chris Dewook
User Extended Fields display was created by Chris Dewook
Hello all.

I have installed User Extended Fields (UEF) successfully and have extended the user profile to contain all of the information I require. However I was wondering how I would go about editing the way the enhanced user page is displayed?

By default the K2 generated content (avatar, description etc) displays and then the UEF displays underneath. How would I go about placing these two separate contents side by side?

Essentially I would like to create a wrapper div which encompasses two containing divs, floating the UEF to the left and K2 to the right. Is this possible?

Thanks

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

More
12 years 5 months ago #61915 by Uldis
Replied by Uldis on topic Re: User Extended Fields display
Did you find out how to do this ?

I'm also looking through plugin files, but I don't understand what triggers location of user extended fields.

At the moment fields show right below author information I would like to place them above author.

Can someone maybe suggest how to do this ? There are just a few files in this plugin

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

More
12 years 5 months ago #61916 by Uldis
Replied by Uldis on topic Re: User Extended Fields display
Could someone please help with this ?

In default.php there is code for extended fields, but it I can't find anything that would control it's location.

only other files in this plugin are
helper.php
userExtendedFields.php
userExtendedFields.xml

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

More
12 years 5 months ago #61917 by Uldis
Replied by Uldis on topic Re: User Extended Fields display
bump

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

More
12 years 5 months ago #61918 by Uldis
Replied by Uldis on topic Re: User Extended Fields display
Anyone ?

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

More
12 years 5 months ago #61919 by Uldis
Replied by Uldis on topic Re: User Extended Fields display
Bumpy :)

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

More
12 years 5 months ago #61920 by Aimery Marsily
Replied by Aimery Marsily on topic Re: User Extended Fields display
I don't use this extention but will be in the future and after a quick look it seems that the plugin is call with the "onK2UserDisplay" so in your user.php file at the line 81 you should see the hook that show the event that have the same name => $this->user->event->K2UserDisplay

So you just have to create a DIV around that and put your CSS to customize it.

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

More
12 years 5 months ago #61921 by Uldis
Replied by Uldis on topic Re: User Extended Fields display
Thank you very much for replying!!

The code I needed to wrap inside dive and change location was in item.php afterall.
			<!-- K2 Plugins: K2UserDisplay -->
			<?php echo $this->item->event->K2UserDisplay; ?>
But thank you, I wouldn't have thought of that If you hadn't answered ! :)

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

More
12 years 5 months ago #61922 by Aimery Marsily
Replied by Aimery Marsily on topic Re: User Extended Fields display
You're welcome

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


Powered by Kunena Forum