Hi Jonathanm

you hvae already editing the menupanel.

open conf/settings.conf:
under 'help_button_image'
add your 2 new entries for the button.

now go to biomart-perl/htdocs/martview/images and add the images there. Remember that in settings.conf, its mview/images but you ONLY add your images under htdocs/images/


open htdocs/martview/martview_template.css
look for .mart_btn_perl and add a similar entry for your button
look for .mart_btn_perl_disabled and add a similar entry for your button when its disabled. the names here should match what you entered in conf/settings.conf.

now reconfigure (perl bin/configure.pl) and restart apache, you button should appear.

let me know how you get on with this,

Best,
Syed






Moore, Jonathan wrote:
We would like to add a new button next to the 'URL' and 'XML' buttons.

The function of this would be to pass the XML version of the query (e.g. using HTML POST) to an external script, in a new window.

Can you advise what changes we would need to make?

I have made conf/templates/custom/menupanel.tt to begin with, but where do I put the images for the button, and how to call the new page and pass the XML to it?

Hope you can help with some pointers.

Jay Moore

Dr. Jonathan Moore
Senior Research Fellow in Bioinformatics
--
Warwick Systems Biology Centre
Coventry House
University of Warwick
Coventry CV4 7AL
U.K.
+44 (0)24 761 50332
http://www.warwick.ac.uk/go/jaymoore

Reply via email to