Just try something like this, 'internal' Module access seems not possible in this Modus.
http://www.bigmax.ch/cart/index.php?route=common/home
I did not even check, if the stylesheet section is required, possibly not all of it!
Just play around with it, you cannot break anything ! But all internal MODULE-Activity will
probably not work, at least, I was unable, to make something going, after creating a
Maintenance Layout. But I only played around a few minutes, so, I just don't know...
Good Luck
Ernie
PS: And, generally, you cannot just take something out of a File, containing 'Definitions/Variables/Values', and
make them work in other places. Such Code - 'Existence' always has to defined/declared, mostly in controller/language/model - files, placed in Sections, named/related to whatever whereever it is 'planned' to 'show off'. Because of Security, they say, 'Globally set Variables' are out of 'style', in most modern Software, to a large extend, but it makes it much more complicated to handle, not only for the hackers
File:
maintennance.tpl
Code: Select all
<?php echo $header; ?>
<div class="container">
<style type="text/css">
#container {
background: #FFFFFF;
text-align:center;
width: 90%;
-webkit-border-radius: 7px 7px 7px 7px;
-moz-border-radius: 7px 7px 7px 7px;
-khtml-border-radius: 7px 7px 7px 7px;
border-radius: 7px 7px 7px 7px;
-webkit-box-shadow: 1px 1px 2px 2px #DDDDDD;
-moz-box-shadow: 1px 1px 2px 2px #DDDDDD;
box-shadow: 1px 1px 2px 2px #DDDDDD;
padding-top: 10px;
padding-bottom: 10px;
padding-left: 10px;
padding-right: 10px;
margin-top: 20px;
margin-bottom:20px;
margin-left: 15px;
margin-right: 15px;
line-height: 20px;
}
.box {
padding: 6px 4px 6px 4px;
font-family: Arial, Helvetica, sans-serif;
font-size: 15px;
font-weight: bold;
line-height: 14px;
color: #333;
}
.box a {
color: #F40000;
font-weight: bold;
font-size: 15px;
text-decoration: none;
}
.price {
text-decoration: none;
font-family: Verdana, sans-serif;
font-weight: bold;
font-size: 16px;
color: #333333;
}
.description {
font-family: Verdana, sans-serif;
color: #2D2D2D;
text-decoration: none;
}
.button {
text-align:center;
width: 140px;
-webkit-border-radius: 7px 7px 7px 7px;
-moz-border-radius: 7px 7px 7px 7px;
-khtml-border-radius: 7px 7px 7px 7px;
border-radius: 7px 7px 7px 7px;
-webkit-box-shadow: 1px 1px 2px 2px #DDDDDD;
-moz-box-shadow: 1px 1px 2px 2px #DDDDDD;
box-shadow: 1px 1px 2px 2px #DDDDDD;
padding-top: 6px;
padding-bottom: 6px;
padding-left: 10px;
padding-right: 10px;
background: #CDCDCD;
border: 1px solid #EEEEEE;
text-decoration: none;
color: #F20000;
line-height: 60px;
font-family: Verdana, sans-serif;
font-size: 20px;
font-weight: bold;
}
</style>
<div class="center">
<table style="border-collapse:collapse;text-align:center;" border="0" width="100%" id="AutoNumber1">
<tr>
<td width="33%" style="class="center">
<div id="container">
<div class="box">
<a href="http://www.openshop.li/shop/index.php?route=product/product&path=25&product_id=499">
<img src="http://images.openshop.li/shop/image/cache/data/demo/skelerodbg-200x200.jpg" title="Abstract modes procedure" alt="Abstract modes procedure" height="200" width="200"></a></br />
<a href="http://www.openshop.li/shop/index.php?route=product/product&path=25&product_id=499">Authentische logischer</a></div>
<div class="description">Tacimates 1945 type advancements faculties billion connecting</div>
<div class="price">Fr. 513.00</div>
<a class="button" href="http://www.openshop.li/shop/index.php?route=product/product&path=25&product_id=499">See Product</a>
</div>
</td>
<!-- CENTER Section -->
<td width="34% style="class="center">
<div id="container">
The Shop is closed right now. Please click on one of the Images, to continue.
</div>
</td>
<!-- END OF CENTER Section -->
<td width="33%" style="class="center">
<div id="container">
<div class="box">
<a href="http://www.openshop.li/shop/index.php?route=product/product&path=25&product_id=4644">
<img src="http://images.openshop.li/shop/image/cache/data/demo/619348714_Big-540x540-200x200.jpg" title="Abstract modes procedure" alt="Abstract modes procedure" height="200" width="200"></a><br />
<a href="http://www.openshop.li/shop/index.php?route=product/product&path=25&product_id=4644">Needs notwendigkeit</a></div>
<div class="description">Tacimates 1945 type advancements faculties billion connecting</div>
<div class="price">Fr. 513.00</div>
<a class="button" href="http://www.openshop.li/shop/index.php?route=product/product&path=25&product_id=4644">See Product</a>
</div>
</td>
</tr>
</table>
</center>
</div></div>
<?php echo $footer; ?>