Hi I need some help finding the code for the admin box just above the news. Attached is a screen of what I mean. Any help would be greatly appreciated.
Admin>(Tiny Portal) Blocks>Center Blocks
Quote from: nokonium on June 08, 2006, 07:01:32 AM
Admin>(Tiny Portal) Blocks>Center Blocks
Thanks for the quick reply, but could you be more specific as to where this is, like what php file?
Its a block generated through the admin panel, and saved in the database. Its not hard coded into any file.
If you're looking to alter the code it's probably in the TportalBlocks.template.php file in your default theme.
thanks
There isn't an 'Admin Block', the block is a basic HTML block with view permission set to admin only.
Quote from: nokonium on June 08, 2006, 05:19:20 PM
There isn't an 'Admin Block', the block is a basic HTML block with view permission set to admin only.
I could see that already .... what I was wanting to do was add some background to this block to make it look like the rest of the board. The way it is now if I change the body background to a darker image then it cant be read. By default the board font color is black, which in turn can be changed but not needed if this block as it were had a backround like the news block.
Quote from: TreetopClimber on June 08, 2006, 05:28:24 PM
Quote from: nokonium on June 08, 2006, 05:19:20 PM
There isn't an 'Admin Block', the block is a basicÃ, HTML block with view permission set to admin only.
I could see that already .... what I was wanting to do was add some background to this block to make it look like the rest of the board. The way it is now if I change the body background to a darker image then it cant be read. By default the board font color is black, which in turn can be changed but not needed if this block as it were had a backround like the news block.
HTML code is usefull to solved this case, let's try once ;)
Quote from: elpvn on June 08, 2006, 05:33:13 PM
Quote from: TreetopClimber on June 08, 2006, 05:28:24 PM
Quote from: nokonium on June 08, 2006, 05:19:20 PM
There isn't an 'Admin Block', the block is a basic HTML block with view permission set to admin only.
I could see that already .... what I was wanting to do was add some background to this block to make it look like the rest of the board. The way it is now if I change the body background to a darker image then it cant be read. By default the board font color is black, which in turn can be changed but not needed if this block as it were had a backround like the news block.
HTML code is usefull to solved this case, let's try once ;)
If I knew where it was being called for in the script I could do this, hence the problem is I dont know where it is.
Go to Admin > Blocks and find the block. Click the hammer and screwdriver icon to edit it. You can change the html there.
Quote from: gerrymo on June 08, 2006, 05:43:38 PM
Go to Admin > Blocks and find the block. Click the hammer and screwdriver icon to edit it. You can change the html there.
ok got it .... if anyone else would like to use this you must check this line (Use frame from theme) inorder for it to show the background
Edit see how easy this could have been.
It's really is a HTML block when you switch it to, then you check at the opption in layout option of TP to removing the layout of theme to creat a new one in HTML for you, I think that's very easy on HTML coding :D
Quote from: TreetopClimber on June 08, 2006, 05:28:24 PM
By default the board font color is black, which in turn can be changed but not needed if this block as it were had a backround like the news block.
You need to change a setting within the block,
Admin>(Tiny Portal) Blocks>Center Blocks>Admin Block (https://www.tinyportal.net/smf/Themes/default/images/icons/config_sm.gif) > 'Use frame from theme' and click 'Send'