View Full Version : I need the Wolfman to help me
William
10-18-2007, 01:39 AM
I want my headlines to look like wwe.com layout. Wolf can you help me achieve this? The photo should be 400 by 275 and the caption and story is under the photo.
Also does anyone know how we can list other headlines like in previous versions. these two would look great together. Please help! I asume that the layout would be changes to css and headlines.tpl using division tags.:D
utvara
10-18-2007, 06:36 PM
OK, here goes something:
<div id="content_features" class="features_equal_default">
<vte:box module="box_article_list">
<vte:params>
<vte:param name="search_status" value="2" />
<vte:param name="search_sort_by" value="order_num" />
<vte:param name="search_order" value="descending" />
<vte:param name="cache" value="1" />
<vte:param name="add_to_printed" value="true" />
<vte:param name="exclude_printed" value="true" />
<vte:param name="search_limit" value="5" />
</vte:params>
<vte:template>
<div id="content_features_left">
<vte:foreach item = "article" from = "{article_list}" key="index" start="1" loop="1">
<a href="{article.get_href}"><img src="{VIVVO_URL}thumbnail.php?file={article.get_image}& size={image_size}" align="left" alt="image" /></a><br />
<div>
<h1>
<a href="{article.get_href}"><vte:value select="{article.get_title}" /></a>
</h1>
<div><vte:value select="{article.get_summary}" /></div>
<div><a href="{article.get_href}"><vte:value select="{LNG_FULL_STORY}" /></a></div>
</div>
</vte:foreach>
</div>
<div id="content_features_right">
<div id="latest_news" class="box_body">
<vte:foreach item = "article" from = "{article_list}" start="2">
<vte:include file="{VIVVO_TEMPLATE_DIR}summary/default.tpl" />
</vte:foreach>
</div>
</div>
</vte:template>
</vte:box>
</div>
The Wolf: You're... Jimmie, right? This is your house?
Jimmie: Sure is.
The Wolf: I'm Winston Wolfe. I solve problems.
Jimmie: Good, we got one.
The Wolf: So I heard. May I come in?
Jimmie: Uh, yeah, please do.
Not quite sure about my fix, I did this without testing. Try and let me know.
cheers, utvara
William
10-18-2007, 08:13 PM
Im sorry Wolf this did not work in version 3.5.
What files should I change in 3.5 to achieve this look? Thank you for all your help on this.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.