Fork me on GitHub

pnmessages 1.5  Bottom

  • hi, i was trying to change the submit buttons to images. i successfully changed a few, but there is a template file that i can't get it to work.

    Code

    <div >
     <input type="submit" name="save" value="<!--[pnml name='_PNMESSAGES_SAVESELECTED']-->" />
     <input type="submit" name="delete" value="<!--[pnml name='_PNMESSAGES_DELETESELECTED']-->" />
    </div>


    this was found in pnmessages_user_viewinbox_messages under pmtemplates. i tried to change it to the following, just like how i did it for other pages.

    Code

    <div >
     <input type="image" name="save" value="<!--[pnml name='_PNMESSAGES_SAVESELECTED']-->" src="mypic.gif"/>
     <input type="image" name="delete" value="<!--[pnml name='_PNMESSAGES_DELETESELECTED']-->" src="mypic.gif"/>
    </div>


    but it can't work. i googled for help but i can only found that for 2 submit buttons, the names have to be different, which is the case.

    anyone know how to do it??
  • copy mypic.gif and name it mypic1.gif. Two pics, same image, different names.

    --
    David Pahl
    Zikula Support Team
  • oopss.. in fact i used different images and different names (save.gif and delete.gif). i typed mypic.gif for both bcuz i think its just an example :)
  • anyone has any idea? icon_confused
  • 0 users

This list is based on users active over the last 60 minutes.