Is there a way of adding a box (HTML block or PHP block) on the page of your choice without it showing a pesky title/heading above it? I'd like some things to just 'be' on the page instead of having anything shouting about what it is. I understand the blocks are identified by the language keys they are given, but can the actual block titles themselves be hidden when rendered on a page?
|
Here ya go: With this mod, you can create your own blocks, and style them however you want. I used it to make some blocks without borders/head. http://www.boonex.com/unity/extensions/entry/PageBlock_Template_Changer |
Is a line or two missing from the PDF that comes with the download instructions for the mod? It reads:
------------------------------------------------- Around line 487, find this
around line 470 find this array code: 'Caption' => array(
'type' => 'text', -------------------------------------------------
...there's no instruction under that first line there. Any help? Otherwise it results in an error.
|
You can change design boxes directly for page blocks in the database. No modification to files required. BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
You can change design boxes directly for page blocks in the database. No modification to files required.
I've been searching but can't find where I can alter the properties of design blocks - any pointers, thank you!
|
Change value DesignBox in sys_page_compose from 1 to 2 or 3 (cannot remember which) this gets rid of border and title so that you can style completely from html content of block. BUT be warned - you will probably have to encapsulate your HTML in a DIV
HTH
/DM
Dolphin - Ajax Masturbation |
Change value DesignBox in sys_page_compose from 1 to 2 or 3 (cannot remember which) this gets rid of border and title so that you can style completely from html content of block. BUT be warned - you will probably have to encapsulate your HTML in a DIV
HTH
/DM
You can also create new design boxes. See the example design boxes in ./templates/base/ for more information.
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
Change value DesignBox in sys_page_compose from 1 to 2 or 3 (cannot remember which) this gets rid of border and title so that you can style completely from html content of block. BUT be warned - you will probably have to encapsulate your HTML in a DIV
HTH
/DM
Thanks DeeEmm - it's 2. It didn't really like what I was doing with it even with DIV and rendered it blank. I'll see what I can do.
|
You ever get this to work?
Change value DesignBox in sys_page_compose from 1 to 2 or 3 (cannot remember which) this gets rid of border and title so that you can style completely from html content of block. BUT be warned - you will probably have to encapsulate your HTML in a DIV
HTH
/DM
Thanks DeeEmm - it's 2. It didn't really like what I was doing with it even with DIV and rendered it blank. I'll see what I can do.
|
Question: Is it possible to change the design of specific blocks and not all of them? Sometimes communicating your problem and putting it out there is enough to solve it |
Question: Is it possible to change the design of specific blocks and not all of them?
Yes.
I reposted instructions here because the older posts on that subject are getting lost.
http://www.boonex.com/unity/forums/#topic/Custom-Design-Boxes-Each-block-on-page-can-be-different-.htm
https://www.deanbassett.com |
Thank you Deano.
I had a feeling YOU will have the answer to that. You deliver as always.
All the best.
Yuval
Sometimes communicating your problem and putting it out there is enough to solve it |