<TMPL_VAR content>?
Christopher Stewart
christopher.stewart at gmail.com
Wed Apr 30 05:12:44 EST 2008
Hi,
I see 3 avenues :
- using <TMPL_VAR summary>
- modifying the python code to have it generate a template variable with the
limited content (i.e. something like <TMPL_VAR content_200>)
- having planet generate a php file and assign <TMPL_VAR content> to a php
variable that can then be modified :
$entry_content = "<TMPL_VAR content>";
but you will probably have to modify the python code to have it remove the
double-quotes from the "content" variable...
Hope it helps!
Take care,
Chris
--
Christopher Stewart
HQ : http://www.stewart-explorations.net/
Blog : http://thedailypoligraf.stewart-explorations.net/
Rock : http://www.poligraf.net/
On Tue, Apr 29, 2008 at 2:53 PM, Imtiaz M. <biobrain at gmail.com> wrote:
> I am not using Venus, I am using Planet 2.0
>
> On Tue, Apr 29, 2008 at 7:29 PM, Nathan Kinkade
> <nkinkade at creativecommons.org> wrote:
> > 2008/4/29 Imtiaz M. <biobrain at gmail.com>:
> >
> >
> > > I am working on planet I want to know how I can modify <TMPL_VAR
> content>?
> > >
> > > I mean I want to limit the content to 300 or 200 words only for
> every post.
> > >
> > > Regards
> > > Imtiaz
> > > --
> > > devel mailing list
> > > devel at lists.planetplanet.org
> > > http://lists.planetplanet.org/mailman/listinfo/devel
> > >
> >
> > Maybe this filter?
> http://intertwingly.net/code/venus/filters/excerpt.py
> >
>
>
>
> --
> This email and any files transmitted with it are confidential, and are
> intended solely for the use of the individual or entity to whom they
> are addressed.
> If you have received this email in error or think you may have done
> so, you may not peruse, use, disseminate, distribute or copy this
> message. Please notify the sender immediately and delete the original
> e-mail from your system.
> --
> devel mailing list
> devel at lists.planetplanet.org
> http://lists.planetplanet.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /archives/devel/attachments/20080429/6a653309/attachment.htm
More information about the devel
mailing list