feature request: display author avatar beside article Title

DAvatar content plugin (plg_content_davatar) lets you insert users avatars into articles and use it in different extensions.

feature request: display author avatar beside article Title

Postby baijianpeng » Wed Mar 03, 2010 12:04 pm

I am using the built-in JA-Purity template for Joomla 1.5.

I hope the Davatar plugin can display the author's avatar just beside the article Title, in the same line, left or right (maybe two options).

Could you please add this feature?

Thanks.

baijianpeng
 
Posts: 6
Joined: Wed Mar 03, 2010 11:44 am
Location: China

Re: feature request: display author avatar beside article Title

Postby Darkick » Wed Mar 03, 2010 12:16 pm

There is no opportunity to do this using standard Joomla functionality. But you can try to realize this with combinations of CSS-styles.
See also this topic.

Darkick
 
Posts: 204
Joined: Fri Sep 04, 2009 10:16 pm
Location: Russia, Ekaterinburg

Re: feature request: display author avatar beside article Title

Postby baijianpeng » Wed Mar 03, 2010 11:08 pm

I had read that topic before post here. I also tried that CSS trick before post this topic. But failed.

At present, I have following string in the parameter field filled by me:

Code: Select all
width=60|height=60


Then I modified to:

Code: Select all
width=60|height=60|style=position: absolute; margin-left: 180px;


But the author avatar still shown at the very left side.

I want to move the author avatar to the same line with the article Title (or the date/time line) because the current look is very bad, the avatar itself occupyed a single line but only need a small space on the left. There leave a big blank space beside the avatar to the right.

If you can't move the avatar to Title position, then, can you make the article text around the avatar with some paddings?

Thanks.

baijianpeng
 
Posts: 6
Joined: Wed Mar 03, 2010 11:44 am
Location: China

Re: feature request: display author avatar beside article Title

Postby Darkick » Thu Mar 04, 2010 4:48 am

Are you using avatars now at your site? Give me link and I'll try to help.

Darkick
 
Posts: 204
Joined: Fri Sep 04, 2009 10:16 pm
Location: Russia, Ekaterinburg

Re: feature request: display author avatar beside article Title

Postby baijianpeng » Thu Mar 04, 2010 4:59 am

Ok, please visit my blog at:

http://www.baijianpeng.com/blog/it-notebook/how-to-upgrade-smf-11x-to-smf-2x-forum/

Just below the creation date you can see my avatar.

I think the position is not the best.

hope you can find better solution.

Thanks.

baijianpeng
 
Posts: 6
Joined: Wed Mar 03, 2010 11:44 am
Location: China

Re: feature request: display author avatar beside article Title

Postby Darkick » Thu Mar 04, 2010 5:56 am

baijianpeng wrote:If you can't move the avatar to Title position, then, can you make the article text around the avatar with some paddings?

It's the easiest way. Set Author avatar params to (for eaxample):
Code: Select all
align=right|padding: 0 0 5px 5px; overflow: auto;



Now, let's up the avatar.
Add into /templates/ja_purity/css/template.css line:
Code: Select all
.article-tools { height: 70px; }


Set Author avatar params to
Code: Select all
align=right|style=position: relative; margin: -80px 25px 0 0


Combine and modify parameters for your better layout.

Darkick
 
Posts: 204
Joined: Fri Sep 04, 2009 10:16 pm
Location: Russia, Ekaterinburg

Re: feature request: display author avatar beside article Title

Postby baijianpeng » Thu Mar 04, 2010 6:13 am

Yes! It works!

Thank you so much!

I will introduce this plugin to more other Chinese Joomla users!

Thank you!

baijianpeng
 
Posts: 6
Joined: Wed Mar 03, 2010 11:44 am
Location: China


Return to DAvatar

Who is online

Users browsing this forum: No registered users and 1 guest