April 16, 2013 at 8:34 am #48759
Hi there,i want to translate the actually date-format from english to german, that was displayed under the breadcrumbs.I´ve changed all variables in en-GB.ini – but nothing happened.April 16, 2013 at 11:21 am #62783
Of course not, there is an answer for this, you must replace some code lines in templates/kallyas/index.phpHere is the answer: http://www.hogash.com/support/discussion/comment/13053#Comment_13053Install also you de_DE language to can do this in a better way.Regards,DanielApril 16, 2013 at 12:40 pm #62787
Hello Daniel,thanks – it works! But i get an error!“Warning: date() expects at most 2 parameters, 3 given in/www/htdocs/w00b0ca0/boxwerbung/templates/kallyas/index.php on line 287″April 16, 2013 at 1:29 pm #62792
Is a warning and not an error. Set in Global configuration > Server > Error Reporting to Default.Is it posible to copy / paste your change here? Because the date has 3 parameters and is the date from Joomla API core used.April 17, 2013 at 3:04 am #62841
Hi Daniel,sorry, you´re right – it´s only a warning 🙂Works fine, thanks a lot.My Code looks like this:<?php if($this->countModules(‘breadcrumb’)): ?><div class=”span6″><jdoc:include type=”modules” name=”breadcrumb” style=”none” /><?php if($menu_params->get(‘ph_showdate’,1)): ?><span id=”current-date”><?php$time_now = date($input = ‘now‘, $format = null , $tz = true);echo JHtml::date($time_now , ‘l, d M Y’, true);?></span><?php endif; ?></div><?php endif; ?>If i delete the line $input = ‘now‘ it works without a warning..April 17, 2013 at 9:08 am #62902
That means I can close this post, at time you get what you need.Regards,Daniel
The topic ‘Change date-format under breadcrumb´s’ is closed to new replies.