Home : Products : Gossamer Forum : Development, Plugins and Globals :

Products: Gossamer Forum: Development, Plugins and Globals: Re: [ellipsiiis] List of threads on home page: Edit Log

Here is the list of edits for this post
Re: [ellipsiiis] List of threads on home page
I created a global called:

chop_message

and filled it with:

sub {
$post_message = substr($post_message,0,50);
}

Then I put the following in my template:

<div>
<%loop post_loop%>
.......
.......
<%post_subject%>
.......
.......
<%chop_message%>
<%post_message%>
.......
.......
<%endloop%>
</div>

And I get the following out put:

Unable to compile 'chop_message':




Do you have any suggetions for what I might be doing wrong?

Last edited by:

hunthost: May 23, 2002, 6:07 PM

Edit Log: