Re: [Dhis2-users] Dataset Custom Forms (CSS & JS)

2018-02-07 Thread Makhate Makhate
Thanks,

I ran the POST-request and it looks like it ran successfully because i can
see the CSS file when i run /api/28/files/style.

One last thing, how do i link/reference that css file? I'm asking this
because the styling is not working on my forms.

Warmest regards,
Makhate, ICAP Lesotho

On Wed, Feb 7, 2018 at 7:49 AM, Jason Pickering <jason.p.picker...@gmail.com
> wrote:

> Did you have a look at our developer documentation on the use of custom
> CSS/JS?
>
> https://docs.dhis2.org/master/en/developer/html/webapi_ui_
> customization.html
>
> This should also work for inline JS in the form.
>
> 
> <!--
>  JS CODE HERE
> -->
> 
>
>
>
> On Wed, Feb 7, 2018 at 6:38 AM, Makhate Makhate <makhatemakh...@gmail.com>
> wrote:
>
>> Hi Diao,
>>
>> Thanks for helping out.
>>
>> What do you mean when you say "*it maybe possible to use files*" what do
>> you mean by files.
>>
>> The only trick that I could come up with is doing it like this but it
>> doesn't quite work:
>>
>> 
>>   /*
>>  CSS code here
>>   */
>> 
>>
>> 
>>
>> 
>>
>> Well, doing it like this, when i hit Preview i can see basic
>> interactivity but when i load the actuall dataset, it doesn't work.
>>
>> Does anyone know exactly where to put JS and CSS code.
>>
>> Kind regards,
>> Makhate,
>> ICAP Lesotho
>>
>> On Tue, Feb 6, 2018 at 5:54 PM, Mamadou Diao Diallo <
>> diao_dia...@gn.jsi.com> wrote:
>>
>>> Hi Makhate,
>>>
>>> It maybe possible to use files but I used to paste Javascript code in
>>> the Source window at the custom form editor, following this link
>>> https://docs.dhis2.org/master/en/user/html/database_design.html#d0e36608
>>> see the section *30.5.3.1.2. Custom Forms.*
>>>
>>> Best
>>>
>>> *Diao*
>>>
>>> 30.5.3.1.2. Custom Forms
>>>
>>> On Tue, Feb 6, 2018 at 2:30 PM, Makhate Makhate <
>>> makhatemakh...@gmail.com> wrote:
>>>
>>>> ​Hello Communit​y,
>>>>
>>>> I am customizing the UI form of our datasets here. We need help on
>>>> where to put CSS and Javascript files.
>>>>
>>>> Kind regards,
>>>> Makhate Makhate
>>>> ICAP, Lesotho
>>>>
>>>> ___
>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>> Post to : dhis2-users@lists.launchpad.net
>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>>
>>> --
>>> *DIALLO Mamadou Diao Conseiller IT, Specialiste de DHIS 2 **( District
>>> Health Information Software )*
>>>
>>>
>>> *Projet de Renforcement du Système d'Information Sanitaire en Guinée*
>>> *Phone : 623909413 | 662256106*
>>> *Skype : diawwdiallo*
>>> www.jsi.com
>>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Jason P. Pickering
> email: jason.p.picker...@gmail.com
> tel:+46764147049 <+46%2076%20414%2070%2049>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Dataset Custom Forms (CSS & JS)

2018-02-06 Thread Makhate Makhate
Hi Diao,

Thanks for helping out.

What do you mean when you say "*it maybe possible to use files*" what do
you mean by files.

The only trick that I could come up with is doing it like this but it
doesn't quite work:


  /*
 CSS code here
  */



   


Well, doing it like this, when i hit Preview i can see basic interactivity
but when i load the actuall dataset, it doesn't work.

Does anyone know exactly where to put JS and CSS code.

Kind regards,
Makhate,
ICAP Lesotho

On Tue, Feb 6, 2018 at 5:54 PM, Mamadou Diao Diallo <diao_dia...@gn.jsi.com>
wrote:

> Hi Makhate,
>
> It maybe possible to use files but I used to paste Javascript code in the
> Source window at the custom form editor, following this link
> https://docs.dhis2.org/master/en/user/html/database_design.html#d0e36608
> see the section *30.5.3.1.2. Custom Forms.*
>
> Best
>
> *Diao*
>
> 30.5.3.1.2. Custom Forms
>
> On Tue, Feb 6, 2018 at 2:30 PM, Makhate Makhate <makhatemakh...@gmail.com>
> wrote:
>
>> ​Hello Communit​y,
>>
>> I am customizing the UI form of our datasets here. We need help on where
>> to put CSS and Javascript files.
>>
>> Kind regards,
>> Makhate Makhate
>> ICAP, Lesotho
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> *DIALLO Mamadou Diao Conseiller IT, Specialiste de DHIS 2 **( District
> Health Information Software )*
>
>
> *Projet de Renforcement du Système d'Information Sanitaire en Guinée*
> *Phone : 623909413 | 662256106*
> *Skype : diawwdiallo*
> www.jsi.com
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] Dataset Custom Forms (CSS & JS)

2018-02-06 Thread Makhate Makhate
​Hello Communit​y,

I am customizing the UI form of our datasets here. We need help on where to
put CSS and Javascript files.

Kind regards,
Makhate Makhate
ICAP, Lesotho
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Hello DHIS2

2018-01-29 Thread Makhate Makhate
☺ Sweet.

On Mon, Jan 29, 2018 at 3:38 PM, Knut Staring <knu...@gmail.com> wrote:

> Hello Makhate,
>
> Welcome to the list. You can see the archive here:
> https://lists.launchpad.net/dhis2-users/
>
> And member list:
> https://launchpad.net/~dhis2-users/+members#active
>
> Regards,
> Knut
>
> On Mon, Jan 29, 2018 at 2:23 PM, Makhate Makhate <makhatemakh...@gmail.com
> > wrote:
>
>> ​Hello Community,
>>
>> Is this usergroup still active.
>>
>> Kind regards,
>> *Makhate*,
>> ICAP Lesotho​
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Knut Staring
>
> Department of Information, Evidence and Research
> World Health Organization, Geneva, Switzerland
> Office: +41 22 791 3683 <+41%2022%20791%2036%2083> Mob1: +33 6 4434 2931
> <+33%206%2044%2034%2029%2031> Mob2: +47 9188 0522
> Skype: knutstar
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] Hello DHIS2

2018-01-29 Thread Makhate Makhate
​Hello Community,

Is this usergroup still active.

Kind regards,
*Makhate*,
ICAP Lesotho​
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] DHIS 2 on Mac

2017-08-25 Thread Makhate Makhate
Hi,

I'm looking for a way to edit my Report Rate Summary. Can anyone show me a
link; I'm the dhis2 docs here and i'm seeing guides on usage not editing.

Thanks,
Makhate (Lesotho)

On Wed, Jan 8, 2014 at 7:15 PM, Pascal Brandt  wrote:

> Hi,
>
> It looks like you need to set your JAVA_HOME environment variable. Have
> you seen this
> 
> ?
>
> Ciao,
> Pascal
>
>
>
> On 8 January 2014 18:22, makhatemakhate  wrote:
>
>> I'm trying to install Apache Tomcat. I'm almost done and this is what I
>> get:
>>
>> [image: Inline image 1]
>>
>> I think I have a problem with my variables. Anyone to help.
>>
>>
>> On Wed, Jan 8, 2014 at 5:19 PM, makhatemakhate 
>> wrote:
>>
>>> Did you use this
>>>  for the
>>> Ubuntu installations?
>>>
>>>
>>> On Sun, Jun 23, 2013 at 5:31 PM, Pascal Brandt 
>>> wrote:
>>>
 Hi,

 I just downloaded the Tomcat zip
  and used the Ubuntu
 instructions. What issues are you running into Makhate?

 Ciao,
 Pascal


 On 21 June 2013 13:28, Jim Grace  wrote:

> Hi All,
>
> I'm running it fine on OS X (Mountain Lion), following the procedures
> for Ubuntu. As I recall, there may have been one or two directories in
> different places than on Linux, but I found them and adapted. If you try
> the same and are having trouble at any step, let me know the specifics and
> I'll be glad to help. (I can tell you where things ended up on my system.)
>
> Cheers,
> Jim
>
> On Jun 21, 2013, at 1:13 PM, Farai Mutero  wrote:
>
> Hi Makhate
>
> Yes there are several people who run DHIS2 on their Macs. Pascal from
> Jembi (copied) is one. Pascal could you please advise Makhate.
>
> Regards
>
> Farai
>
> On Friday, June 21, 2013, makhatemakhate wrote:
>
>> Morning,
>>
>> I read on your website that DHIS2 can work on any platform that runs
>> java virtual machine. From the documentation, I only see instructions for
>> installing on Ubuntu. Is there anything for Mac OS X?
>> Anyone running DHIS2 on a Mac?
>>
>> Regards,
>> --
>> Makhate Gerard Makhate (Mr.)
>> Human Resources Information Systems Specialist
>> Eastern Central Southern African - Health Community
>> +266 5963 3566
>>
>> "Forgiveness received makes a jubilant soul, forgiveness granted
>> purifies a soul"
>>
>
>
> --
> Farai Mutero
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
>

>>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp