1
ladysham
Need mods to a xoops theme
  • 2008/6/18 7:04

  • ladysham

  • Quite a regular

  • Posts: 274

  • Since: 2003/11/11


I found a XOOPS theme that my client loves. Unfortunately, the theme does not take advantage of all the blocks available in xoops.

Is there someone that could help me modify the theme to use all the center blocks? I would appreciate it. Please post here or PM me. Thanks!

Theme can be found at http://demo.2bcool.net/index.php

It is the "monotone2" theme.
Kelly Ling
Shamrock's Web Design
http://www.shamrocksweb.com

If you're coming to see my house - give me two weeks. If you're coming to see ME - come any time!

2
stefan88
Re: Need mods to a xoops theme
  • 2008/6/18 7:19

  • stefan88

  • Community Support Member

  • Posts: 1085

  • Since: 2004/9/20


..

3
ladysham
Re: Need mods to a xoops theme
  • 2008/6/18 7:36

  • ladysham

  • Quite a regular

  • Posts: 274

  • Since: 2003/11/11


How I wish it were that easy! Then I could do it myself.

However, this theme is a tableless theme and run totally by the CSS. I'm just not that well schooled in tableless design. Hence, my needing help.

I would ask the original theme designer, but he hasn't logged into XOOPS since last September, and his site contact form is in Japanese, so I can't even tell when I'm filling out.

Thanks though!
Kelly Ling
Shamrock's Web Design
http://www.shamrocksweb.com

If you're coming to see my house - give me two weeks. If you're coming to see ME - come any time!

4
stefan88
Re: Need mods to a xoops theme
  • 2008/6/21 5:18

  • stefan88

  • Community Support Member

  • Posts: 1085

  • Since: 2004/9/20


Hi,

I'm not good with CSS too, not to mention the way it uses smarty. Will have to study it and learn Thanks for pointing to it! About the Japanese I see only squares on my screen...

However here is something you can try:

edit file theme.html like this (add the red line):

Quote:

<div class="cc_base">
<div style="padding:25px;">
<div class="centercolumn">

<{include file="$xoops_rootpath/themes/$xoops_theme/blockcenter.html"}>

<{include file="$xoops_rootpath/themes/$xoops_theme/blockbottom.html"}>

<hr />
<div id="footer"><{$xoops_footer}> , theme design by <a href="http://2bcool.net">BCOOL</a></div>
</div>
</div>
</div>


and create a new file in theme folder called "blockbottom.html" with this code:

<{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright or $xoBlocks.page_bottomcenter}>
  <{if 
$xoBlocks.page_bottomcenter}>
    <
div class="centerCcolumn"><div>
            <{foreach 
from=$xoBlocks.page_bottomcenter item=block}>
              <
div class="blockTitle1"><{$block.title}></div>
    <
div class="blockContent"><{$block.content}></div>
            <{/foreach}>
    </
div></div>
  <{/if}>

  <{if 
$xoBlocks.page_bottomleft or $xoBlocks.page_bottomright}>
    <
div class="centerLcolumn"><div>
            <{foreach 
from=$xoBlocks.page_bottomleft item=block}>
              <
div class="blockTitle2"><{$block.title}></div>
    <
div class="blockContent"><{$block.content}></div>
            <{/foreach}>
    </
div></div>

    <
div class="centerRcolumn"><div>
            <{foreach 
from=$xoBlocks.page_bottomright item=block}>
              <
div class="blockTitle3"><{$block.title}></div>
    <
div class="blockContent"><{$block.content}></div>
            <{/foreach}>
    </
div></div>
  <{/if}>
<{/if}>

<
div id="page_top"><a href="#header"><span class="hidden">Go Page Top</span></a></div>


This is not the best fix, but may work ok
..

5
ladysham
Re: Need mods to a xoops theme
  • 2008/6/21 14:41

  • ladysham

  • Quite a regular

  • Posts: 274

  • Since: 2003/11/11


Stefan - Thank you SO VERY MUCH! This definitely put me in the right direction. With just a little more tweaking, this new theme will be ready for the client.

As always, XOOPS members are the best!
Kelly Ling
Shamrock's Web Design
http://www.shamrocksweb.com

If you're coming to see my house - give me two weeks. If you're coming to see ME - come any time!

Login

Who's Online

78 user(s) are online (50 user(s) are browsing Support Forums)


Members: 0


Guests: 78


more...

Donat-O-Meter

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

Latest GitHub Commits