Author Topic: [3.8.9] vmadmin template feedback  (Read 3762 times)

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1242
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: [3.8.9] vmadmin template feedback
« Reply #15 on: March 23, 2021, 20:48:11 pm »
Tooltip with class = hasPopover not function (on Safari, Chrome)
Not exist option Tooltip for booleanlist (YES/NO)


Ok, I edit function row in administrator/templates/vmadmin/html/com_virtuemart/helpers/vmuikit_html.php

and change to this code (Tooltip use standard Joomla/BS function hasTooltip, not hasPopover):

Code: [Select]
        $tooltiptext = "";
        $class="uk-form-label";
        $classt="uk-form-label";
        if ($lang->hasKey($label.'_TIP')) {
            $tooltiptext = htmlentities(vmText::_($label.'_TIP'));
        } //Fallback
        elseif ($lang->hasKey($label.'_EXPLAIN')) {
            $tooltiptext = htmlentities(vmText::_($label.'_EXPLAIN'));
        }
        if ($tooltiptext) {
            //New
            $tooltiptitle=' data-title="'.$tooltiptext.'"';
            $classt.=' hasTooltip';
            //Old
            $tooltiptext=' data-content="'.$tooltiptext.'"';
            $class.=' hasPopover';
        }
        $label = vmText::_($label);
        if ($func[1]=="checkbox" or $func[1]=="input") {
            $label = "\n\t" . '<label class="'.$class.'"
for="'. $args[0] . '"
id="' . $args[0] . '-lbl"'.$tooltiptext.'>'.$label."</label>";
        } elseif ($func[1]=="booleanlist") {
            $label = "\n\t" . '<div class="'.$classt.'" title="" '.$tooltiptitle.'>'.$label."</div>";
        } else {
            $label='
<div class="uk-form-label">'
                .$label.
            '</div>';
        }

www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds from products, orders and database table
Virtuemart Email Manager - customs email templates

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3491
  • VirtueMart Version: 3.8.9
Re: [3.8.9] vmadmin template feedback
« Reply #16 on: March 24, 2021, 11:42:01 am »
Yes - uikit does take some getting used to
Regards
A

Joomla 3.9.27
php 7.4

Troels_E

  • Jr. Member
  • **
  • Posts: 91
Re: [3.8.9] vmadmin template feedback
« Reply #17 on: June 05, 2021, 11:24:50 am »
Where did "Action when a Product is Out of Stock" go?

Cant find it on the new template (Product->status)?



jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28224
  • Always on vacation
    • Jenkin Hill Internet
Re: [3.8.9] vmadmin template feedback
« Reply #18 on: June 05, 2021, 12:36:34 pm »
Is "Stockhandling on product level " turned on in config/shopfront?
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 3.8.9.10473 on Joomla 3.9.28 PHP 7.4.14

Troels_E

  • Jr. Member
  • **
  • Posts: 91
Re: [3.8.9] vmadmin template feedback
« Reply #19 on: June 07, 2021, 21:16:11 pm »
Stockhandling on product level is on.
J! 3.9.27
VirtueMart 3.8.8 10472

first is shot from new admin second pic is old admin (filnames are wrong, sorry)