[opgelost] Laatste artikel van news module op home pagina

Nederlandse ondersteuning voor CMS Made Simple

Moderator: velden

Post Reply
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Laatste artikel van news module op home pagina

Post by Rolf »

Dit zou voldoende moeten zijn

Code: Select all

{news number='1'}
Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: Laatste artikel van news module op home pagina

Post by RonnyK »

{news articleid="-1"}

Ronny
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: Laatste artikel van news module op home pagina

Post by RonnyK »

Ik zag dat Rolf en ik gelijktijdig posten....

Kort uitleg over het verschil... Rolf zijn call geeft de laatste post in summary, mijn post zorgt voor de laatste post in detail-mode.

Zie de laatste parameter in de help van News.

Ronny
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: Laatste artikel van news module op home pagina

Post by RonnyK »

Raar.... want bij mij toont die aanroep... en dat is ook wat ik uit je vraag begrepen had... Vreemd dus dat deze er bij jou anders uitziet...

http://ronnyk.dyndns.org/compufairy2/in ... ?page=test

Ronny
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: Laatste artikel van news module op home pagina

Post by RonnyK »

Andere vraag... Op welke versie draait die site? want de articleid-parameter is recentelijk ingevoerd...

Ronny
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: Laatste artikel van news module op home pagina

Post by RonnyK »

ZOu niet moeten kunnen.... ZOu je me anders eens de template willen maillen + de HTML can de pagina, dus zodat alles zichtbaar is...

ROnny
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: [opgelost] Laatste artikel van news module op home pagina

Post by RonnyK »

Sven,

volgens mij is dit de officiele aanroep, alleen blijkt het soms ook zonder de action=detail te werken. Dus zoals je het nu aanroept, hoort het en werkt het ;)

Ronny
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: [gedeeltelijk opgelost] Laatste artikel van news module op home pagina

Post by RonnyK »

Sven,

dan moet je misschien {news number=1 summarytemplate="een-template"} gebruiken, waarmee je de laatste krijgt. Je kunt dan direct aangeven hoe deze eruit moet zien...

Ronny
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: [gedeeltelijk opgelost] Laatste artikel van news module op home pagina

Post by RonnyK »

Ik bedoelde eigenlijk ook dat je de summary-template moet opzetten met logica van de detail-template.... Je kunt dan zelf aansturen wat je ziet. Enkel de aanroep is de summary-template, maar wat je wil zien stuur je zelf...

Ronny
Post Reply

Return to “Dutch - Nederlands”