![]() |
|
#1
|
||||
|
||||
|
Ok...I have done a fresh new install of vb (suite) v4.1.9 and CMPS v4.1.2 and only has vb and CMPS installed.
This is what I ended up with: and you can see it in action on http://www.aviationenthusiasts.net 1. Replace the entire adv_portal_newsbits template with: Code:
<vb:if condition="$newscount % 2">
<table cellpadding="0" width="100%">
<tr>
<td valign="top" style="border:1px solid #e9e9e9;">
<vb:else />
<td valign="top" width="50%" style="border:1px solid #e9e9e9;">
</vb:if>
<h2 class="blockrow">
<a style="color:#930000;" href="{vb:raw vboptions.bburl}/{vb:link thread, {vb:raw news}}"><b><font size="3">{vb:raw news.title}</font></b></a><br />
<i><font size="1">{vb:raw news.dateposted} - {vb:rawphrase by_x, {vb:link member, {vb:raw news}, null, 'postuserid', 'postusername'}, {vb:raw news.postusername}}</font></i>
</h2>
<div class="blockrow">
<blockquote class="postcontent restore">{vb:raw news.message}</blockquote>
</div>
</td>
<vb:if condition="$newscount % 2 != 1">
</tr>
</table>
</vb:if>
News Forum(s) - I selected the forum that the news posts were in Maximum Number of Threads to Display - 4 (MUST BE AN EVEN NUMBER i.e. 2 or 4 or 6 etc) Maximum Characters to Display - I changed to 200 but you can enter the number of characters your want to be displayed before the "Read more" link is shown Separate News Posts - NO (this is very important to have no instead of yes) That's it Naturally you can change the template to include other things but what I have provided here is just an example that works. Hope it helps! |
|
#2
|
|||
|
|||
|
Very Nice!
I was looking at redo one of our sites and I just may have to "borrow" the layout.
__________________
Demolition Forum |
|
#3
|
||||
|
||||
|
My pleasure Mate...hope it works out for you
|
|
#4
|
|||
|
|||
|
So nice, I like it .
Thank u ^_^ |
|
#5
|
|||
|
|||
|
Anybody know how to do this for vb3.8?
|
|
#6
|
|||
|
|||
|
Try playing with this http://www.vbadvanced.com/forum/showthread.php?t=19918
|
|
#7
|
|||
|
|||
|
|
|
#8
|
|||
|
|||
|
Quote:
If you don't mind me asking, where did you get the video module on your home page, and is it tied in with vbtube? |
|
#9
|
||||
|
||||
|
Yes, it is a part of vbTubePro although it is simply the video player of JW Player (http://www.longtailvideo.com/)
|
|
#10
|
|||
|
|||
|
Is it possible to 2 column without the merging, i mean seperated news like CMS home page.
All news seen in 2 column format. Even if its possibe to Flash News format like; 1 News below that 2 column news. thanks. |
|
#11
|
||||
|
||||
|
Do you mean like this:
1 (Copy).JPG There is one featured news item in 1 col followed by other news items in a 2 col |
|
#12
|
|||
|
|||
|
Ok it seems ok.
But i really mean news are seperated. and if like a slide show with links it will be perfect. some people did it for vbulletin cms. i am looking for vbadvanced. |
|
#13
|
||||
|
||||
|
Thanks ...looks great
__________________
http://www.groovie-baby.co.uk |
|
#14
|
|||
|
|||
|
When I used the code, it pushed my right column off the page. (my page is fixed width, not fluid). Anyway to fix that?
|
|
#15
|
||||
|
||||
|
Hi, I have a request
Which code to edit if I want to make it in 3 columns ? Tq |
|
#16
|
||||
|
||||
|
I don't use vb any more mainly because my sites depend on vba if using vb and I am sorry to see Brian having to focus on other things now then vba products so I use Xenforo now.
However, give this a try: Code:
<vb:if condition="$newscount % 3">
<table cellpadding="0" width="100%">
<tr>
<td valign="top" style="border:1px solid #e9e9e9;">
<vb:else />
<td valign="top" width="33%" style="border:1px solid #e9e9e9;">
</vb:if>
<h2 class="blockrow">
<a style="color:#930000;" href="{vb:raw vboptions.bburl}/{vb:link thread, {vb:raw news}}"><b><font size="3">{vb:raw news.title}</font></b></a><br />
<i><font size="1">{vb:raw news.dateposted} - {vb:rawphrase by_x, {vb:link member, {vb:raw news}, null, 'postuserid', 'postusername'}, {vb:raw news.postusername}}</font></i>
</h2>
<div class="blockrow">
<blockquote class="postcontent restore">{vb:raw news.message}</blockquote>
</div>
</td>
<vb:if condition="$newscount % 3 != 1">
</tr>
</table>
</vb:if>
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| date format in news module | bela-meaad | "How Do I..." Questions | 2 | 04-12-2011 06:24 AM |
| Can this be done? News Format | RetroDreams | "How Do I..." Questions | 4 | 06-26-2007 09:19 PM |
| Modules change format from center to right column... | djroppolo | Troubleshooting & Problems | 7 | 05-12-2007 11:01 AM |
| News module: How can I change date format? | tresor | "How Do I..." Questions | 4 | 04-28-2007 12:04 PM |