Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

Date in header

  • Jochen Hornig
  • Jochen Hornig's Avatar Topic Author
  • Offline
  • New Member
More
10 years 7 months ago #136771 by Jochen Hornig
Date in header was created by Jochen Hornig
Hi there,

i want have the date in the header, what will be the simplest to remove it? (or to get it in german version like dd.mm.jjjj).

Thank you for your help

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 7 months ago #136772 by Krikor Boghossian
Replied by Krikor Boghossian on topic Date in header
Hallo Herbert,

You need to edit your template's index.php

Locate the following snippet
<div class="dateInput"><?php echo date("F j, Y, g:i a"); ?></div>

and change it to
<div class="dateInput"><?php echo date("d.j.Y "); ?></div>

Depending on your needs you can also try
<div class="dateInput"><?php echo date("D.M.Y "); ?></div

You can view all your options in this URL php.net/manual/en/function.date.php

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Jochen Hornig
  • Jochen Hornig's Avatar Topic Author
  • Offline
  • New Member
More
10 years 7 months ago #136773 by Jochen Hornig
Replied by Jochen Hornig on topic Date in header
Hello Krikor,
thank you for your very quick response, i removed the whole line (<div class="dateInput"><?php echo date("d.m.y "); ?></div>), hope i want get in trouble with this. I disabled also the search modul cause i will place an image here in the header.

Thank you again and also for your really exciting templates

Herbert

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 7 months ago #136774 by Krikor Boghossian
Replied by Krikor Boghossian on topic Date in header
Thank you for your kind words. :)

You wont get in trouble because custom.css and index.php are not included in the update packages.

Regards,

Krikor

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum