1
dhansen
Toggle Show/Hide Title in Blocks
  • 2004/2/15 0:42

  • dhansen

  • Just popping in

  • Posts: 59

  • Since: 2003/12/6


I'd like to see the ability to selectively hide or show block titles on a block by block basis. It's kinda possible to do this by just leaving the title of a block blank, but that leaves a nasty hole in the page and nothing by which to identify the block on the block admin page.

I'd like to see a radio button that would allow me to enter a descriptive title for admin identification purposes, but if show="no", simply not display the title cell at all.

dh

2
jurgis
Re: Toggle Show/Hide Title in Blocks
  • 2004/2/27 12:38

  • jurgis

  • Just popping in

  • Posts: 72

  • Since: 2003/3/20


1)
take a look at your theme.html
now U can try sth like (this is for left blocks)
<{foreach item=block from=$xoops_lblocks}>
<{if}> <{$block.title != "block U want to hide"}>
<div class="blockTitle"><{$block.title}></div>
<{/if}>
<div class="blockContent"><{$block.content}></div>
<{/foreach}>


2)
well I have some kind of similar idea to have ability to toggle block content and to set it (in)visible by default.
see in this post how I deal with it now.

3)
I would like even some other very convenient feature - to be able to controll Groups' access to blocks from the blocks panel. (and Groups pane would be left for manipulating member).

Login

Who's Online

194 user(s) are online (129 user(s) are browsing Support Forums)


Members: 0


Guests: 194


more...

Donat-O-Meter

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

Latest GitHub Commits