Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » php in page

#1 2006-02-21 19:22:08

indranil
New Member
From: India
Registered: 2005-03-10
Posts: 5
Website

php in page

Hello,
my question is very simple. Can I run a simple php loop in a textpattern page, and something which involves the textpattern code?
Here’s what I want, and if there’s an easier way to do this, please point me.
I want 5 posts, each with alternating background. Now, with a php loop, this is very easy (hopefully).
But, can it be done in Txp? Thanks

Thank you in advance.
Regards


boo!

Offline

#2 2006-02-21 22:22:23

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: php in page

There are several plugins that will do an alternating background for you.

The FAQ explains how to use PHP.


Alex

Offline

#3 2006-02-22 18:10:12

indranil
New Member
From: India
Registered: 2005-03-10
Posts: 5
Website

Re: php in page

Thanks for the info. Appreciated. :)


boo!

Offline

  1. Index
  2. » Archives
  3. » php in page

Board footer

Powered by FluxBB