Neat. I used to have a user tag for this one, but for each project I had to do some extra coding because I keep using section headers quite frequently. Thanks for this function!
Regards,
Nils
New plugin: Sectionheader
Re: New plugin: Sectionheader
Hi,
Your code is exactly what I need, but I don't seem te get it working.... Maybe because I am an inexperienced php programmer..
This is what is in my style sheet:
div#header2 {
margin: 0;
padding: 0;
height: 60px;
background: #000000;
text-align: left;
}
div#header2 h1 a {
background: url(uploads/images/Y_logo.jpg) no-repeat 0 2px;
display: block;
height: 110px;
text-indent: -700em;
width: 120px;
margin: 6px;
padding: 0px;
}
And this is what is in my code:
{cms_selflink dir="start"}{sectionheader}
I copied your file into the plugins directory and renamed it to: function.sectionheader.php
Can you please help me??? Many thanx in advance!!
Barbera
Your code is exactly what I need, but I don't seem te get it working.... Maybe because I am an inexperienced php programmer..
This is what is in my style sheet:
div#header2 {
margin: 0;
padding: 0;
height: 60px;
background: #000000;
text-align: left;
}
div#header2 h1 a {
background: url(uploads/images/Y_logo.jpg) no-repeat 0 2px;
display: block;
height: 110px;
text-indent: -700em;
width: 120px;
margin: 6px;
padding: 0px;
}
And this is what is in my code:
{cms_selflink dir="start"}{sectionheader}
I copied your file into the plugins directory and renamed it to: function.sectionheader.php
Can you please help me??? Many thanx in advance!!
Barbera