Last updated March 2, 2013. Created by Nitesh Singh on July 7, 2010.
Edited by JosefFriedrich, silverwing. Log in to edit this page.
1. Go to sites/all/modules/panels/plugins/styles/corners/rounded_corner.inc file –
$idstr .t-edge {
background: url($url/----(any).png) repeat-x 0 top;
font-size: 1px;
}put any color or image you want in background. Do same with the background tags given below.
2-
$idstr .wrap-corner .l, $idstr .wrap-corner .r {
position: absolute;
top: 0;
height: 11px;
width: 11px;
background-image: #e48f2f;
}We can change any image in background-image: tag.
3- If we want to call any image in this file than first of all we have to paste that image in panels/plugins/styles/corners folder.
Comments
Edit module???
To change module files - is not Drupal-way. How can I reassign this in my theme?
And if I even don't need the rounded corners totaly? For what this enabled by default???
for changes in theme
Hello if you want to do changes in theme than you can change in page.tpl.php file
<?phpprint $messages
?>
<?php
$journal= str_replace("<h2 class=\"pane-title\"><a href=\"http://ur url/?q=node/4122\">","<h2><a href=\"http://ur url/?q=node/4122\" style=color:#ffffff>" ,$content);
$book= str_replace("<h2 class=\"pane-title\"><a href=\"http://ur url/?q=node/4123\">","<h2><a href=\"http://ur url/?q=node/4123\" style=color:#ffffff>" ,$journal);
$conf_paper= str_replace("<h2 class=\"pane-title\"><a href=\"http://ur url/?q=node/4125\">","<h2><a href=\"http://ur url/?q=node/4125\" style=color:#ffffff>" ,$book);
$conf_proceed= str_replace("<h2 class=\"pane-title\"><a href=\"http://ur url/?q=node/4126\">","<h2><a href=\"http://ur url/?q=node/4126\" style=color:#ffffff>" ,$conf_paper);
$book_chap= str_replace("<h2 class=\"pane-title\"><a href=\"http://ur url/?q=node/4127\">","<h2><a href=\"http://ur url/?q=node/4127\" style=color:#ffffff>" ,$conf_proceed);
$misc= str_replace("<h2 class=\"pane-title\"><a href=\"http://ur url/?q=node/4124\">","<h2><a href=\"http://ur url/?q=node/4124\" style=color:#ffffff>" ,$book_chap);
for($i=0;$i<=5;$i++)
{
if($i==0)
{
$color=preg_replace("<div class=\"r-edge clear-block\">","<div style=\"background: #EEB4B4\" class=\"r-edge clear-block\">",$misc,1);
$color1=preg_replace("<div class=\"rounded-corner\">","<div style=\"background: #EEB4B4\" class=\"rounded-corner\">",$color,1);
}
if($i==1)
{
$color=preg_replace("<div class=\"r-edge clear-block\">","<div style=\"background: #D4ED91\" class=\"r-edge clear-block\">",$misc,1);
$color1=preg_replace("<div class=\"rounded-corner\">","<div style=\"background: #D4ED91\" class=\"rounded-corner\">",$color,1);
}
if($i==2)
{
$color=preg_replace("<div class=\"r-edge clear-block\">","<div style=\"background: #CDC0B0\" class=\"r-edge clear-block\">",$misc,1);
$color1=preg_replace("<div class=\"rounded-corner\">","<div style=\"background: #CDC0B0\" class=\"rounded-corner\">",$color,1);
}
if($i==3)
{
$color=preg_replace("<div class=\"r-edge clear-block\">","<div style=\"background: #88ACE0\" class=\"r-edge clear-block\">",$misc,1);
$color1=preg_replace("<div class=\"rounded-corner\">","<div style=\"background: #88ACE0\" class=\"rounded-corner\">",$color,1);
}
if($i==4)
{
$color=preg_replace("<div class=\"r-edge clear-block\">","<div style=\"background: #DBDB70\" class=\"r-edge clear-block\">",$misc,1);
$color1=preg_replace("<div class=\"rounded-corner\">","<div style=\"background: #DBDB70\" class=\"rounded-corner\">",$color,1);
}
if($i==5)
{
$color=preg_replace("<div class=\"r-edge clear-block\">","<div style=\"background: #FCE6C9\" class=\"r-edge clear-block\">",$misc,1);
$color1=preg_replace("<div class=\"rounded-corner\">","<div style=\"background: #FCE6C9\" class=\"rounded-corner\">",$color,1);
}
$misc=$color1;
}
//$color=str_replace("<div class=\"r-edge clear-block\">","<div style=\"background: #C5C9AB\" class=\"r-edge clear-block\">",$misc);
$correction=str_replace("<<","<",$color1);
$correction1=str_replace(">>",">",$correction);
$title1=str_replace("Journal Articles","<u>Journal Articles</u>",$correction1);
$title2=str_replace("Books","<u>Books</u>",$title1);
$content=$title2;
print $content;
?>