PDA


View Full Version : In the middle


FeralTitan
05-03-2005, 05:52 AM
Hi,
Need some help, I want to add some static content. Visit my page to understand http://www.treqna.com/ - now you see all the white space in between - I want to put a static home page in there. How can I do this?
Thanks

PS: I couldnt figure out a way to do this easily in vbadvanced - which leaves me puzzled - cause I have gone through many CMS systems and they all have a simple way to edit home page content - either vbadvanced does not have this simple functionality or I cant seem to find it.

mholtum
05-03-2005, 06:14 AM
admincp==> vba CMPS==> Default Settings==> News Forum ID

"The ID number of your default news forum. To display threads from more than one forum, enter a list of forumids seperated by commas. Example setting: 1,4,9"

FeralTitan
05-03-2005, 06:22 AM
Hi mholtum,
Thanks, but this uses the forum thread - can I display a static page instead. which I couldmake and store on my site.

mholtum
05-03-2005, 06:23 AM
You could create a "Center Module" and place anything you want in side of it. Here is some info on modules http://www.vbadvanced.com/membersarea.php?do=viewusermanual&productid=4&pageid=2

FeralTitan
05-03-2005, 06:35 AM
Thanks, that helps - so what I figured is that I make a php file that I want to display and add it to the module and then display the module - so the file should become visible. One last question. After installing vbadvanced - I dont see a link to forums on the nav bar - how can I add that.

mholtum
05-03-2005, 06:44 AM
I would jsut use a standard template:

<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<thead>
<tr>
<td class="tcat smallfont" style="font-weight: bold;"><a style="float: $stylevar[right]" href="#" onclick="return toggle_collapse('forumhome_$mods[filename]')"><img id="collapseimg_forumhome_$mods[filename]" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_randomtopic].gif" width="15" height="15" border="0" alt="Collapse/Expand" /></a>$vba_options[portal_blockbullet] $mods[title]</td>
</tr>
</thead>
<tfoot style="display: none;"><tr><td></td></tr></tfoot>
<tbody id="collapseobj_forumhome_$mods[filename]">
<tr style="$vbcollapse[collapseobj_forumhome_randomtopic]">
<td class="$getbgrow">
<!-- put module content here ( I use HTML)--></td>
</tr>
</tbody>
</table>
<br />


Here is the forum info: http://www.vbadvanced.com/forum/showthread.php?t=41&highlight=dynamic+forum+home

Brian
05-03-2005, 01:22 PM
You can also add content by creating a new template, then adding the name of that template in the 'Page Template' option when adding/editing a page.