News:

Looking for documentation? Take a look on our wiki

Main Menu

placeholder textinput plugin

Started by fabioweb, November 07, 2016, 18:44:53 PM

Previous topic - Next topic

fabioweb

Hello!
is it possible to set a dynamic placeholder in /plugins/vmcustom/textinput/textinput/tmpl/default.php

<input class="<?php echo $class ?>"
   type="text" value=""
   size="<?php echo $params->custom_size ?>"
   name="<?php echo $name?>"
><br />


Thank you =)

K&K media production

you can made a template override for this file and add your placeholder there

templates/your_template/html/vmcustom/textinput/default.php

fabioweb

Thats right but if i have more than one textinput?
It will be the same for every fields

K&K media production

you can use title, description, default value etc as placeholder inside your override