Hi Zhong, Marcus and I briefly discussed on approaches on how to do this. We are interested to see your customizations. Can we get on a call and understand what you would like to change? It will be nice to have you change it in the airavata code base itself (by sending pull requests) and we can do some hacks to make sure those changes only apply for your gateway.
Our motivation is to understand the nature of customizations so we can feed them as requirements into improvements to portal framework itself. When is a good time to hop on a call and discuss more? Suresh > On Oct 18, 2016, at 3:32 PM, Zhong Wang <[email protected]> wrote: > > Hello Suresh, > > I understood your ideas and thank you for your making a new repository for > dreg theme. > > Because we have other modification requirements to the airavanta code, so I > am wondering, can you make a hook for the whole dreg website, so I can change > some logic in PHP codes. > > Best, > > Zhong Wang > > > From: Suresh Marru [mailto:[email protected]] > Sent: Thursday, October 6, 2016 11:52 AM > To: Airavata Users <[email protected]> > Subject: Re: How to update the front page for the Airavata system > > Hi Zhong, > > I added a copt of the base theme to a git repo - > https://github.com/SciGaP/dreg-gateway-theme > <https://github.com/SciGaP/dreg-gateway-theme> and modified the pga config of > your deployment to point to this repo. Can you send your github user name as > we will give you write access to this repo? > > Once you commit any changes, we will install a github hook so the changes > will automatically get deployed to your PGA. With this you will not need any > direct scp access but pretty much control the look and feel of your gateway > by committing changes to this git repo. > > Cheers, > Suresh > > On Oct 6, 2016, at 11:34 AM, Zhong Wang <[email protected] > <mailto:[email protected]>> wrote: > > This is my understanding. The update should be taken by the following steps: > > 1) Download the source code and change the theme in the Github code > https://github.com/apache/airavata-php-gateway/blob/master/app/config/pga_config.php.template#L171 > > <https://github.com/apache/airavata-php-gateway/blob/master/app/config/pga_config.php.template#L171> > > 2) Upload the modified codes to the web folder of dreg.dnasequence.org > <http://dreg.dnasequence.org/> by the ‘scp’ command or other FTP tools . > > 3) Check the changes in the web site(dreg.dnasequence.org > <http://dreg.dnasequence.org/>). > > My question is > > 1) Do I need to ‘push’ the changed codes into the Github library? > > 2) How and where can I ‘scp’ the changed codes into the web folder of > dreg.dnasequence.org <http://dreg.dnasequence.org/> hosted in > gw75.iu.xsede.org <http://gw75.iu.xsede.org/>. I don’t have any user account > on this web server. > > Please point to the mistakes of my understanding. > > Thanks, > > Zhong Wang > > > > From: Supun Nakandala [mailto:[email protected] > <mailto:[email protected]>] > Sent: Thursday, October 6, 2016 10:57 AM > To: [email protected] <mailto:[email protected]> > Subject: Re: How to update the front page for the Airavata system > > Hi Zhong, > > The basic appearance of the PGA can be customized using the theme. The > default theme (base theme) is available in this folder > https://github.com/apache/airavata-php-gateway/tree/master/public/themes > <https://github.com/apache/airavata-php-gateway/tree/master/public/themes>. > > > Similarly you can add new folder for your customized theme, copy the content > and change the default appearance in the way you want. After adding those you > should also change the theme name in pga_config.php file > https://github.com/apache/airavata-php-gateway/blob/master/app/config/pga_config.php.template#L171 > > <https://github.com/apache/airavata-php-gateway/blob/master/app/config/pga_config.php.template#L171>. > > > On Thu, Oct 6, 2016 at 10:20 AM, Zhong Wang <[email protected] > <mailto:[email protected]>> wrote: > Hello, > > We are developing the gateway dreg.dnasequence.org > <http://dreg.dnasequence.org/> with the help of Airavata system. I have > prepared some HTML pages and want to change the default front page with new > design. Would you like to tell me how to change these pages? > > Do we have some methods to copy these files (FTP) into the gateway host? > Because we use the host which is same ashttps://testdrive.airavata.org > <https://testdrive.airavata.org/>, so far we don’t have any permission to > access the files in the host. > > Thank you, > > Zhong Wang > > > > > > > > > > -- > Thank you > Supun Nakandala > Dept. Computer Science and Engineering > University of Moratuwa
