Vai al contenuto

Soluzione problema errore data dopo ugrade alla 3.1.1

Featured Replies

Inviato

E' probabile che dopo l'upgrade dalla 3.0.5 alla 3.1.x la skin non visualizzi correttamente la data nel forum view.

Ecco la soluzione, testata personalmente

[source]broni[/source]

ACP>Look & Feel>skin_specifica>Board Index>boardIndexTemplate

Trovare questa parte:

<ul class='last_post'>

<if test="hideLastInfo:|:$forum_data['hide_last_info']">

<li>{$this->lang->words['f_protected']}</li>

<else />

<if test="hideDateUrl:|:$forum_data['_hide_last_date']">

<li>{parse date="$forum_data['last_post']" format="LONG"}</li>

<else />

<li><a href='{parse url="showtopic={$forum_data['last_id']}&view=getlastpost" base="public" template="showtopic" seotitle="{$forum_data['seo_last_title']}"}' title='{$this->lang->words['view_last_post']}'>{parse replacement="f_lastpost"}</a> <a href='{parse url="showtopic={$forum_data['last_id']}&view=getlastpost" base="public" template="showtopic" seotitle="{$forum_data['seo_last_title']}"}' title='{$this->lang->words['view_last_post']}'>{parse date="$forum_data['last_post']" format="LONG"}</a></li>

</if>

<li><strong>{$this->lang->words['in']}</strong> {$forum_data['last_topic_title']}</li>

Copiare quello che qui è scritto in rosso, e copiarlo nel template tra:

<if test="hideDateUrl:|:$forum_data['_hide_last_date']">

e

</if>

sostituendolo con quello che è presente

Seconda modifica

ACP>Look & Feel>skin_specifica>Forum View>forumIndexTemplate

trovare il secondo <ul class='last_post'> :

<ul class='last_post'>

<li>

<a href='{parse url="showtopic={$data['tid']}&view=getlastpost" seotitle="{$data['title_seo']}" template="showtopic" base="public"}' title='{$this->lang->words['goto_last_post']}'>{parse replacement="f_lastpost"}</a> <a href='{parse url="showtopic={$data['tid']}&view=getlastpost" seotitle="{$data['title_seo']}" template="showtopic" base="public"}' title='{$this->lang->words['goto_last_post']}'>{parse date="$data['last_post']" format="SHORT"}</a>

</li>

<li>{$this->lang->words['forum_by']} {$data['last_poster']}{parse template="user_popup" group="global" params="$data['last_poster_id'], $data['seo_last_name']"}</li>

</ul>

Come prima copiare la parte che qui è in rosso sostituendo il codice presente

  • 5 mesi dopo...
Inviato

Grazie! funziona molto bene!

Per favore accedi per lasciare un commento

Potrai lasciare un commento dopo aver effettuato l'accesso

Accedi Ora

Chi sta navigando 0

  • Nessun utente registrato visualizza questa pagina.

Informazioni importanti

Abbiamo inserito dei cookies nel tuo dispositivo per aiutarti a migliorare la tua esperienza su questo sito. Puoi modificare le impostazioni dei cookie, altrimenti puoi accettarli cliccando su continua. to insert a cookie message.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.