Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Article display help request
Hi guys!
I am starting with textpattern and need your help to correctly construct my website.
I was playing with pages, forms for hours but without any result.
There is a picture where you can see what I want – http://files.dimasnet.com/default.gif.
You can see menu with links to page that use the same default page that will open my pages in the content <div> at center of page. At the bottom there are my news excerpts, they should be also opened in content <div> after click by them.
How should I construct this variant of website? What forms should I need and what content must these forms have?
Thank you!!
Neoformat
Offline
Re: Article display help request
Hi Dimas
Looking at the gif, you should be able to do this without any forms
For the menu you can use <txp:category_list> or <txp:section_list>
The content
<txp:article limit="1"><h1><txp:title></h1><txp:body /></txp:article>
The news
<txp:article limit="5"><h3><txp:permlink><txp:title /></txp:permlink></h3><txp:excerpt /></txp:article>
Use divs with classes/ids and css to style the output
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Article display help request
Oh thank you colak, yesterday till midnight I was also playing with that and my problem was that I used two same forms – default with <txp:body> and news with <txp:excerpt> and on the first page everything was nice – for example 3 news and 1 static article but when I clicked by title on any news than news was opened twice – in the news side and also in the content site. Thanks google I have found tutorial how to create archive and used <txp:article_custom limit=“3”> instead of loop and now it is ok. Anyway thanks a lot!
P.S. How do u know I am Dimas? :)
Last edited by neoformat (2009-07-21 05:58:30)
Offline
Re: Article display help request
neoformat wrote:
P.S. How do u know I am Dimas? :)
Your “real name” is displayed to the left of your post.
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
Pages: 1