31
uberrookie
Re: show content when there IS content
  • 2011/3/30 14:13

  • uberrookie

  • Just popping in

  • Posts: 34

  • Since: 2011/3/29


I took a part of the default theme.html:
<!-- Start content module page -->
<{if 
$xoops_contents && ($xoops_contents != ' ') }>
<
div id="content"><{$xoops_contents}></div>
<{/if}>
<!-- 
End content module -->


added a styling div:

<!-- Start content module page -->
<{if 
$xoops_contents && ($xoops_contents != ' ') }>
<
div class="styling">
<
div id="content"><{$xoops_contents}></div>
</
div>
<{/if}>
<!-- 
End content module -->


The div is always visible



32
uberrookie
show content when there IS content
  • 2011/3/30 11:05

  • uberrookie

  • Just popping in

  • Posts: 34

  • Since: 2011/3/29


I've placed
{$xoops_contents}
inside some divs for styling.

<{if $xoops_contents && ($xoops_contents != ' ') }>
<
div id="content"><{$xoops_contents}></div>
<{/if}>



(The if statement comes from the default 2.5.0 theme)

I don't have a starting page, but my divs are still shown.

In other words....while having no content, the if statement still get executed.

How do i prevent this execution when i have no content?



33
uberrookie
comments display mode 'none' not allowed
  • 2011/3/29 21:06

  • uberrookie

  • Just popping in

  • Posts: 34

  • Since: 2011/3/29


When i edit my profile an choose the comment mode to be none, i recieve a message to choose a comment mode.



34
uberrookie
Blocks Admin
  • 2011/3/29 21:03

  • uberrookie

  • Just popping in

  • Posts: 34

  • Since: 2011/3/29


When I go to blocks admin to set the visibility, position, etc and i set the filters to all, the blocks of the start page do not show up.




TopTop
« 1 2 3 (4)



Login

Who's Online

155 user(s) are online (118 user(s) are browsing Support Forums)


Members: 0


Guests: 155


more...

Donat-O-Meter

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

Latest GitHub Commits