Feature Request: Author Bios

Permalink Browser Info Environment
A client recently asked me if I could include the author biographies on their C5 site- I did it, but I think it would be a nice easy add in to the addon's code by default.

All I really had to do was include the following in ajax.php and use a custom template:
innerHTML = innerHTML.replace (/%AUTHOR_BIO%/g, post['author'].description);


and in curl.php
$innerHTML = str_replace ("%AUTHOR_BIO%", $post -> author -> description, $innerHTML);


Thought I'd pass this along if you'd like to include it!

I didn't come across a good way to pick up a gravatar for author because I don't think the author email is available via the json api, but if there's something I'm missing, getting the author email so it can be hashed for a gravatar request would also be neat.

Type: Discussion
Status: New
dosomethingdifferent
View Replies:

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.