Hi
How could I show date in this template?
Thank you?
<position>middlemenu</position>
<position>highlighter</position>
<position>middlenav1</position>
<position>middlenav2</position>
<position>topdate</position>
<!-- STANDARD Module Positions -->
<?php if($this->modules('highlighter')) : ?>
<div id="gkHighlighter">
<jdoc:include type="modules" name="highlighter" style="<?php echo $this->module_styles['highlighter']; ?>" />
</div>
<?php endif; ?>
<?php if($this->modules('highlighter')) : ?>
<div id="gkHighlighter">
<jdoc:include type="modules" name="highlighter" style="<?php echo $this->module_styles['highlighter']; ?>" />
</div>
<?php if($this->modules('topdate')) : ?>
<div>
<jdoc:include type="modules" name="topdate" />
</div>
<?php endif; ?>
<?php endif; ?>
/* Topdate Date Module */
#ty2udate195 { float: right; margin-top: 49px; padding-right: 5px; font-family: BebasNeue,Arial,sans-serif;}
/* top highlighter */
#gkHighlighter { position: absolute; left: 0; bottom: 8px; width: 70%; }
http://ty2u.com/downloads/joomla/modules/date-and-time.html
/* Topdate Date Module */
#ty2udate195 { float: right; margin-top: 49px; padding-right: 5px; font-family: BebasNeue,Arial,sans-serif;}
float: right; margin-top: 49px; padding-right: 5px; font-family: BebasNeue,Arial,sans-serif;
normanUK wrote:In Override.css delete below line
- Code: Select all
/* Topdate Date Module */
#ty2udate195 { float: right; margin-top: 49px; padding-right: 5px; font-family: BebasNeue,Arial,sans-serif;}
Goto Date2 Module settings and on the right Display Options CSS Styles in the box enter below and save and re-enable date module so we can make sure date module gets its styling.
- Code: Select all
float: right; margin-top: 49px; padding-right: 5px; font-family: BebasNeue,Arial,sans-serif;
On my 2 local installation class name is "ty2udate195" as you have disabled the module already i cannot see which class name module uses in your installation. So by doing above we can see if it does get the class css applied. So we can look further for correction when using image show...
<?php if($this->modules('highlighter')) : ?>
<div id="gkHighlighter">
<jdoc:include type="modules" name="highlighter" style="<?php echo $this->module_styles['highlighter']; ?>" />
</div>
<?php if($this->modules('topdate')) : ?>
<div>
<jdoc:include type="modules" name="topdate" />
</div>
<?php endif; ?>
<?php endif; ?>
<?php if($this->modules('highlighter')) : ?>
<div id="gkHighlighter">
<jdoc:include type="modules" name="highlighter" style="<?php echo $this->module_styles['highlighter']; ?>" />
</div>
<?php endif; ?>
<?php if($this->modules('topdate')) : ?>
<div id="ty2udate195">
<?php echo JHTML::_('date', 'now'); ?>
</div>
<?php endif; ?>
/* Topdate Date Module */
#ty2udate195 { float: right; margin-top: 10px; padding-right: 5px; font-family: BebasNeue,Arial,sans-serif;}