Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter 9swilddesign

    (@9swilddesign)

    Sorry also now I always seems to have an extra blank staff member that I cannot get rid of

    I need help with this same thing.
    Thanks!!

    @gabbyrachel: If you require assistance then, as per the Forum Welcome, please post your own topic.

    Plugin Author Luke

    (@codifyllc)

    Hello,

    I will provide you with a screencast video today, or at least tell you what file / line number to go to. Give me a few hours to wrap up a couple things.

    Thanks!

    Thread Starter 9swilddesign

    (@9swilddesign)

    Great thanks!! You can just tell me what file/line number to go to.. No need to make a video..

    Plugin Author Luke

    (@codifyllc)

    Wow, times goes by so quickly! Sorry for the delay.

    It looks like you’ve already removed the dashes based on your link, however for future people looking… Here’s what you need to do:

    If you never plan on having a title and want to completely remove the dash, you can go to:
    ez-staff-list/plugins/staff_management.class.php line #553
    and replace the entire line with:

    $name_title = div($name, array('class'=>'staff_name'));

    If you want it a little more dynamic based on if they have a title or not, replace line #553 with:

    if (!empty($title)) {
        $name_title = div($name . ' - ' . $title, array('class'=>'staff_name'));
    }
    else {
        $name_title = div($name, array('class'=>'staff_name'));
    }

    Regarding your gray boxes, it looks like you have some custom CSS in there, perhaps from your WYSIWYG in admin? See screenshot here: https://screencast.com/t/RjM0OXxOrXu Your CSS is inside of a code tag.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Remove Dash on Title’ is closed to new replies.