-
AuthorPosts
-
Carlos Friend
Carlos
- Join date:
- January 2008
- Posts:
- 26
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
March 30, 2012 at 6:43 am #175581Hi all!
Is it possible to move “date” and “last updated” to the position user3?
Thank you very much for their contributions.
Greetings!
swissa Friendswissa
- Join date:
- November 2011
- Posts:
- 1955
- Downloads:
- 7
- Uploads:
- 277
- Thanks:
- 175
- Thanked:
- 717 times in 572 posts
March 30, 2012 at 3:29 pm #446477My understanding of Joomla is that if this is a module then you can publish it in any valid position. It may need some css tweaks for the new position but as I said if it is a modules just change it’s position.
If you have an up-to-date backup then you are in a position to try anything! 🙂
Carlos FriendCarlos
- Join date:
- January 2008
- Posts:
- 26
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
March 30, 2012 at 6:42 pm #446514Hi, thanks for your answer.
Unfortunately it is not as simple as moving the position of the module, since it is not a module, the following code is inserted into the file … / templates / ja_teline_iii / blocks / header.php
<!-- HEADLINES & Top megamenu -->
<div class="ja-topbar clearfix"><p class="ja-day">
<?php
echo "<span class="day">".JHTML::_('date', 'now', 'l')."</span>";
echo "<span class="date">, ".JHTML::_('date', 'now', 'M ')." ".JHTML::_('date', 'now', 'd').JHTML::_('date', 'now', 'S')."</span>";
?>
</p><p class="ja-updatetime"><span><?php echo JText::_('JA_TIII_LAST_UPDATE')?></span><em><?php echo T3Common::getLastUpdate(); ?></em></p>
<?php if($this->countModules('headlines')) : ?>
<jdoc:include type="modules" name="headlines" />
<?php endif; ?><?php if($this->countModules('syndicate')) : ?>
<div class="ja-syndicate">
<jdoc:include type="modules" name="syndicate" />
</div>
<?php endif; ?><?php $this->showBlock('topmega') ?>
</div>
<!-- END HEADLINES -->
The question is: what is the correct way to insert this code in the user3 position?, I’m using “JCE Editor”, I set to accept javascript code, php, css and xhtml. But when you insert the code shows me nothing.
Any ideas?
Greetings!
swissa Friendswissa
- Join date:
- November 2011
- Posts:
- 1955
- Downloads:
- 7
- Uploads:
- 277
- Thanks:
- 175
- Thanked:
- 717 times in 572 posts
March 30, 2012 at 7:48 pm #446527Hi impulseg
Not being gifted when it comes to php, and as I don’t have Teline, I think perhaps I am not the best person to offer help. I had a play with a (well hacked) Purity I have and was able to get a result of sorts but probably better for someone with a proper brain a chip in!
Gruss
AuthorPostsViewing 4 posts - 1 through 4 (of 4 total)This topic contains 4 replies, has 2 voices, and was last updated by swissa 12 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Move the date and last update
Viewing 4 posts - 1 through 4 (of 4 total)