News:

Join the Facebook Fan Page.

Main Menu

Hiding output

Started by Propaganistas, February 16, 2009, 10:37:20 AM

Previous topic - Next topic

Propaganistas

Hiya,

what do I have to do to hide the output of $context['random_news_line'] in the following code?

<div id="random_news"><p>', $context['random_news_line'], '</p></div>

Just deleting it isn't an option as the javascript call is required for another mod. It needs to be there. I already tried to delete it ;)

So, hiding the output would be nice :)

Thanks,
Propa

karlbenson

<div id="random_news"><p></p></div>

Propaganistas

Quote from: regularexpression on February 16, 2009, 11:56:28 AM
<div id="random_news"><p></p></div>

As I mentioned in my post, deleting isn't an option.

Propaganistas


Propaganistas


Rumbaar

I'm not sure what you need it for then.  That section is just the output display of the $context contents.  Deleting it shouldn't pose any affect on any other sections or even use of that $context contents.

You can try wrapping the whole thing in HTML comment tags? <!--  -->
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

Propaganistas

Ah well, I just put in a space so the news content 'does get displayed'. I can't use the news function though, but it's ok for now :)

Thanks anyway.

Advertisement: