Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
7 - 1 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: vista_k theme background change
by Szico_VII on 2010/7/20 21:41:50

Would you mind clarifying a bit, because I've done (I think) what youve suggested and nothing happens!

Heres the original bit of code:
le="color: #000000"><?php <{/foreach}> </td> </tr> <{/if}> </table> <{/if}> </td> <td id="rightcolumn"> <!-- Start right blocks loop --> <{foreach item=block from=$xoops_rblocks}> <!--[if IE]> <div style="width:168px;height:34px;margin-right: auto;margin-left: auto;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<{$xoops_imageurl}>visual/lblock_01.png',sizingMethod='scale');background-repeat: no-repeat;"> <![endif]--> <!--[if IE]><![if !IE]><![endif]--> <div style="width:168px;height:34px;margin-right: auto;margin-left: auto;background-image: url(<{$xoops_imageurl}>visual/lblock_01.png);background-repeat: no-repeat;"> <!--[if IE]><![endif]><![endif]--> <div class="blockTitle"><{$block.title}></div></div> <div> <!--[if IE]> <div style="width:168px;margin-right: auto;margin-left: auto;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<{$xoops_imageurl}>visual/lblock_02.png',sizingMethod='scale');"> <![endif]--> <!--[if IE]><![if !IE]><![endif]--> <div style="width:168px;margin-right: auto;margin-left: auto;background-image: url(<{$xoops_imageurl}>visual/lblock_02.png);"> <!--[if IE]><![endif]><![endif]--> <div class="blockrContent"><{$block.content}></div> </div> <!--[if IE]> <div style="width:168px;height:11px;margin-right: auto;margin-left: auto;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<{$xoops_imageurl}>visual/lblock_03.png',sizingMethod='scale');background-repeat: no-repeat;"> <![endif]--> <!--[if IE]><![if !IE]><![endif]--> <div style="width:168px;height:11px;margin-right: auto;margin-left: auto;background-image: url(<{$xoops_imageurl}>visual/lblock_03.png);"> <!--[if IE]><![endif]><![endif]--> </div> <br /> <{/foreach}> <!-- End right blocks loop -->


And here's what i changed it to...
le="color: #000000"><?php <{/foreach}> </td> </tr> <{/if}> </table> <{/if}> </td> <td id="rightcolumn"> <{if $xoops_showrblock}> <!-- Start right blocks loop --> <{foreach item=block from=$xoops_rblocks}> <!--[if IE]> <div style="width:168px;height:34px;margin-right: auto;margin-left: auto;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<{$xoops_imageurl}>visual/lblock_01.png',sizingMethod='scale');background-repeat: no-repeat;"> <![endif]--> <!--[if IE]><![if !IE]><![endif]--> <div style="width:168px;height:34px;margin-right: auto;margin-left: auto;background-image: url(<{$xoops_imageurl}>visual/lblock_01.png);background-repeat: no-repeat;"> <!--[if IE]><![endif]><![endif]--> <div class="blockTitle"><{$block.title}></div></div> <div> <!--[if IE]> <div style="width:168px;margin-right: auto;margin-left: auto;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<{$xoops_imageurl}>visual/lblock_02.png',sizingMethod='scale');"> <![endif]--> <!--[if IE]><![if !IE]><![endif]--> <div style="width:168px;margin-right: auto;margin-left: auto;background-image: url(<{$xoops_imageurl}>visual/lblock_02.png);"> <!--[if IE]><![endif]><![endif]--> <div class="blockrContent"><{$block.content}></div> </div> <!--[if IE]> <div style="width:168px;height:11px;margin-right: auto;margin-left: auto;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<{$xoops_imageurl}>visual/lblock_03.png',sizingMethod='scale');background-repeat: no-repeat;"> <![endif]--> <!--[if IE]><![if !IE]><![endif]--> <div style="width:168px;height:11px;margin-right: auto;margin-left: auto;background-image: url(<{$xoops_imageurl}>visual/lblock_03.png);"> <!--[if IE]><![endif]><![endif]--> </div> <br /> <{/foreach}> <!-- End right blocks loop --> </td> <{/if}>
Re: vista_k theme background change
by red_Slider on 2010/7/20 21:05:49

Hi!
Look into theme.html file.
Find line with:
le="color: #000000"><?php <td id="rightcolumn"> <!-- Start right blocks loop --> some code here <!-- End right blocks loop --> </td>


it should looks like:

le="color: #000000"><?php <{if $xoops_showrblock}> <td id="rightcolumn"> <!-- Start right blocks loop --> some code here <!-- End right blocks loop --> </td> <{/if}>


;)
Re: vista_k theme background change
by Szico_VII on 2010/7/20 20:35:41

Nevermind, i found it, its the class = outer bit :)

One last question - Is there a way to expand the central section into where the right hand blocks should be on pages where the right hand blocks are not visible (i.e the tutorials section?) to improve the look of the page? The images seem to auto stretch into the space but the text doesn't!
Re: vista_k theme background change
by Szico_VII on 2010/7/20 20:34:30

Ahh thanks! So its the <tr even/odd> bits that have been removed. Which bit did you remove to get rid of the black line border that remains once youve taken out the odd/even bits? (Cause i tried this myself manually and it got rid of the background colour but left a thin black border)

Cheers! :)
Re: vista_k theme background change
by red_Slider on 2010/7/20 10:49:34

Hi!
1. CSS - yes - when you chcnge css file it will be visable on other sites too. These classes (.odd and .even) are used for tables, so as to distinguish individual cells or rows. Therefore, I would recommend doing more of the latter option - that is, the conversion template. When it comes to the code mess does not worry about it. The code has been thrown out all the classes corresponding to the "odd" and "even".
On the other side of the module can be similarly MyAlbum. Just so that you remove those statements and get rid of the background.
Remember that in the style.css file to restore the original background.

And here is the code structured:
le="color: #000000"><?php <{strip}> <table width="100%" cellspacing="0"> <tr> <td> <br /><{include file="db:myalbum_header.html"}><br /> <{include file="db:myalbum_categories.html"}> <hr /> <form name='cid_select' action='<{$mod_url}>/viewcat.php' method='GET' style='margin:0px;text-align:center;'> <select name='cid' onchange='submit();'> <option value=''><{$lang_directcatsel}></option> <{$category_options}> </select> &nbsp; &nbsp; <{$photo_global_sum}> &nbsp; &nbsp; <{if $lang_add_photo}> <a href="submit.php"> <{$lang_add_photo}> <img src="<{$mod_url}>/images/pictadd.gif" border="0" alt="<{$lang_add_photo}>" title="<{$lang_add_photo}>" /> </a> <{/if}> </form> </td> </tr> </table> <br /> <table width="100%" cellspacing="0"> <tr> <td align="left"> <h4><{$lang_latest_list}></h4> <{if $photonavdisp }> <table border='0' cellpadding='0' cellspacing='0' width='100%'> <tr> <td align='left'><{$photonavinfo}></td> <td align='right'><{$photonav}></td> </tr> </table> <hr /> <{/if}> <table width='100%' cellspacing='0' cellpadding='10' border='0'> <{foreach from=$photos item=photo}> <{include file="db:myalbum_photo_in_list.html"}> <{/foreach}> </table> <{if $photonavdisp }> <hr /> <table border='0' cellpadding='0' cellspacing='0' width='100%'> <tr> <td align='left'><{$photonavinfo}></td> <td align='right'><{$photonav}></td> </tr> </table> <{/if}> </td> </tr> </table> <br /> <table width="100%" cellspacing="0" cellpadding="0" border="0"> <tr> <td align="center"><br /> <{include file='db:system_notification_select.html'}> <br /> <{include file="db:myalbum_footer.html"}> </td> </tr> </table> <{/strip}>

Who's Online

200 user(s) are online (169 user(s) are browsing Support Forums)


Members: 0


Guests: 200


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits