Show username at end of page... How?
Re: Show username at end of page... How?
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!
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?
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!
Thanks to all of you!
Re: Show username at end of page... How?
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!
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?
Please use the tag {modified_date} to show the last update. The name of the updater is IMHO not saved in database.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"
Re: Show username at end of page... How?
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?
There's an interesting line 174 in admin/editcontent.php (version 0.11):
It looks like you're searching for, but I'm not a coder
...
Code: Select all
$contentobj->SetLastModifiedBy($userid);

Re: Show username at end of page... How?
Hmm... it has to be possible via a user defined tag. I mean, how can I ask the database which user is the owner without writing an mysql query? Can't I just pass an additional query object. The page does call the titles, the breadcrumbs and everything from the DB, so where would the difference be between title and username?
If I had the time, I would dig into the code and look for it, but since I'm up to my neck in work, I really appreciate any help. Thanks again!
If I had the time, I would dig into the code and look for it, but since I'm up to my neck in work, I really appreciate any help. Thanks again!
Re: Show username at end of page... How?
This is already added in SVN and will be available in 0.12. That is for News. But I think it shouldn't be difficult to make it possible to display the name of the last updater also for normal pages.


Re: Show username at end of page... How?
Well, that's good news then. DOES the DB store the updater?
Re: Show username at end of page... How?
weintaz, the editor of a page gets written to the admin log. That is where to start looking. You'll also find when it was modified and possibly other useful information.
To that end, the ever resourceful and nearly famous piratos has written some handy little user tags that do most of what you're asking. Go to the Dev Forge - http://dev.cmsmadesimple.org - and check out his vast array of goodies.
To that end, the ever resourceful and nearly famous piratos has written some handy little user tags that do most of what you're asking. Go to the Dev Forge - http://dev.cmsmadesimple.org - and check out his vast array of goodies.
Re: Show username at end of page... How?
I tried that (i.e. piratos' lastmodified) and it didn't work for me. But I'll give it another try...