vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v2.0 Support > "How Do I..." Questions

Reply
 
Thread Tools Display Modes
  #1  
Old 06-01-2006, 11:10 AM
Rebecca Rebecca is offline
Member
 
Join Date: May 2004
Posts: 96
Default adv_portal template parsing forum title/description

I've moved the forum description code into the adv_portal template. The code is displaying as an empty box -- it seems the $foruminfo[title] and $foruminfo[description] aren't being parsed.

Does anyone know how I can fix this so these to variables are parsed from the adv_portal template? The code is as follows:

Quote:
<if condition="$show['forumdesc']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><strong>$foruminfo[title]</strong> <span class="smallfont">$foruminfo[description]</span></td>
</tr>
</table>
<br />
</if>
Thanks!

Rebecca
Reply With Quote
  #2  
Old 06-03-2006, 11:11 AM
Rebecca Rebecca is offline
Member
 
Join Date: May 2004
Posts: 96
Default Re: adv_portal template parsing forum title/description

*bump*
Reply With Quote
  #3  
Old 06-03-2006, 12:38 PM
Tom M Tom M is offline
Senior Member
 
Join Date: Jan 2004
Posts: 1,867
Default Re: adv_portal template parsing forum title/description

Unless the $foruminfo array is defined then the values will be empty - which is what you are seeing. For what you want to work you will need to modify the php code for the module that uses the template and fill in the values so they may be displayed.
__________________
Tom Morris
Porsche Boxster discussion forum.
Today's Conservative discussion forum.
Reply With Quote
  #4  
Old 06-03-2006, 03:36 PM
Rebecca Rebecca is offline
Member
 
Join Date: May 2004
Posts: 96
Default Re: adv_portal template parsing forum title/description

Hi Tom,

Thanks for your reply. I'm using the adv_portal template, which is the main formatting/display template for vBadvanced. It tells all the modules where to appear, but isn't a module in itself. (This is what I'm assuming from looking at the template, so anyone please feel free to correct me if I'm wrong.)

That said, how would I define the values so they DO appear correctly for that particular template?

Thank you,

Rebecca

Last edited by Rebecca; 06-03-2006 at 03:40 PM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
body$onload in adv_portal template Marris Troubleshooting & Problems 2 08-01-2005 10:15 PM
Page title, description and keywords joeychgo Troubleshooting / "How do I..." Questions 2 09-10-2004 12:51 AM


All times are GMT -4. The time now is 11:22 PM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.