show username on news page

3 posts by 3 authors in: Forums > CMS Builder
Last Post: June 1, 2009   (RSS)

Re: [silumanz] show username on news page

By ross - June 1, 2009

Hi there.

Thanks for posting!

There are a few different options for this one. The easiest to setup though would be to just create an author field in your system and anytime someone creates a new record, they will fill out that field.

Then, you just make the field appear on your page and that's it.

Does that sound like it would work? There are more options if that isn't quite what you are looking for :).
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/

Re: [silumanz] show username on news page

By Dave - June 1, 2009

You can also display any of the fields from the user that created the record like this:

<?php echo $record['createdBy.username']; ?>
<?php echo $record['createdBy.fullname']; ?>
etc.

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com