Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 11:11 am EST
Geeklog Forums
Plain one-off left block possible?
Status: offline
midlantica
Forum User
Newbie
Registered: 02/10/03
Posts: 13
Go here and check it out:
http://laprimacasa.com/index.php
Ok... see the big kid-like buttons on left? Well, they're in a block as per normal, can i have a plain block there without the surrounding rounded box [block] stuff? IE just plain big buttons? This is the last step to finisjhing this... so close...
Like my blocks?
Drew
http://laprimacasa.com/index.php
Ok... see the big kid-like buttons on left? Well, they're in a block as per normal, can i have a plain block there without the surrounding rounded box [block] stuff? IE just plain big buttons? This is the last step to finisjhing this... so close...
Like my blocks?
Drew
12
9
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Unfortunately, there's no easy way to get rid of the borders.
But if you want to keep the block in that position, you could hard-code it in the theme's leftblocks.thtml template file.
bye, Dirk
But if you want to keep the block in that position, you could hard-code it in the theme's leftblocks.thtml template file.
bye, Dirk
9
9
Quote
Status: offline
midlantica
Forum User
Newbie
Registered: 02/10/03
Posts: 13
Thanks for getting back so soon. I understand what you are saying and I'll probably end up editing that leftblocks.html.
But with all the beautiful work you've done (or added to) surely it would be an easy matter to make a blank block to be filled with anything? Or am I missing something obvious? DOes it screw wwith the rest of the sitre or something? The database?
Cheers
Drew
But with all the beautiful work you've done (or added to) surely it would be an easy matter to make a blank block to be filled with anything? Or am I missing something obvious? DOes it screw wwith the rest of the sitre or something? The database?
Cheers
Drew
8
12
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
There is actually another way that should work (haven't tested it, though): As you may now, a theme can use different block templates for the blocks on the left and right.
But the same idea can also be used for individual blocks. So you could use empty block header and footer templates for that particular block.
See one of the themes that have different left and right side blocks for sample code (or the clean theme, which has that code, too, although it's not really needed there).
bye, Dirk
But the same idea can also be used for individual blocks. So you could use empty block header and footer templates for that particular block.
See one of the themes that have different left and right side blocks for sample code (or the clean theme, which has that code, too, although it's not really needed there).
bye, Dirk
9
10
Quote
Status: offline
beewee
Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
There is a topic about this: http://www.geeklog.net/forum/viewtopic.php?forum=3&showtopic=30003
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
26
10
Quote
Status: offline
ByteEnable
Forum User
Full Member
Registered: 10/20/03
Posts: 138
There is a much easier way.....
Create a file named "functions.php" in your theme subdirectory
<?php
$_BLOCK_TEMPLATE['your_block_name'] = 'your_block_header.thtml,your_block_footer.thtml';
?>
Create a file named "your_block_header.thtml"
<!-- START BLOCK -->
<table border="0" cellpadding="1" cellspacing="0" width="100%">
<tr>
<td bgcolor="#FFFFFF" colspan="2">
Create a file named "your_block_footer.thtml"
</td>
</tr>
</table>
<br>
<!-- END BLOCK -->
Presto! A blank block, except for your code.
Byte
Create a file named "functions.php" in your theme subdirectory
Text Formatted Code
<?php
$_BLOCK_TEMPLATE['your_block_name'] = 'your_block_header.thtml,your_block_footer.thtml';
?>
Create a file named "your_block_header.thtml"
Text Formatted Code
<!-- START BLOCK -->
<table border="0" cellpadding="1" cellspacing="0" width="100%">
<tr>
<td bgcolor="#FFFFFF" colspan="2">
Create a file named "your_block_footer.thtml"
Text Formatted Code
</td>
</tr>
</table>
<br>
<!-- END BLOCK -->
Presto! A blank block, except for your code.
Byte
8
9
Quote
All times are EST. The time is now 11:11 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content