Page 1 of 1

How can I insert a line break in this code?

Posted: Tue Jan 29, 2008 3:25 pm
by Tsubaru
I want to break the exibition of update, author and created, just like the lines below inthe code.

How to insert "" in this code, after wich info?

Code: Select all

<?php 
if (
	(!empty ($this->article->modified) && $this->params->get('show_modify_date')) ||
	($this->params->get('show_author') && ($this->article->author != "")) ||
	($this->params->get('show_create_date'))) : 
?>

Re: How can I insert a line break in this code?

Posted: Fri Feb 01, 2008 5:11 pm
by PerroLoco
Tsubaru -

This code is not code that is controlling the output on the page. The code you included here is just a conditional test.

You will probably be able to get more help if you better explain what you want to achieve. Are you working with how an article is displayed? If so, are you're looking at code in the content component? Or something else?