How can I insert a line break in this code?

Have a programming question regarding your component, plug-in, extension or core hacks? Have an interesting tidbit, FAQ or programming tip you’d like to share? This is the place for you.

Moderators: tjay, seadap, Rogue4ngel, matthewhayashida

Post Reply
Tsubaru
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sat Jan 26, 2008 5:54 pm
Location: Rio de Janeiro

How can I insert a line break in this code?

Post by Tsubaru » Tue Jan 29, 2008 3:25 pm

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'))) : 
?>

User avatar
PerroLoco
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Fri Dec 29, 2006 4:34 pm
Location: Colorado western slope
Contact:

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

Post by PerroLoco » Fri Feb 01, 2008 5:11 pm

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?


Post Reply