Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2008-02-20 18:52:38
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
What am i doing wrong.
Hello,
Im trying to make a new site with Tpx.
I changed the default page layout to my own layout.
and a new css named “tamara”.
Then i made a category “voorpagina”.
And after that a section “voorpagina”
with page layout to default and style to tamara.
At least i put into the page this line : ><txp:article_custom category=“Voorpagina” section=“voorpagina” />
But now i see the page layout with the dummy tekst of the default theme and not my own text.
What am i doing wrong ?
Regards,
Roelof
Offline
#2 2008-02-20 20:07:08
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: What am i doing wrong.
You also have to set section ‘Default’ (= the front page) to use your page and style for ‘voorpagina’. And I think you don’t need a category ‘voorpagina’. If you set only your section ‘voorpagina’ to be displayed on the front page, you can use <txp:article />
instead of <txp:article_custom />
on your page.
Edit: zie ook je NL topic ;)
Last edited by els (2008-02-20 20:24:16)
Offline
#3 2008-02-20 20:24:48
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
Re: What am i doing wrong.
Oke,
It worked.
What’s the best way to put a picture in a text ?
Regards,
Roelof
Last edited by roelof (2008-02-20 20:39:23)
Offline
#4 2008-02-20 22:44:43
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: What am i doing wrong.
There are three ways to put an image inside the article body:
A nice plugin to choose images while writing your article is upm_img_popper.
Or if you want to place the image before or after the article body, you can use the article image field, and txp:article_image in your article form.
Offline
Pages: 1