Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Re: [unixman] Sumarizing what I found...

Quote Reply
Re: [unixman] Sumarizing what I found... In reply to
Hi,

1. Thanks, we'll fix this up. It should have no effect on your system though.
2. Oops, copy and paste mistake. =)
3. This would be the cause of your other problem. You must re-install the plugin as it alters the Post table and adds a new column.
4. Can you give me an example of this?
5. Oops, we'll fix that up.

Currently we do not have a template set for MailArc specifically. It would not be too hard to do. You would create a new directory called mailarc in admin/templates directory. Then add a file called .tplinfo with:

{
inheritance => '../default'
}

Now, just add changed templates to this directory. Anything else will get loaded from the default set. You would want to replace things like:

<%post_subject%>

with:

<%trim($post_subject,100)%>

and add a global called trim:

Code:
sub {
my ($string, $len) = @_;
return substr($string, 0, $len);
}

which would trim the subject to 100 characters.

Hope that helps,

Alex
--
Gossamer Threads Inc.
Subject Author Views Date
Thread Sumarizing what I found... unixman 1540 Apr 16, 2002, 5:26 PM
Thread Re: [unixman] Sumarizing what I found...
Alex 1446 Apr 17, 2002, 11:32 PM
Thread Re: [Alex] Sumarizing what I found...
unixman 1422 Apr 19, 2002, 11:25 AM
Thread Re: [unixman] Sumarizing what I found...
Alex 1418 Apr 19, 2002, 11:29 AM
Post Re: [Alex] Sumarizing what I found...
unixman 1420 Apr 19, 2002, 11:35 AM