Howdy-
Done the search but haven't come across what I need.
On my site Http://www.binaryoven.com I have several center blocks above the story boxes. At the moment I have "admin message" "gallery random" and "ephederms" all of which are fantastic. Well almost fantastic. Because these block have no borders around them it looks a bit messy and the contents of one block is hard to distinguish from another.
How can I, either in theme.php or elsewhere create a border around the centerblock. And for that matter is there a way to create a centerbock.htm in the fashion of rightblock.htm where I can include graphics and have it apply to all centerblocks?
Thank you.
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- mazdev responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 24. May
- nestormateo responded to »Fillters in Clip« 24. May
- damon responded to »Can the Updated Version Check be Turned Off (Z 1.3)« 24. May
- frw responded to »Bug in the SMTP mail transfer protocol - Port 25 - Zikula 1.2.9« 22. May
- mdee responded to »Short URL questions« 22. May
- mesteele101 responded to »Problem in Database Connection« 21. May
- Herr.Vorragend responded to »Clip Documentation and Doubt« 19. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Border around all center blocks??
-
- Rank: Softmore
- Registered: May 22, 2004
- Last visit: Apr 03, 2010
- Posts: 451
-
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Jun 26, 2009
- Posts: 41
Is this an AutoTheme? -
- Rank: Softmore
- Registered: May 22, 2004
- Last visit: Apr 03, 2010
- Posts: 451
-
- Rank: Expert
- Registered: Dec 02, 2002
- Last visit: Apr 30, 2010
- Posts: 1474
Looks like you solved you problem? Anyway nice theme :)
Oh from reading the article about "age and acheivement" it sounds to me like you need a good dose of the sunscreen song ;) - I always listen to it when I'm feeling down about my acheivements to date ;)
--
-Lobos
Professional PHP Framework Services: Concept, Development and Deployment -
**unknown user**
- Rank: Softmore
- Registered: Mar 16, 2002
- Last visit: Feb 08, 2007
- Posts: 165
hmmm. would you mind telling us how you did it? i'm using an auto theme right now and having the same issue. All my admin messages just seem to blend into one another. I've resorted to using cheesy "====" lines to separate the messages :( -
- Rank: Softmore
- Registered: May 22, 2004
- Last visit: Apr 03, 2010
- Posts: 451
@Lobos
Haha, I guess it was just one of those days, feeling a bit crummy. But there's no better cure than successfully chopping up a bunch of PHP to make one feel better-HA! And thanks, I tried hard to give my theme a unique look.
@Arkangel
Hello. Keep in mind I am not using an AutoTheme, I just use PHP themes(I guess I'm a masochist) so I cannot guarantee this will work for you.
I added this little bit of code to my theme.php
Code
//Begin Center Block
if ($block['position'] == "c") {
echo '<table width="100%" bordercolor="#000000" border=\"1\"><tr><td>'
.$block['content'].'</td></tr>'
."<br />";
}
Or you could call a background image:
Code
//Begin Center Block
if ($block['position'] == "c") {
echo '<table width="100%" background="/images/BackgroundImage.jpg" border=\"1\"><tr><td>'
.$block['content'].'</td></tr>'
."<br />";
}
You could for instance set the background of the table like so:
Code
//Begin Center Block
if ($block['position'] == "c") {
echo '<table width="100%" bgcolor="#EAE6D1" border=\"1\"><tr><td>'
.$block['content'].'</td></tr>'
."<br />";
}
If you have some experience with basic HTML then all this is redudundant and very easily understood...
Good luck -
- Rank: Expert
- Registered: Aug 20, 2002
- Last visit: Jan 12, 2010
- Posts: 1219
Help them Lobos! :)
-Shawn
--
Get the Revolutionary AutoTheme HTML Theme System! Currently for Zikula, PHP-Nuke, CRE Loaded, osCommerce and Wordpress!
- Moderated by:
- Support
