Jump to content
isoka

special formview

Recommended Posts

isoka

Spero che qualcuno mi voglia dare una mano :P

ad55b6137560528.jpg

Vorrei strutturare il board index come quello de lamoneta.it

Per intuizione direi che utilizzano una pura TABELLA in html come scheletro

solo che ancora non riesco a "trovarmi" nella struttura di ipb xd

Edited by isoka

Share this post


Link to post
Share on other sites
isoka

Si forse mi son spiegato male xd

Allora io vorrei strutturare il forumview come quello che ho linkato nell'immagine del primo post.

ho provato a farlo da me, solo che riscontro alcuni problemi.

Attualmente non sono dal mio pc altrimenti ti posterei il lavoro fatto in modo tale che tu mi possa aiutare nel capire dove ho sbagliato lol

Share this post


Link to post
Share on other sites
isoka

Si il boardindex , scusa

comunque la mia idea era proprio di fare un struttura come quella , manca forse solo l'indicazione del numero di discussioni(il numero di risposto l'ho gia omesso nalla configurazione standard)

p.s.

ottimo lavoro come sempre najaru, complimenti^^

Edited by isoka

Share this post


Link to post
Share on other sites
najaru

ti posto intanto il mio codice, ti dovrebbe aiutare

<!-- / CAT HEADER -->
<foreach loop="forums:$_data['forum_data'] as $forum_id => $forum_data">
<if test="forumRedirect:|:$forum_data['redirect_on']">
<tr class='{parse striping="catTable"} redirect_forum'>
<td class='altrow' width="165">
<!-- aggiunta forum icons tabella td begin-->
<a href="{parse url="showforum={$forum_data['id']}" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}" title='{$this->lang->words['go_to_forum']}'><img src="{$this->settings['board_url']}/f_icons/{$forum_data['id']}.png" title="{$forum_data['name_seo']}" width="150" height="60"></a>
<!-- aggiunta forum icons tabella td end-->
</td>
<td>
<h4><a href="{parse url="showforum={$forum_data['id']}" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}" title='{$this->lang->words['go_to_forum']}'>{$forum_data['name']}</a></h4>
<p class='desc'>{$forum_data['description']}</p>
</td>

</tr>
<else />
<tr class='{parse striping="catTable"}'>
<td class='altrow' width="165">
<if test="unreadicon:|:$forum_data['img_new_post'] != 'f_locked' && strstr( $forum_data['img_new_post'], 'unread' )">
<!-- aggiunta forum icons tabella td begin-->
<a href="{parse url="showforum={$forum_data['id']}" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}" title='{$this->lang->words['go_to_forum']}'><img src="{$this->settings['board_url']}/f_icons/{$forum_data['id']}.png" title="{$forum_data['name_seo']}" width="150" height="60"></a>
<!-- aggiunta forum icons tabella td end-->
<script type='text/javascript'>
ipb.global.registerMarker( "forum_img_{$forum_data['id']}", "{$forum_data['img_new_post']}", markerURL + "&forumid={$forum_data['id']}" );
</script>
<else />
<!-- aggiunta forum icons tabella td begin-->
<a href="{parse url="showforum={$forum_data['id']}" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}" title='{$this->lang->words['go_to_forum']}'><img src="{$this->settings['board_url']}/f_icons/{$forum_data['id']}.png" title="{$forum_data['name_seo']}" width="150" height="60"></a>
<!-- aggiunta forum icons tabella td end-->
</if>
</td>
<td>
<h4><a href="{parse url="showforum={$forum_data['id']}" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}" title='{$this->lang->words['go_to_forum']}'>{$forum_data['name']}</a></h4>
<p class='desc'>{$forum_data['description']}</p><br>
<p><i>Ultimo messaggio il {parse date="$forum_data['last_post']" format="LONG"} {$this->lang->words['in']} {$forum_data['last_topic_title']} {$this->lang->words['by']} <a href='{parse url="showuser={$forum_data['last_poster_id']}" template="showuser" seotitle="{$forum_data['seo_last_name']}" base="public"}' title='{$this->lang->words['view_profile']}'>{$forum_data['last_poster_name']}</a>{parse template="user_popup" group="global" params="$forum_data['last_poster_id'], $forum_data['seo_last_name']"} </i></p>


<if test="showSubForums:|:$forum_data['show_subforums'] AND count( $forum_data['subforums'] ) AND $forum_data['show_subforums']">
<h5 class='hide'>{$this->lang->words['subforums']}</h5>
<ol class='subforums' id='subforums_{$forum_data['id']}'>
<foreach loop="subforums:$forum_data['subforums'] as $__id => $__data">
<if test="showSubForumsLit:|:$__data[3]"><li class='newposts'><else /><li></if><a href="{parse url="showforum={$__data[0]}" seotitle="{$__data[2]}" template="showforum" base="public"}" title='{$this->lang->words['go_to_forum']}'>{$__data[1]}</a></li>
</foreach>
</ol>
</if>
<!-- Skinnote: Clean up queued stuff -->
<if test="hasQueuedAndCanSeeIcon:|:!empty($forum_data['_has_queued_and_can_see_icon'])">
<em class='moderated'><a href='{parse url="showforum={$forum_data['id']}&modfilter=all" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}' title='{$this->lang->words['view_unapproved']}'>{parse expression="sprintf( $this->lang->words['f_queued'], $forum_data['queued_topics'], $forum_data['queued_posts'])"}</a></em>
</if>
</td>

</tr>
</if>
</foreach>
</table>
</div>
</if>
</foreach>
</if>
</div>
</div>

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Crea Nuovo...

Important Information

By using this site, you agree to our Terms of Use.