Expression Engine- Posting User Comments Inside a Post on Your index.php Page
Hey, I am proud to say we have some pretty smart and talented people around here.
We have a client, that requested to have the last comment posted to a particular post, display on the index.php page inside that post. (Confused? I am.)
Hmmm… after exploring the webs, the internets, and the Expression Engine knowledge base we came up empty (see this thread). Not that others hadn’t asked and tried, but we found no solutions. Evidently, this is an “EE” no-no, showing comments is for post perma link pages only.
Well I have news, James, one of our smart/talented developers, formulated a solution.
{name} | {comment_date format=’%F %j, %Y’} at {comment_date format=’%h:%i %a’}:
{exp:word_limit total=”10″}{exp:html_strip}{comment}{/exp:html_strip}{/exp:word_limit}
{/exp:query}
This will allow you to show an excerpt of the last comment in a post on the index.php page. Great job, James!
Taking Care of the Details
Of course, when you build a site for a client, it’s top priority to get the big stuff right. The look and the functionality have to be dead on. It’s critical that a client’s site works to enhance their brand and become a logical extension of the product or services that they sell. If users find a site difficult to navigate and use, it can leave a lasting impression in the mind of the user about the quality and professionalism of your company. But just as important as it is to get the big stuff right, it is as equally important to get the details correct. Paying attention to the details makes the users experience more holistic. When the details are in order at every turn, a user will find a site reinforces the core values of the company. For our latest site, Bubby’s Pie Co., this meant crafting a number of special icons, special notices, and of all things error pages.
Often error pages aren’t even an after thought in the design process but error pages are another piece of the total user experience. Creating Bubby’s Pie Co. error pages was fun because we got an opportunity to be a little cheeky and project the kind of 10 year old precociousness Bubby’s Pie Co. has a reputation for. How many restaurants mantra is, “As good as your Bubby’s . . . If she only knew how to cook!”. For nearly 15 years Bubby’s has taken their whip-smart attitude and used it, to make Bubby’s a landmark destination for the famous and almost famous in a New York neighborhood renowned four it’s for star dining.
For Bubby’s, I created custom error pages that load randomly whenever a user finds themselves off track.




bhg Announces The Launch of AG Jim Hood’s Re-election Site
bhg has officially launched the Re-elect site for Mississippi Attorney General Jim Hood. The Attorney General’s campaign site marks the launch of bhg’s Content Management System (CMS) sites. bhg plans to offer only CMS sites to it’s clients. CMS sites offer clients a complete business solution for marketing their business and will allow business’ to routinely add content to their sites to help drive Web traffic and create brand awareness.
