Saturday, 02 August 2014 06:35
beggarly

author name (user) vs created_by_alias (content)

Groups your news by sections or by categories

author name (user) vs created_by_alias (content)

Postby fdkid » Thu May 28, 2009 5:47 pm

Hi,

is there any way to show the created_by_alias from #__content table as an author?

On my website, the user is not always the writer of the article, thus i need to show the alias entered on the content item, instead of the user that posted the item. Hope it's possible

thanks
fdkid
Fresh Boarder
Fresh Boarder
 
Posts: 8
Joined: Tue May 26, 2009 6:50 pm

Re: author name (user) vs created_by_alias (content)

Postby chus » Sat May 30, 2009 5:11 pm

Hi!

It's no problem to add the alias option for the author, but I would like to know what would you expect the module to do whenever the alias is left blank... don't show anything or show the actual author?

Also, I figure you wouldn't be interested in linking the author to CB :?:
User avatar
chus
Administrator
Administrator
 
Posts: 455
Joined: Thu Sep 13, 2007 2:21 am
Location: Costa Rica

Re: author name (user) vs created_by_alias (content)

Postby fdkid » Sat May 30, 2009 7:10 pm

Hi, thanks for your reply.

I think if alias is empty, then it shouldn't show anything.

Right now, if I don't include the tag GN_author, it won't show it. I guess is the same for the alias? maybe not.

No, linking to its CB_profile is not desirable, unless i could assign access levels. User profiles on my website are only visible to registered and above.

thanks again

fdkid
fdkid
Fresh Boarder
Fresh Boarder
 
Posts: 8
Joined: Tue May 26, 2009 6:50 pm

Re: author name (user) vs created_by_alias (content)

Postby chus » Sun May 31, 2009 5:00 pm

Ok, I have just uploaded the module with the new "author: alias" option.

The edited files are mod_globalnews.xml and helper.php
User avatar
chus
Administrator
Administrator
 
Posts: 455
Joined: Thu Sep 13, 2007 2:21 am
Location: Costa Rica

Re: author name (user) vs created_by_alias (content)

Postby fdkid » Tue Jun 02, 2009 1:15 am

Hi chus, thanks a lot, it works great. Donation will be on the way soon. Pls give me some feedback on this post:
http://joomla.vargas.co.cr/forum?view=topic&f=10&t=2366

I'm really looking into contributing in making it possible, if you think is a good idea of course,

thanks again
fdkid
Fresh Boarder
Fresh Boarder
 
Posts: 8
Joined: Tue May 26, 2009 6:50 pm

Re: author name (user) vs created_by_alias (content)

Postby jazzbird » Sun Jun 21, 2009 6:27 pm

hello - I have the same issue, but can't find this author:alias option.. where is it hidden?
jazzbird
Fresh Boarder
Fresh Boarder
 
Posts: 9
Joined: Sun Jun 14, 2009 10:03 pm


Return to Global News



Who is online

Users browsing this forum: No registered users and 1 guest