Four Js Development Tools Forum

Discussions by product => Genero Studio => Topic started by: Fadzil M. on June 23, 2016, 08:51:46 am



Title: Genero 3.0 - Customize default SetHtml5
Post by: Fadzil M. on June 23, 2016, 08:51:46 am
Hi,

How to customize default SetHtml5?

I want to remove 3 button at header (information, bookmark & close), How to change header color to white. Refer picture attachment screen.



Thank You



Title: Re: Genero 3.0 - Customize default SetHtml5
Post by: . on June 23, 2016, 03:40:27 pm

Hi Fadzil,

Attached is the customization to be applied.

Regards,
Guney

PS: SetHtml5 stands for the "old" GWC theme, the 3.0 default one is called GWC-JS


Title: Re: Genero 3.0 - Customize default SetHtml5
Post by: Reuben B. on June 24, 2016, 06:46:34 am
@Fadzil - More details about customization can be found here http://4js.com/online_documentation/fjs-gas-manual-html/#c_gwc_js_cust_intro.html

@Guney - Can you please explain the two changes you would've made 1) to change the color of the header 2) to remove the icons


Title: Re: Genero 3.0 - Customize default SetHtml5
Post by: Fadzil M. on June 24, 2016, 09:37:53 am
Hi,


"3.0 default one is called GWC-JS", it's true?  When i check my directory i only have SetHtml5 after installation. But i notice i have 1 zip file as below:

[root@FPEuro2 tpl]# pwd
/mnt1/4js/gst/gas/tpl
[root@FPEuro2 tpl]# ls -al
total 836
drwxrwxr-x  5 fourjs informix   4096 Mar 16 12:17 .
drwxrwxr-x 14 fourjs informix   4096 Jun 17 16:25 ..
drwxrwxr-x  2 fourjs informix   4096 Mar 16 12:17 common
-rw-rw-r--  1 fourjs informix 797950 Dec 15  2015 fjs-gwc-js-1.00.06-build201512141759-project.zip
drwxrwxr-x  5 fourjs informix  12288 Jun 23 14:08 SetHtml5
drwxrwxr-x  2 fourjs informix   4096 Dec 15  2015 shortcut
-rw-rw-r--  1 fourjs informix  19999 Jul  8  2015 symbol-wc.xsl
-rw-r--r--  1 fourjs informix   4477 Mar 16 12:17 symbol-wc.xsl.gz


Currently by default based on my environment,  which one is my default template we used.  I need unzip "fjs-gwc-js-1.00.06-build201512141759-project.zip" ?

Please advice


Thank You


Title: Re: Genero 3.0 - Customize default SetHtml5
Post by: Fadzil M. on June 27, 2016, 09:54:55 am
Hi Guney,

I already test your customize templete, but look nothing change on my environment. 

[fourjs@FPEuro2 gwc-js-1.00.06]$ vi custom.json
{
  "compile": {
    "mode":"cdev",
    "customization": "customization/myfolder"
    "with":{
      "nwjs": false,
      "android": false,
      "ios": false
    }
  }
}

 But what do you means Recompile with a grunt? & how to to this on genero studio?


Thank You


Title: Re: Genero 3.0 - Customize default SetHtml5
Post by: . on June 28, 2016, 06:14:27 pm

Hi Fadzil,

I guess that the customization hasn't been applied.
I invite you to read how it works in our documentation:
http://4js.com/online_documentation/fjs-gas-manual-html/#c_gwc_js_cust_intro.html
If you still doesn't make it work, please contact your local support center.

Regards,
Guney