Viewing 15 replies - 1 through 15 (of 19 total)
  • Thread Starter christoffclr

    (@christoffclr)

    What’s up? no help?

    Try deleting the following from /ez-staff-list/plugins/staff_management.class.php

    $staff_members[$next_key][‘staff_hours’] = $_POST[‘staff_hours’];
    $staff_members[$key][‘staff_hours’] = $_POST[‘staff_hours’];
    $staff_hours = ”;
    $form->add_label(‘Hours’);
    $form->add_element(new textbox(‘staff_hours’, $staff_hours, 75));
    $staff_members[$key][‘staff_about’] .= gen_content(‘strong’, ‘Hours’) . $staff_member[‘staff_hours’];
    . div(gen_content(‘strong’, ‘My Hours: ‘) . $staff_member[‘staff_hours’], array(‘class’=>’my_hours’)), array(‘class’=>’staff_data’)

    See if that works. I have another error in the code, but I think that is only on my end.

    Plugin Author Luke

    (@codifyllc)

    Wow.. I’m sorry about that christoffclr. I thought I would have received an email saying someone posted about my plugin. I just happened to do a new release and I would have put this option in there ??

    I’ve had a few people email me directly with feature requests.

    To answer your question, see this video: https://screencast.com/t/V36QpGcx4Y

    Plugin Author Luke

    (@codifyllc)

    I just found where I can subscribe for the ez-staff-list tag ?? LOL

    Hey Lucas! I’m trying to do the same thing, remove the hours. I checked the link to your screencast and it’s not longer there. Do you have any advice on how to do this or maybe an updated link please?

    I appreciate your help!

    Plugin Author Luke

    (@codifyllc)

    Hello,

    Sorry, my free screencast account was getting full ??

    If you go to:
    /plugins/staff_management.class.php at line 383 you should see this:

    $staff_data = div($name . $image . div($staff_member['staff_about'], array('class'=>'staff_about')) . div(' ', array('style'=>'clear: both;')) . div(gen_content('strong', 'My Hours: ') . $staff_member['staff_hours'], array('class'=>'my_hours')), array('class'=>'staff_data'));

    Replace that line with this:

    $staff_data = div($name . $image . div($staff_member['staff_about'], array('class'=>'staff_about')) . div(' ', array('style'=>'clear: both;')), array('class'=>'staff_data'));

    Let me know if you have any problems with that. I would do a video now, but it’s really loud where I’m at.

    Thanks Lucas, that took away the My Hours, but there is a line that says “1 data_cell”. It shows up below where the “My Hours” used to be, and above the next person’s name. How can I remove this?

    Plugin Author Luke

    (@codifyllc)

    An you didn’t have that before?

    I’m wondering if you do not have XSLT or DOM xml enabled.

    No I actually did have it before, I guess I thought it might leave with the Hours, haha

    Plugin Author Luke

    (@codifyllc)

    I’m happy to help you out if you give me a jailed FTP account to just the ez-staff list plugin. You can even remove the FTP account when I’m all done.

    Send me an email at luke . hoezee {at} gmail.com if you want.

    Hey Lucas! Did you get my email?

    Plugin Author Luke

    (@codifyllc)

    Yes, sorry.. I’ve been out of town the last few days.. I’ll work on it in about an hour.

    Luke

    GREAT Plug-in. I am having the same issue. The code you provided above works to remove the “Hours” line – but still stuck with “1 data_cell” and I am not sure where to remove this.

    The page is:
    https://kaba-dc.org/board/

    I was able to adjust the css to shrink the font size to 0 but in Chrome it works – in Firefox, it does not hide it. Thanks.

    Plugin Author Luke

    (@codifyllc)

    Hey there,

    I believe I did the following to fix this for Ashley… I’ll need to come up with an official update soon..

    add session_start() above the framework call in ez-staff-list.php like the following:

    /**
    * Start the framework object
    */
    session_start();
    if (!class_exists('phplitefw_controller'))
    {
        include(dirname(__FILE__) . '/framework/phplitefw.inc.php');
    }

    If that still does not work, let me know and I can look further into it for you.

    That worked! Thank you so much.

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘[Plugin: EZ Staff List] Remove "Hours:" from the bottom’ is closed to new replies.