1
chefry
Exnews v2.0
  • 2010/1/13 13:32

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


The top of this theme shows two empty cells on the left and the right.

Does anyone know how to insert a block into the empty cells?

or at least remove the words "Empty Cell"?


TIA!

2
Burning
Re: Exnews v2.0
  • 2010/1/13 14:11

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi'

You have to edit theme.html, header part


<
table cellspacing="0" class="main" align="center">
  <
tr>
    <
td  id="headerbarleft">EMPTY CELLtd>
    <
td id="headerbarcenter"><a href="<{xoAppUrl /}>"><img src="<{xoImgUrl img/logo.jpg}>" alt="" border="0" />a>td>
    <
td id="headerbarright">EMPTY CELLtd>
  tr>
  <
tr>
    <
td colspan="3">
            <
table cellspacing="0" id="topMenu" >
              <
tr>
                <
td><a href="<{xoAppUrl /}>">homea>td>
                <
td><a href="<{xoAppUrl /modules/news}>">newsa>td>
                <
td><a href="<{xoAppUrl /modules/article}>">articlesa>td>
                <
td><a href="<{xoAppUrl /modules/newbb}>">foruma>td>
                <
td><a href="<{xoAppUrl /modules/extgallery}>">gallerya>td>
                <
td><a href="<{xoAppUrl /modules/extcal}>">eventsa>td>
                <
td><a href="<{xoAppUrl /modules/formulaire}>">contacta>td>
              tr>
            table>
    td>
  tr>
  <
tr>
    <
td colspan="3" id="userSection"><{$smarty.now|date_format:"%A, %B %e, %Y"}> | <{if $xoops_isuser}>  Hello <a href="<{xoAppUrl /user.php}>"><{$xoops_uname}>a> |  
        <
a href="<{xoAppUrl /user.php?op=logout}>">logouta
       <{else}> <
a href="<{xoAppUrl /user.php}>">Logina
       <{/if}>    td>
  tr>
table>


Like this (not tested)

<
table cellspacing="0" class="main" align="center">
  <
tr>

    <
td id="headerbarcenter"><a href="<{xoAppUrl /}>"><img src="<{xoImgUrl img/logo.jpg}>" alt="" border="0" />a>td>

  tr>
  <
tr>
    <
td>
            <
table cellspacing="0" id="topMenu" >
              <
tr>
                <
td><a href="<{xoAppUrl /}>">homea>td>
                <
td><a href="<{xoAppUrl /modules/news}>">newsa>td>
                <
td><a href="<{xoAppUrl /modules/article}>">articlesa>td>
                <
td><a href="<{xoAppUrl /modules/newbb}>">foruma>td>
                <
td><a href="<{xoAppUrl /modules/extgallery}>">gallerya>td>
                <
td><a href="<{xoAppUrl /modules/extcal}>">eventsa>td>
                <
td><a href="<{xoAppUrl /modules/formulaire}>">contacta>td>
              tr>
            table>
    td>
  tr>
  <
tr>
    <
td id="userSection"><{$smarty.now|date_format:"%A, %B %e, %Y"}> | <{if $xoops_isuser}>  Hello <a href="<{xoAppUrl /user.php}>"><{$xoops_uname}>a> |  
        <
a href="<{xoAppUrl /user.php?op=logout}>">logouta
       <{else}> <
a href="<{xoAppUrl /user.php}>">Logina
       <{/if}>    td>
  tr>
table>

3
chefry
Re: Exnews v2.0
  • 2010/1/13 19:38

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


Well, that's unfortunate if you cqan only insert images

I was hoping it coul display random images or excal minical there

4
Burning
Re: Exnews v2.0
  • 2010/1/13 21:27

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


Yes, only for static content.

If it was a morphogenesis theme, with a little trick, I believe it would be possible to put 2 blocs.

You could use Boox module to make false blocks (= content handled with a form in back office)

5
luthermartin
Re: Exnews v2.0

I tried to modify Exnews theme using the code listed in the threads. It did not remove the empty cells text. Has anyone managed to get the empty cells text removed? I made the modifications as indicated below:














<{$xoops_sitename}> - <{$xoops_pagetitle}>




<{$xoops_module_header}>






























home news articles forum gallery events contact


<{$smarty.now|date_format:"%A, %B %e, %Y"}> | <{if $xoops_isuser}> Hello <{$xoops_uname}> |
logout
<{else}> Login
<{/if}>








































href="<{$xoops_url}>/index.php">HOME href="<{$xoops_url}>/modules/news/archive.php">ARCHIVES href="<{$xoops_url}>/modules/wfchannel/index.php?pagenum=2">WFCHANNEL href="<{$xoops_url}>/modules/contact/">CONTACT href="<{$xoops_url}>/modules/myalbum/">MYALBUM href="<{$xoops_url}>/modules/wfchannel/index.php?pagenum=3">ADVERTISING href="<{$xoops_url}>/modules/myAds/">CLASSIFIEDS
 
  |<{if $xoops_isuser}>  Hello <{$xoops_uname}> <{/if}>
<{if $xoops_isuser}>
<{else}>     Login
<{/if}>









<{if $xoops_showrblock == 1}>









<{foreach item=block from=$xoops_lblocks}>
<{$block.title}>

<{$block.content}>


<{/foreach}>










<{foreach item=block from=$xoops_clblocks}>




<{$block.title}>

<{$block.content}>

<{/foreach}>





<{foreach item=block from=$xoops_crblocks}>
<{$block.title}>

<{$block.content}>



<{/foreach}>


<{$xoops_contents}>





<{if $xoops_showcblock == 1}>















<{foreach item=block from=$xoops_ccblocks}>
<{$block.title}>

<{$block.content}>

<{/foreach}>




<{/if}>






<{foreach item=block from=$xoops_rblocks}>
<{$block.title}>

<{$block.content}>


<{/foreach}>










<{/if}>









| 2004 | EXNEWS |








| themesbase




Powered by Xoops CMS



Login

Who's Online

269 user(s) are online (135 user(s) are browsing Support Forums)


Members: 0


Guests: 269


more...

Donat-O-Meter

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

Latest GitHub Commits