Problemi modulo news (solved)

La discussione sul CMS Made Simple in italiano.

Moderator: magallo

Post Reply
marmelo
New Member
New Member
Posts: 8
Joined: Wed May 20, 2009 10:08 pm

Problemi modulo news (solved)

Post by marmelo »

Ciao, ho installato cmsmade simple per questo sito relativo ad un progetto di raccolta fondi per il ghana ma in homepage, ho questo msg:

Warning: Parameter dateformat is not known by module News dropped in /home/okrasard/public_html/lib/misc.functions.php on line 1359

Potreste aiutarmi?

Grazie

Marcello
Last edited by marmelo on Thu May 21, 2009 3:06 pm, edited 1 time in total.
User avatar
blast2007
Power Poster
Power Poster
Posts: 508
Joined: Wed Aug 01, 2007 5:36 pm

Re: Problemi modulo news

Post by blast2007 »

Ciao,
"1.5.2 the dateformat parameter was dropped. Check your news templates, both summary and detail, and change all "formatpostdate" to "postdate"
Dalla versione 1.5.2 il parametro dateformat è stato abbandonato. Controlla i template delle news (sia sommario che dettaglio) e cambia tutti i "formatpostdate" con "postdate"

Ad esempio se vuoi una data tipo gg/mm/aaaa scrivi {$entry->postdate|date_format:"%d/%m/%Y"} nel tuo template.

Per il futuro prova a usare search del forum, troverai rapidamente soluzioniai tuoi problemi

Metti [solved] nel titolo del post quando a posto.

Ciao
blast
marmelo
New Member
New Member
Posts: 8
Joined: Wed May 20, 2009 10:08 pm

Re: Problemi modulo news

Post by marmelo »

Ciao,
non avevo visto quei post in inglese;  scusami davvero.
Ho comunque provato a fare quello che mi hai suggerito tu ma il risultato non è cambiato.
C'è qualche altra cosa che posso fare?

Un saluto

Marcello
User avatar
blast2007
Power Poster
Power Poster
Posts: 508
Joined: Wed Aug 01, 2007 5:36 pm

Re: Problemi modulo news

Post by blast2007 »

marmelo wrote: Ciao,
non avevo visto quei post in inglese;  scusami davvero.
Nessun problema, anzi!
E' che se riesci a trovare direttamente quello che cerchi nel forum non perdi tempo ad aspettare le nuove risposte.
marmelo wrote: Ho comunque provato a fare quello che mi hai suggerito tu ma il risultato non è cambiato.
C'è qualche altra cosa che posso fare?
Posta i template delle news, o al limite il link del sito (se vuoi in PM)

Ciao
blast
marmelo
New Member
New Member
Posts: 8
Joined: Wed May 20, 2009 10:08 pm

Re: Problemi modulo news

Post by marmelo »

Ho trovato il modo di allegarli.
Davvero grazie

Marcello
Attachments

[The extension txt has been deactivated and can no longer be displayed.]

[The extension txt has been deactivated and can no longer be displayed.]

User avatar
blast2007
Power Poster
Power Poster
Posts: 508
Joined: Wed Aug 01, 2007 5:36 pm

Re: Problemi modulo news

Post by blast2007 »

Potresti postare anche la chiamata che fai del modulo news?
Ossia

Code: Select all

{news category='....' number='...' summarytemplate='....'}
forse il problema è proprio li'. I template mi sembrano a posto.

Ciao
marmelo
New Member
New Member
Posts: 8
Joined: Wed May 20, 2009 10:08 pm

Re: Problemi modulo news

Post by marmelo »

dove trovo quella che tu chiami chiamata? Ti posto tutto il template?
User avatar
blast2007
Power Poster
Power Poster
Posts: 508
Joined: Wed Aug 01, 2007 5:36 pm

Re: Problemi modulo news

Post by blast2007 »

Si ok
marmelo
New Member
New Member
Posts: 8
Joined: Wed May 20, 2009 10:08 pm

Re: Problemi modulo news

Post by marmelo »

il template, è questo qui
Attachments

[The extension xml has been deactivated and can no longer be displayed.]

User avatar
blast2007
Power Poster
Power Poster
Posts: 508
Joined: Wed Aug 01, 2007 5:36 pm

Re: Problemi modulo news

Post by blast2007 »

Per template intendo qualcosa del tipo:


{sitename} - {title}
{stylesheet}
{metadata}




  {cms_selflink dir="start" text="$sitename"}
 


  {breadcrumbs starttext='You are here' root='Home' delimiter='»'}



   

....etc
Copia e incolla cosi' senza allegare i files.

Per visualizzare nella barra laterale le news avrai scritto qualcosa tipo {news ....}.
Serve proprio che verifichi con che parametri è stato richiamato il modulo news.
marmelo
New Member
New Member
Posts: 8
Joined: Wed May 20, 2009 10:08 pm

Re: Problemi modulo news

Post by marmelo »








Progetto  Okra  Sardegna

{metadata}

{stylesheet}

{cms_selflink dir="start" rellink=1}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}

{literal}

=b){nw=b+"px";}if(w



#pagewrapper {width:expression(P7_MinMaxW(750,750));}
#container {height: 1%;}


{/literal}







   
   
      {anchor anchor='menu_vert' title='Skip to navigation' accesskey='n' text='Skip to navigation'}
      {anchor anchor='main' title='Skip to content' accesskey='s' text='Skip to content'}
   
   

   
   

 

 
   
            Okra
          da un piccolo seme, può nascere un germoglio

     
   
 




 
 

 
 

   
   
        Navigation
        {menu template='ccc2 : simple_navigation'  collapse='1'}
   
   
   
   
   
   
   

 
 

 
 
   
        News
          {news number='2' detailpage='news' dateformat="%d/%m/%Y"}
   
   
 
 

 
 
        {title}
        {content}
 
 

 
 
      {global_content name='footer'}
   
 




User avatar
blast2007
Power Poster
Power Poster
Posts: 508
Joined: Wed Aug 01, 2007 5:36 pm

Re: Problemi modulo news

Post by blast2007 »

Nel template che mi hai incollato sostituisci la seguente riga

Code: Select all

          {news number='2' detailpage='news' dateformat="%d/%m/%Y"}
con

Code: Select all

          {news number='2' detailpage='news'}
marmelo
New Member
New Member
Posts: 8
Joined: Wed May 20, 2009 10:08 pm

Re: Problemi modulo news

Post by marmelo »

Davvero grazie per la consulenza, se ti posso contraccambiare con qualsiasi link, dimmelo pure.
Inviami pure un PM con tutto quello che vuoi inserire su una eventuale pagina credits.

Fammi sapere e davvero grazie di cuore

Marcello
User avatar
blast2007
Power Poster
Power Poster
Posts: 508
Joined: Wed Aug 01, 2007 5:36 pm

Re: Problemi modulo news

Post by blast2007 »

Figurati! Nessun problema.

Scrivi [solved] o  [risolto] nel subject del tuo primo post.

Ciao
blast
Post Reply

Return to “Italian - Italiano”