Login Form

Login or register to buy licenses or to access software previously purchased.

If you are experiencing login issues, empty your browser's cache and try login from the downloads page. Still having trouble? Please contact us!
×
Postings

You can freely browse the forum. However, you need a valid license in order to post (own a valid commercial software license or have purchased a support membership).

Posts only show after being reviewed.

Topic-icon Display message if no news available

  • [email protected]
  • m.advisor@web.de's Avatar Topic Author
  • Offline
More
9 months 3 weeks ago #4493 by [email protected]
I am using Joomla 3.5. On my website I start with HOME and I display a message like:
"Hier die letzten Informatione" (meaning: Here the latest news).
I do not want to display this message or, instaed of a the missing news the date and instead of the news the information "none" or "no news".

Do you have any idea how to manage this.
Thanks and best regards,
Hans

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

More
9 months 3 weeks ago #4494 by syw
Hello Hans,

did you try using the 'no data message' parameter from the 'layout' tab in the module?
The message only shows if there are no news.

If you need to show a message when there are news, you could either make a template override, or, if you are only using German (I assume you are using German), you can just use CSS and add the following snippet:
#lnee_[YOUR MODULE ID]::before {
    content: "Hier die letzten Informatione";
}

This will add the message 'Hier die letzten Informatione' before the items ONLY if there are any items. If there are none, the 'no data message' parameter will take over.

If you need to add a date, you definitely have to create a template override and add your own code into it.

Olivier.

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