PDA

View Full Version : Problem with news module


tresor
08-30-2007, 05:13 PM
I did this modification to news module:

http://www.vbadvanced.com/forum/showthread.php?t=19918&highlight=news+columns

But automatically all module are moving to the right around 20 pixels. Right modules canīt be seen 100%.

calendar for example only shows 6 days because 7th day is moved to the right

http://img68.imageshack.us/img68/1739/23fx1.jpg

Do u know why?

This are modifications that I did:

--------------------------------------------------------------------------------

Open Your "adv_portal" Template and at the very top find this


Code:
$stylevar[htmldoctype]Replace with this code


Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">Save and Close

Now Open Your "adv_portal_newsbits" Template and find this code


Code:
<if condition="!$mod_options['portal_news_legacy']">Add Below this code


Code:
<if condition="$newscount == 1">
<table cellpadding="0" width="100%" height="100%">
</if>

<if condition="($newscount % 2)">
<tr>
</if>
<td valign="top" width="50%">

<table height="100%" align="center" border="0" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" width="100%">very END of "adv_portal_newsbits" template add this code

Code:
</td>
</tr>
</table>
</if>
</if>

Brian
08-31-2007, 11:09 AM
Sounds like you're trying to cram too much info into too small of a space when you split your news posts up.

Our Sponsors
 

tresor
09-04-2007, 09:09 AM
Do u know how can I resolve this issue?
Thanks

Brian
09-04-2007, 11:29 AM
Can you post a link to the page where you're seeing this problem?

Our Sponsors
 

tresor
09-04-2007, 05:53 PM
I revert 2 columns in news and now is ok.
Are u planning in give this option for news module like this?

http://demo.vbcms.de/vbcms.php

looks great
thanks

towermatt
09-04-2007, 06:30 PM
Uggg...not for me. That looks way too busy imo.

tresor
09-09-2007, 02:49 AM
Can you post a link to the page where you're seeing this problem?

Here is a demo, calendar isnīt seen completing and all right modules too

http://www.technogalicia.com


Thanks

Brian
09-09-2007, 01:05 PM
When you modify your news module like that, you're trying to cram too much info into too small of a space, and the result is that some modules get pushed off to the side.

tresor
09-10-2007, 08:32 AM
I donīt know why, because each new have 300 characters and "read more".
Have I to setup less characters in cp?