| Re: Old style blocks administrator tools |
| by tzvook on 2012/2/3 15:39:04 @ cgunther and JCash Follow my hack and you'll find the solution https://xoops.org/modules/newbb/viewtopic.php?post_id=301806#forumpost301806 a 3 years old hack that still rocks ... |
| Re: Old style blocks administrator tools |
| by Mamba on 2011/12/4 19:25:37 Quote: Definitive french translation (there were other pb with simple and double quote) Please use single quotes for Defines, as they are slightly faster than double quotes - this is because when you use double quotes PHP has to parse to check if there are variables in there. Of course, you'll use double quotes, if there is a need for a single quote inside, e.g. define('_AM_DOUBLEQUOTE',"Please don't use double quotes"); While the difference might be small, it can add up, so it's good to keep the code consistent ![]() |
| Re: Old style blocks administrator tools |
| by JCash on 2011/12/4 11:47:15 hi Definitive french translation (there were other pb with simple and double quote) Quote: <?php |
| Re: Old style blocks administrator tools |
| by cgunther on 2011/10/25 2:09:48 yeah, no... the folks that run the site know nothing about css or html. Programming to them is figuring out what to watch by reading the TV Guide. That is why I suggested a radio button or check-box in the blocks-admin to hide or show the title on the front side. If it can't be done with the given tools in the admin interface on the site, they won't look for another way. |
| Re: Old style blocks administrator tools |
| by JCash on 2011/10/25 1:03:27 You could do that with css .blocktile {display: none} And if you need to display some titles and hide others, you could go further (always with css) In your tpl le="color: #000000"><?php <div id="block-<{$block.id}>"> <div class="blocktitle"><{$block.title}></div> <{$block.content}> </div> In style.css #block-7777 .blocktitle, #block-45 .blocktitle, #block-32 .blocktitle {display: none;} |