Recent Topics

1 Sep 12, 2005 12:53    

Good morning,

In Helskinki admin, at this moment, posts are made to be read only by members who are logged in. When they are not logged in, or a guest visits, they will see this message on the blog face reading...

"Sorry, there is no post to display..."

In which file can it be changed it to read something slightly different?

In the meantime, I'm going to keep looking through the files hoping I stumble across it.

thank you

2 Sep 12, 2005 15:01

If you want to change it just in one skin, then open _main.php and find this line:

<?php // ------------------------------------ START OF POSTS ----------------------------------------
        if( isset($MainList) ) $MainList->display_if_empty(); // Display message if no post


The $MainList->display_if_empty() is the function that you need to change. Just put the message you want to use in quotes inside the parenthesis:

$MainList->display_if_empty( 'Your message goes here.' )


That's probably the right way to do it. If you want to change it across all skins on your site, then your need to find that function and change the default. It's probably in /b2evocore/_class_itemlist.php.

3 Sep 12, 2005 16:50

Hi personman

Yup. It worked well.

I did a copy and paste of your instructions for future reference
if I ever decide to change over to another skin or offer skin switching.

Thank you so much. :D


Form is loading...