question about HTML Customization Settings in GBrowse

View: New views
3 Messages — Rating Filter:   Alert me  

question about HTML Customization Settings in GBrowse

by 陈冠华 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

There is examples in GBrowse2 HOWTO that tells us how to customize the webpage looking.Like:
header = <img src="/banner.jpg">
footer = <hr>For help please see the <a href="help.html">help pages.</a>

But which directory/folder should I put these file lilke "banner.jpg"  and "help.html". Thank you very much!

Yours
Josh Chen

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse@...
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse

Re: question about HTML Customization Settings in GBrowse

by Scott Cain-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Josh,

You can put the files anywhere you want that is readable by the  
webserver.  In your example, you used:

   <img src="/banner.jpg">

and regular html rules apply, so there would have to be a file called  
banner.jpg in your web document root (typically something like /var/
www or /var/www/html, depending on your OS/apache conf).  In your  
other example, the href of help.html without the leading slash might  
be problematic, since it would be a relative url indicating a file in  
the same path as the current page (which would be the cgi).

I guess what I would suggest is that you create a directory like  
$DOCROOT/gbrowse/local and put your files in there, and then write  
your html like:

   <img src="/gbrowse/local/banner.jpg">

Scott


On Sep 7, 2009, at 9:35 PM, 陈冠华 wrote:

> Hi all,
>
> There is examples in GBrowse2 HOWTO that tells us how to customize  
> the webpage looking.Like:
> header = <img src="/banner.jpg">
>
> footer = <hr>For help please see the <a href="help.html">help  
> pages.</a>
> But which directory/folder should I put these file lilke  
> "banner.jpg"  and "help.html". Thank you very much!
>
> Yours
> Josh Chen
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008  
> 30-Day
> trial. Simplify your report design, integration and deployment - and  
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july_______________________________________________
> Gmod-gbrowse mailing list
> Gmod-gbrowse@...
> https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse

-----------------------------------------------------------------------
Scott Cain, Ph. D. scott at scottcain dot net
GMOD Coordinator (http://gmod.org/) 216-392-3087
Ontario Institute for Cancer Research





------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse@...
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse

Re: question about HTML Customization Settings in GBrowse

by 陈冠华 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Scott,

Yes,it helps. Also it is good to check the error_log when debug the GBrowse configuration.Thank you for your reply.

Yours
Josh

2009/9/7 Scott Cain <scott@...>
Hi Josh,

You can put the files anywhere you want that is readable by the webserver.  In your example, you used:

 <img src="/banner.jpg">

and regular html rules apply, so there would have to be a file called banner.jpg in your web document root (typically something like /var/www or /var/www/html, depending on your OS/apache conf).  In your other example, the href of help.html without the leading slash might be problematic, since it would be a relative url indicating a file in the same path as the current page (which would be the cgi).

I guess what I would suggest is that you create a directory like $DOCROOT/gbrowse/local and put your files in there, and then write your html like:

 <img src="/gbrowse/local/banner.jpg">

Scott



On Sep 7, 2009, at 9:35 PM, 陈冠华 wrote:

Hi all,

There is examples in GBrowse2 HOWTO that tells us how to customize the webpage looking.Like:
header = <img src="/banner.jpg">

footer = <hr>For help please see the <a href="help.html">help pages.</a>
But which directory/folder should I put these file lilke "banner.jpg"  and "help.html". Thank you very much!

Yours
Josh Chen
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse@...
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse

-----------------------------------------------------------------------
Scott Cain, Ph. D. scott at scottcain dot net
GMOD Coordinator (http://gmod.org/) 216-392-3087
Ontario Institute for Cancer Research






------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse@...
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse