Page 1 of 2
Show username at end of page... How?
Posted: Sat Oct 08, 2005 8:27 pm
by wientanz
Is there a way to create a tag that shows the username of the user that created a given article?
I certainly hope that that's an easy one...
Thanks,
Steve
Re: Show username at end of page... How?
Posted: Mon Oct 17, 2005 3:26 am
by iNSiPiD
The admin log can tell you who created and edited a page. But if you're talking about getting an author field into the News module interface then I think that's a great idea.
Should be a simple modification for the CMS gods.

Re: Show username at end of page... How?
Posted: Mon Oct 17, 2005 9:45 am
by Ted
Should it just be who added the article, or who last edited it?
Re: Show username at end of page... How?
Posted: Tue Oct 18, 2005 12:12 am
by iNSiPiD
I think an optional field at content creation time for the author's name would be ideal.
Who edits it in the future is an admin concern, not one of authorship.
Re: Show username at end of page... How?
Posted: Tue Oct 18, 2005 1:32 am
by Ted
Interesting idea.
Re: Show username at end of page... How?
Posted: Fri Oct 28, 2005 3:16 am
by iNSiPiD
Patricia, you rock my world.
Is the News module a good base then for building your own modules with this sort of functionality?
I'd love to modify it for Events with the option of just adding a few more fields like title, location, organiser etc.
Do you think this is easy enough to do?
Re: Show username at end of page... How?
Posted: Fri Oct 28, 2005 4:52 am
by iNSiPiD
Patricia, etes-vous serioux? Vous la fairiez pour moi?
Vous etes vraiment trop bonne!
Alors...en anglais a evader les erreurs.
For my Events module I would like the admin to show:
Title
Organisation
Location
Description
Contact
Begin & End date
Ca suffit?
If you can do this for me I will promise to make the Jobs module for myself! It is very similar but will also include Reference#, Salary and Closing Date.
Merci bien et prendez soin de vous!
Re: Show username at end of page... How?
Posted: Fri Oct 28, 2005 7:14 am
by iNSiPiD
No! No Google. I dredged up all my old school French and some of what I rememeber from ny travels partout France. One day I shall return!
Thank you so much, Patricia. You really tres, tres merveilleuse.
Re: Show username at end of page... How?
Posted: Sun Oct 30, 2005 10:46 pm
by iNSiPiD
That's fantastic, Patricia. I'll give it a try and see if it will work with 0.10.4. I don't want to run the beta 11 on my production site.
To answer your questions in PM:
Content=Description
Start/End Date = start and end of the event, not when it was posted.
Thanks again!
Re: Show username at end of page... How?
Posted: Mon Oct 31, 2005 2:35 pm
by Piratos
Re: Show username at end of page... How?
Posted: Mon Oct 31, 2005 3:25 pm
by wientanz
Haven't tried it yet, but looks just like the thing I was looking for. THX! This feature is absolutley perfect for online news media. I'll try it the moment my working notebook comes back from service!
Thanks to all of you!
Re: Show username at end of page... How?
Posted: Thu Jan 19, 2006 11:01 am
by wientanz
Hi everybody...
Still having trouble switching from static HTML to CMSMS on our production server. My fellow workers are a little slow transferring the content :-/ Nethertheless, it will be done! And hopefully before 1.0
A question:
I can't download the file (see link somewhere above this post).
So the question is still there: How can I display username and date of the last update of a given article? I need something like "updated by $name $surname on 12.12.2005"
Any ideas?
Thanks in advance!
Re: Show username at end of page... How?
Posted: Thu Jan 19, 2006 11:38 am
by cyberman
wientanz wrote:
So the question is still there: How can I display username and date of the last update of a given article? I need something like "updated by $name $surname on 12.12.2005"
Please use the tag {modified_date} to show the last update. The name of the updater is IMHO not saved in database.
Re: Show username at end of page... How?
Posted: Thu Jan 19, 2006 11:52 am
by wientanz
But the name of the article creator. I will contend with that if it's in any way possible.
Re: Show username at end of page... How?
Posted: Thu Jan 19, 2006 12:10 pm
by cyberman
There's an interesting line 174 in admin/editcontent.php (version 0.11):
Code: Select all
$contentobj->SetLastModifiedBy($userid);
It looks like you're searching for, but I'm not a coder

...