vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v3.0 Support > Troubleshooting & Problems

Reply
 
Thread Tools Display Modes
  #1  
Old 05-05-2012, 01:19 PM
Spinball Spinball is offline
Member
 
Join Date: Sep 2004
Posts: 84
Default Changing the colspan value doesn't work

Hi,
So in the Latest Forum Topics module which uses recentthreads.php with three templates:
  • adv_portal_recthreads_lean,
  • adv_portal_recthreads_exp and
  • adv_portal_recthreads_exp_head
and with the module wrapper working,
changing the colspan in the module does not change it in the pages that module is used in.
It *was* 5 and is set to 2 (as there are two columns), but is still showing colspan="5" in the page. Caching is off.
It looks ok in FF but in IE, of course, there is a blank space were IE renders three extra columns.
The adv_portal_module_wrapper template has
[HTML]<td class="tcat" colspan="$mods[colspan]">[/HTML] and if I manually change it to 2, it works ok.
So the value of $mods[colspan] is incorrect somehow.
This is the page:
http://www.avforums.com/home/movies_tv_music.html
Any help urgently appreciated. Thanks.
__________________
Stuart Wright, founder of AVForums.com.
Very grateful user of vBAdvanced.
Reply With Quote
  #2  
Old 05-07-2012, 03:10 PM
Spinball Spinball is offline
Member
 
Join Date: Sep 2004
Posts: 84
Default

Sounds of tumbleweed round here.

Found the answer:
Code:
		$mods['colspan'] = 4;
in recentthreads.php
Changed it to
Code:
		$mods['colspan'] = 1;
and added
Code:
		if ($mod_options['portal_threads_replies'])
		{
			$mods['colspan']++;
		}

		if ($mod_options['portal_threads_views'])
		{
			$mods['colspan']++;
		}
__________________
Stuart Wright, founder of AVForums.com.
Very grateful user of vBAdvanced.
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
page layout colspan? jimsflies "How Do I..." Questions 5 02-12-2010 12:48 PM
CMPS colspan does nothing JamesCybert Troubleshooting & Problems 2 02-14-2008 01:07 PM
custom colspan working? indie Troubleshooting & Problems 3 08-09-2007 03:04 PM
Colspan ? Aery "How Do I..." Questions 2 05-23-2007 12:30 PM
Question on Colspan dboogie2288 Troubleshooting / "How do I..." Questions 2 03-03-2005 12:09 PM


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