Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter luisrotelli

    (@luisrotelli)

    I have found in the function custom_dashboard_widget() the line:

    echo '<div class="'.$widget_button_class.'">
    	<a href="'.$link.'">
    	'.$icon.'
    	<h3>'.__($item['title']).'</h3>

    Changed to:

    echo '<div class="'.$widget_button_class.'">
    	<a href="'.$link.'" target="_blank">
    	'.$icon.'
    	<h3>'.__($item['title']).'</h3>

    It worked.
    Seems that this could be an useful option to set up. I suggest to add a check box to the admin configure if he wants the links to open in the same window or in a new tab.
    Thanks again for this amazing plugin.

    • This reply was modified 7 years, 1 month ago by luisrotelli.
    • This reply was modified 7 years, 1 month ago by luisrotelli.
    • This reply was modified 7 years, 1 month ago by luisrotelli.
    Thread Starter luisrotelli

    (@luisrotelli)

    Hello Mat, Thank you for you answer.
    I could use page hierarchy instead of categories, no problem. The only thing I want is the capability of menu show pages with visibility set to private, because normally the menus only show public pages.
    So I reformulate the question considering only page hierarchy, if it is possible to show pages in sidebar menu with content visibility set to private.

    This issue is in BOOKING-ULTRA-PRO/CLASSES/BBOOKINGULTRA.SERVICE.PHP
    Search the line containing the expression time slot.
    As you can see below, they created a variable $s to make the plural form (time slots) when available_slots>1. Then, they concateneted the string of the label with this variable, but used a fixed string ‘ time slot’ and ‘ available’ instead of calling a translation.

    //label
    $s = ”;
    if($available_slots>1 || $available_slots==0 ){$s = ‘s’;}

    $label = $available_slots.__(‘ time slot’.$s.’ available ‘,’bookingup’);

    It is easy to fix, but it is better if they to do this, because if we change the file, the next update we lose what we have done.

    • This reply was modified 7 years, 3 months ago by luisrotelli.
Viewing 3 replies - 1 through 3 (of 3 total)