See example page at: http://jtest.us/joomlart/index.php?option=com_content&view=article&id=48&Itemid=53
With the way Droid is designed the fancy corners, top and bottom are a function of either enabling user1-3for the top and user7-10 for the bottom.
By hacking the default.php file at: ~/www/joomlart/plugins/system/jat3/base-themes/default/page (normally the path is: ~/www/plugins/system/jat3/base-themes/default/page). I added the following lines to the page between container and middle:
<div id=”ja-container” class=”wrap <?php echo $this->getColumnWidth(‘cls_w’)?$this->getColumnWidth(‘cls_w’):’ja-mf’; ?>”>
<div id="ja-topsl" class="wrap "> <!-- Beginning of custom top box -->
<!-- <div id="ja-botsl"><div class="main-inner4"> -->
<div class="main-inner4">
<div class="main-inner5">
<?php $this->genBlockBegin ($this->getBlocksXML (‘middle’)) ?>
This CSS:
#ja-container .main-inner4 { background: url(../images/botsl-left.png)
no-repeat 5px bottom;
}
#ja-container .main-inner5 {
background: url(../images/botsl-right.png) no-repeat right bottom;
}
This got the effect I wanted at the top which surprised me, but the bottom fails and the 2 corner .png images float to the left or right depending on the width of the page. I tried messing with the margins in the css, but no help. What next?
Related to this need, I am going to have to write an if statement to account for which pages to apply the effect or not, probably based upon the existence (or not) of user1, user2, or user3.
What PHP check can I add to test to see whether any of these modules are enabled on the page in question? i.e.
if ( $user1 ) { do this; } else { sleep; }
I know how to use things like
$component_option = JRequest::getVar('option');
to get a component option, etc, but how to you check for a specific module by name, not position?