Hi Simon,

I have been working on creating Theming feature possible for PGA
interfaces. This would help all portals that are trying to use PGA to apply
their global theme options on top of PGA.

I have committed first iteration of code to master. To get the most out of
theming options I would like to explain how it works -

A "themes" folder has been added to the root. This will contain all themes
that users want to use. At the moment, it contains a "base" theme that
forms the default/sample theme applied on PGA. Following are the steps for
creating your own theme -

   1. After updating the code, you will have to run "composer update" in
   the root for the new theming package to set in.
   2. Copy paste the "base" folder in the same "themes" directory and
   rename it to the what you want your theme name to be.
   3. Open app/controllers/BaseController.php and change the theme name
   from "base" to what your theme name is, on lines 13 and 14.
   4. Open themes/<theme-name>/partials/header.blade.php. Here, you can add
   global header and style settings in the form of css for your portal that
   you want to have all across the web application.
   5. Open themes/<theme-name>/partials/header.blade.php. Here, you can add
   global footer and script settings in the form of js for your portal that
   you want to have all across the web application.
   6. Open themes/<theme-name>/partials/template.blade.php. Here, you can
   add the Landing page template that you would like your users would want to
   see on the website before logging in to PGA.
   7. You can also put your css and js files in themes/<theme-name>/assets
   and call them relatively into header/footer/template.


Please let me know if you run into any issues. I'll be happy to help.


On Tue, Aug 18, 2015 at 4:47 PM, Simon Twigger <[email protected]> wrote:

> Hi Supun
>
> Great suggestion - trying the wget from the command line gives me this
> error:
>
> [vagrant@localhost html]$ wget
> https://idp.scigap.org:7443/services/RemoteUserStoreManagerService?wsdl
> --2015-08-18 20:20:15--
> https://idp.scigap.org:7443/services/RemoteUserStoreManagerService?wsdl
> Resolving idp.scigap.org... 149.165.228.218
> Connecting to idp.scigap.org|149.165.228.218|:7443... connected.
> OpenSSL: error:100AE081:elliptic curve
> routines:EC_GROUP_new_by_curve_name:unknown group
> OpenSSL: error:1408D010:SSL routines:SSL3_GET_KEY_EXCHANGE:EC lib
> Unable to establish SSL connection.
>
> Searching around suggested that I needed to upgrade OpenSSL as this is a
> known bug that has since been fixed.
>
> I did a *yum update openss*l and that installed openssl-1.0.1e-42 (was
> previously openssl-1.0.1e-15)
>
> This seems to have resolved the problem, I did have a few other issues
> because I had messed around with the airavata connection (trying to connect
> to our airavata instance on AWS) but when I changed back to the
> airavata-server, -port and gateway-id values in the pga_config.php.template
> everything seems to work now. I have the user account created and can log
> in.
>
> Thanks for your help!
>
> Simon.
>
>
> --
> Simon Twigger, Ph.D.
> Senior Scientific Consultant
> BioTeam - Enabling Science, http://bioteam.net
>
> Email: [email protected]
> Tel: 1-303-991-0459
> Toll Free: 1-877-246-2992 Ext. 111
>
>
>
> On Aug 18, 2015, at 2:08 PM, Supun Nakandala <[email protected]>
> wrote:
>
> *wget https://id <https://id/>p.scigap.org
> <http://p.scigap.org/>:7443/services/RemoteUserStoreManagerService?**wsdl*
>
>
>


-- 
-Sincerely,
Nipurn Doshi

Reply via email to