2 afwas Jul 26, 2007 09:45

Something did not work correctly: http//favorista.com/
This is what is in the "head" of my _main.php file located at favorista.com/skins/nifty_corners/_main.php
<head>
<style type="text/css">
h3.bTitle{
color: #FFFFFF;
margin 0pt 1ex;
}
div.bTitle{
background-color: #888888;
clear: both;
margin: 1ex 1ex 0pt;
padding: 5px 0pt 4px;
}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Favorista.com</title>
<script type="text/javascript" src="nifty_corners.js"></script>
<script type="text/javascript">
window.onload=function()
{
if(!NiftyCheck())
return;
Rounded("div.outerwrap","all","transparent","#fff","");
Rounded("div.posts","all","transparent","#fff","");
Rounded("div.bSideBar","all","transparent","#fff","");
Rounded("div.bTitle","top","#EFEBD0","#888888","smooth");
}
</script>
</head>
Then, I copied from /blog/nifty_corners/rsc/nifty_corners.js to /nifty_corners/ --- Yet, as you can see, it does not look the same. Where did I go wrong?
In this directory where I edit the main appearance of the blog, the files are: rsc, blog_list.php, _feedback.php, _main.php, nifty_corners.php, skinshot.jpg
I am guessing that I am just not very good at following directions. Continued thanks.
What I meant was: place in existing head between <head> and </head> and not replace the existing head section by the code I gave.
I will come back to this problem in a few hours time.
Afwas wrote:
What I meant was: place in existing head between <head> and </head> and not replace the existing head section by the code I gave.
I will come back to this problem in a few hours time.
Heh, ok. You pretty much have to tell me exactly what to do step by step or I won't get it. Thanks.
Did you find the nifty_corners.js fie ans copy it into the folder of your skin?
I copied the js file to /public_html/skins/nifty_corners in that directory. Is that what you mean?
If you can just lay out step by step what to do... where exactly to put what, that would be most appreciated.
OK, I found it. It was a typo :)
Try this as the head of your skin. This replaces everything from the very top including </head>:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<head>
<?php skin_content_meta(); /* Charset for static pages */ ?>
<?php $Plugins->trigger_event( 'SkinBeginHtmlHead' ); ?>
<title><?php
$Blog->disp('name', 'htmlhead');
request_title( ' - ', '', ' - ', 'htmlhead' );
?></title>
<?php skin_base_tag(); /* Base URL for this skin. You need this to fix relative links! */ ?>
<meta name="description" content="<?php $Blog->disp( 'shortdesc', 'htmlattr' ); ?>" />
<meta name="keywords" content="<?php $Blog->disp( 'keywords', 'htmlattr' ); ?>" />
<meta name="generator" content="b2evolution <?php echo $app_version ?>" /> <!-- Please leave this for stats -->
<link rel="alternate" type="text/xml" title="RSS 2.0" href="<?php $Blog->disp( 'rss2_url', 'raw' ) ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom" href="<?php $Blog->disp( 'atom_url', 'raw' ) ?>" />
<link rel="stylesheet" href="rsc/styles.css" type="text/css" />
<link rel="stylesheet" type="text/css" href="rsc/nifty_corners.css" />
<link rel="stylesheet" type="text/css" href="rsc/nifty_print.css" media="print" />
<script type="text/javascript" src="rsc/nifty_corners.js"></script>
<script type="text/javascript">
window.onload=function()
{
if(!NiftyCheck())
return;
Rounded("div.outerwrap","all","transparent","#EFEBD0","");
Rounded("div.posts","all","transparent","#EFEBD0","");
Rounded("div.bSideBar","all","transparent","#888888","");
Rounded("div.bTitle","top","#EFEBD0","#888888","");
}
</script>
</head>
I haven't been sitting around. I made a custom skin, three columns nifty corners with your colours. I called it Favorista.
You can donwload the complete skin as a zip file. Unzip it and upload the complete folder to ../skins/ It should now turn up as favorista in your list of skins.
You should change the logo image to nicer colours.
Happy blogging
Wow. Thanks. I will be spending some time to try and figure this all out, but thank you very much for all of your effort.
The one that was downloaded, pls retry, the background image was not refreshed, corrected in new version.
Afwas wrote:
The one that was downloaded, pls retry, the background image was not refreshed, corrected in new version.
Yeah I was able to figure that out. I just made an image with the #EFEBD0 and changed the background color and that worked. Again, thanks a lot. You were an incredible amount of help.
In the <head> section of _main.php add the folowing:
Also add to the <head> section of _main.php:
Finally: find the file nifty_corners.js in ../blog/skins/nifty_???/rsc/ and copy it to ../skins/YOURSKIN/
Good luck