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

Reply
 
Thread Tools Display Modes
  #1  
Old 01-03-2009, 10:42 AM
ArnyVee ArnyVee is offline
Member
 
Join Date: Mar 2008
Posts: 83
Default Custom Module Wrapper Question

Hey folks,

I've got some custom wrappers done now for my vBadvanced page (www.WaltDisneyBoards.com), but I've lost the little 'titles' within the wrapper.

As you can see on the homepage, I've got the wrappers, but nothing "on" them as far as the title of the module / block.

Does anyone know how I can reclaim my titles?
Reply With Quote
  #2  
Old 01-03-2009, 03:35 PM
Shelby Shelby is offline
Senior Member
 
Join Date: Nov 2005
Posts: 127
Default

Looks to be a template issue more than anything. There are slews of validation errors when checked by the validator, and I wouldn't be suprised if it might be causing the problem.

http://validator.w3.org/
Reply With Quote
  #3  
Old 01-03-2009, 09:59 PM
ArnyVee ArnyVee is offline
Member
 
Join Date: Mar 2008
Posts: 83
Default

Shelby, when I don't have the custom wrappers, the titles are showing fine. Do you still think that this could be a template issue?
Reply With Quote
  #4  
Old 01-03-2009, 10:58 PM
KW802's Avatar
KW802 KW802 is offline
Administrator
 
Join Date: Mar 2004
Location: A galaxy far, far away...
Posts: 5,030
Default

Likely your custom wrapper template is missing the variables for the title to be displayed.

Check your template to see if anything like this is in it...
Code:
<span class="smallfont"><strong>$vba_style[portal_blockbullet] <if condition="$mods['link']"><a href="$mods[link]">$mods[title]</a><else />$mods[title]</if></strong></span>
If nothing like that is in there, then copy & paste that chunk of code into your custom wrapper template to where you would like the title to appear.
__________________
Sci-Fi | Walking Dead Forum
Reply With Quote
  #5  
Old 01-04-2009, 09:37 AM
ArnyVee ArnyVee is offline
Member
 
Join Date: Mar 2008
Posts: 83
Default

Kevin, I think that's what's missing. Now, just need help where to put it.

Here's my code....where do I put it if I want it to display within the image itself? Or, is that possible?

Code:
$mods[formcode]

<div style="padding-bottom:$vba_style[portal_vspace]px">


<table align="center" border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td width="13"><img src="http://www.waltdisneyboards.com/images/vbawrapper/vtopl.gif"></img></td><td width="100%" class="bordertop"></td><td width="13"><img src="http://www.waltdisneyboards.com/images/vbawrapper/vtopr.gif"></img></td></tr>


<tr><td class="borderleft"></td>


<td>

<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">   





	<tbody id="collapseobj_module_$mods[collapse]" style="$modcollapse">


			<if condition="$show['tablerow']">
				<tr>
					<td class="$bgclass">
						$modulehtml
					</td>
				</tr>
			<else />
				$modulehtml
			</if>
		</tbody>
	</table>

</td>

<td class="borderright" width="13"></td></tr>
<tr><td width="13"><img src="http://www.waltdisneyboards.com/images/vbawrapper/vbotl.gif"></img></td><td width="100%" class="borderbottom"></td><td width="13"><img src="http://www.waltdisneyboards.com/images/vbawrapper/vbotr.gif"></img></td></tr>
</table>

</div>

Oh...and how do I make them into actual links?

Last edited by ArnyVee; 01-04-2009 at 09:44 AM.
Reply With Quote
  #6  
Old 01-04-2009, 09:50 AM
ArnyVee ArnyVee is offline
Member
 
Join Date: Mar 2008
Posts: 83
Default

Okay, I played around and seemed to have it in an acceptable place, but I'm still wondering if the titles can be added within the actual image and whether they can be made into links.

Thanks for the help so far Kevin.
Reply With Quote
  #7  
Old 01-04-2009, 10:11 AM
protoss protoss is offline
Junior Member
 
Join Date: Jan 2005
Location: U.K.
Posts: 18
Default

Hi ArnyVee

Please try this...

Code:
$mods[formcode]
<div style="padding-bottom:$vba_style[portal_vspace]px">
  <table align="center" border="0" cellspacing="0" cellpadding="0" width="100%">
    <tr>
      <td width="13"><img src="http://www.waltdisneyboards.com/images/vbawrapper/vtopl.gif"></img></td>
      <td width="100%" class="bordertop">
<span style="font-weight: bold; size:auto; color: #ffffff;">">&nbsp;&nbsp;<strong>$vba_style[portal_blockbullet] <if condition="$mods['link']"><a href="$mods[link]">$mods[title]</a><else />$mods[title]</if></strong></span>
</td>
      <td width="13"><img src="http://www.waltdisneyboards.com/images/vbawrapper/vtopr.gif"></img></td>
    </tr>
    <tr>
      <td class="borderleft"></td>
      <td><table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
          <tbody id="collapseobj_module_$mods[collapse]" style="$modcollapse">
            <if condition="$show['tablerow']">
            
            <tr>
              <td class="$bgclass"> $modulehtml </td>
            </tr>
            <else />
          $modulehtml
          </if>
          
          </tbody>
          
        </table></td>
      <td class="borderright" width="13"></td>
    </tr>
    <tr>
      <td width="13"><img src="http://www.waltdisneyboards.com/images/vbawrapper/vbotl.gif"></img></td>
      <td width="100%" class="borderbottom"></td>
      <td width="13"><img src="http://www.waltdisneyboards.com/images/vbawrapper/vbotr.gif"></img></td>
    </tr>
  </table>
</div>
Reply With Quote
  #8  
Old 01-04-2009, 10:33 AM
ArnyVee ArnyVee is offline
Member
 
Join Date: Mar 2008
Posts: 83
Default

Oh, that's close!

It kinda throws off the wrapper just a tad though (adds a small space between the top and sides) and I have to use smaller font because it makes it go to two lines (and subsequently breaks the wrapper) on some of the smaller modules.

I'll get a screenshot later as I'm out the door to run an errand. But, thanks for the attempt! Maybe we can tweak it as we go here and get it perfect!
Reply With Quote
  #9  
Old 01-04-2009, 10:44 AM
protoss protoss is offline
Junior Member
 
Join Date: Jan 2005
Location: U.K.
Posts: 18
Default

Code:
<span style="font-weight: bold; size:auto; color: #ffffff;"> ">&nbsp;&nbsp;<strong>$vba_style[portal_blockbullet] <if condition="$mods['link']"><a href="$mods[link]">$mods[title]</a><else />$mods[title]</if></strong></span>
Above is the line you need to tweak

Please try this. (to change the color alter #ffffff)

Code:
<span style="font-weight: bold; size:auto; color: #ffffff;">&nbsp;<strong> <if condition="$mods['link']"><a href="$mods[link]">$mods[title]</a><else />$mods[title]</if></strong></span>

remove
Reply With Quote
  #10  
Old 01-04-2009, 05:48 PM
ArnyVee ArnyVee is offline
Member
 
Join Date: Mar 2008
Posts: 83
Default

protoss, that's nearly perfect!

Check out the page for that small space between the top and side of the custom wrapper though..... www.WaltDisneyBoards.com

Any idea as to why that's doing that? And, more importantly, what can I do to fix it? Thank you so much for helping so far!
Reply With Quote
  #11  
Old 01-05-2009, 11:38 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

Looks like you just need to remove the &nbsp; code.

Code:
<span style="font-weight: bold; size:auto; color: #ffffff;">&nbsp;<strong> <if condition="$mods['link']"><a href="$mods[link]">$mods[title]</a><else />$mods[title]</if></strong></span>
Reply With Quote
  #12  
Old 01-05-2009, 01:38 PM
protoss protoss is offline
Junior Member
 
Join Date: Jan 2005
Location: U.K.
Posts: 18
Default

Yes that could be it Brian, or the font size perhaps. However I've noticed a mistake in my code. You already have the font weight declared in the vBa code so there's no need for the font-weight in the span class.

ArnyVee please try...

Code:
<span style="font-size:11px; color: #0557A3;">&nbsp;<strong><if condition="$mods['link']"><a href="$mods[link]">$mods[title]</a><else />$mods[title]</if></strong></span>
or

Code:
 
<span style="font-size:12px; color: #0557A3;">&nbsp;<strong><if condition="$mods['link']"><a href="$mods[link]">$mods[title]</a><else />$mods[title]</if></strong></span>
If neither of the above work then try it without the &nbsp;
Reply With Quote
  #13  
Old 01-06-2009, 09:16 AM
ArnyVee ArnyVee is offline
Member
 
Join Date: Mar 2008
Posts: 83
Default

Quote:
Originally Posted by protoss View Post
Yes that could be it Brian, or the font size perhaps. However I've noticed a mistake in my code. You already have the font weight declared in the vBa code so there's no need for the font-weight in the span class.

ArnyVee please try...

Code:
<span style="font-size:11px; color: #0557A3;">&nbsp;<strong><if condition="$mods['link']"><a href="$mods[link]">$mods[title]</a><else />$mods[title]</if></strong></span>
or

Code:
 
<span style="font-size:12px; color: #0557A3;">&nbsp;<strong><if condition="$mods['link']"><a href="$mods[link]">$mods[title]</a><else />$mods[title]</if></strong></span>
If neither of the above work then try it without the &nbsp;
The first one worked

Thank you so much sir!
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
Custom Wrapper Help Qia "How Do I..." Questions 1 02-13-2008 09:50 AM
Custom Module Wrapper Not Showing For News Module ThePhlexican "How Do I..." Questions 9 09-30-2007 11:16 AM
Question about changing profile fields using a custom module Designer Module & Modification Discussion & Requests 0 12-16-2006 11:00 AM
Answer to the mystic custom page content module question anarchystar Troubleshooting / "How do I..." Questions 5 01-14-2005 04:19 PM
Module and custom page question Viks Troubleshooting / "How do I..." Questions 2 10-17-2004 09:25 PM


All times are GMT -4. The time now is 11:49 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.