Re: [Dhis2-users] Server Errors

2013-04-03 Thread Daniel Bridges
Thanks to Lars and Jason, found out that the problem was due to my nginx 
set-up.


Am now getting into the database and noticed some things that I can't 
figure ut:


1. I can't seem to generate a user with either 'superuser' or
   'system administrator' role when logged in as 'admin'. I also
   can't see the user 'admin' in the list of users. I can see that
   3 users are assigned the role of system administrator and one to
   superuser, but none of the listed users have those roles. Am I
   missing something obvious?
2. There are a number of charts / maps / pivot tables that can't be
   deleted by the user 'admin'. I presume this is related to the
   user role issue in question 1, or is it?
3. Creating a chart (or map / pivot table) as the user 'admin'
   seems to generate a system-wide chart by default i.e. all other
   users see that chart. If logged in as 'lower' user role the
   default is to save the favourite for just that user. Why isn't
   the default behaviour the same for different users?
4. Running the data integrity check throws up a number of errors in
   'Data elements without groups', Data elements in data set but
   not in forms or sections etc. Can these be ignored?

   Thanks for all the great work - am really enjoying version 2.11!

   Cheers
   Dan

On 27/03/13 13:17, Daniel Bridges wrote:
Thanks for the explanations Lars. Will check data integrity when I get 
the server up and running. If the 404 error isn't related then guess 
my tomcat server isn't running properly?


Guess I am doing something stupid, but can't see what it is. When I 
run the startup script and look at the logs in catalina.out I get the 
following:


Mar 27, 2013 1:12:23 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 601 ms
Mar 27, 2013 1:12:23 PM org.apache.catalina.core.StandardService 
startInternal

INFO: Starting service Catalina
Mar 27, 2013 1:12:23 PM org.apache.catalina.core.StandardEngine 
startInternal

INFO: Starting Servlet Engine: Apache Tomcat/7.0.26
Mar 27, 2013 1:12:23 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /home/dhis/tomcat/webapps/ROOT.war
Mar 27, 2013 1:12:24 PM org.apache.catalina.loader.WebappClassLoader 
validateJarFile
INFO: 
validateJarFile(/home/dhis/tomcat/webapps/ROOT/WEB-INF/lib/geronimo-servlet_2.5_spec-1.1.2.jar) 
- jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending 
class: javax/servlet/Servlet.class
* INFO  2013-03-27 13:12:30,869 System property dhis2.home not set 
(DefaultLocationManager.java [pool-2-thread-1])
* INFO  2013-03-27 13:12:30,873 Environment variable DHIS2_HOME points 
to /home/dhis/dhis_home (DefaultLocationManager.java [pool-2-thread-1])
* INFO  2013-03-27 13:12:49,219 Found the following message senders: 
[org.hisp.dhis.message.EmailMessageSender@cccda4] 
(DefaultMessageService.java [pool-2-thread-1])
* INFO  2013-03-27 13:12:54,797 Scheduled task with key: 0 0 0 ? * 1-6 
and cron: 0 0 0 ? * 1-6 (SpringScheduler.java [pool-2-thread-1])
* INFO  2013-03-27 13:12:54,801 Scheduled task with key: 0 0 0 ? * 0 
and cron: 0 0 0 ? * 0 (SpringScheduler.java [pool-2-thread-1])
* INFO  2013-03-27 13:12:57,979 Camel context started 
(DHIS2LifecycleStrategy.java [pool-2-thread-1])
* INFO  2013-03-27 13:12:57,980 Searching for routes in directory: 
/home/dhis/dhis_home/routes (DHIS2LifecycleStrategy.java 
[pool-2-thread-1])
* INFO  2013-03-27 13:12:58,499 Executing startup routine [1 of 10, 
runlevel 1]: TableAlteror (DefaultStartupRoutineExecutor.java 
[pool-2-thread-1])
* INFO  2013-03-27 13:13:00,944 Tables updated (TableAlteror.java 
[pool-2-thread-1])
* INFO  2013-03-27 13:13:00,945 Executing startup routine [2 of 10, 
runlevel 1]: MapViewUpgrader (DefaultStartupRoutineExecutor.java 
[pool-2-thread-1])
* INFO  2013-03-27 13:13:01,038 Executing startup routine [3 of 10, 
runlevel 2]: IdentityPopulator (DefaultStartupRoutineExecutor.java 
[pool-2-thread-1])
* INFO  2013-03-27 13:13:01,297 Executing startup routine [4 of 10, 
runlevel 2]: PeriodTypePopulator (DefaultStartupRoutineExecutor.java 
[pool-2-thread-1])
* INFO  2013-03-27 13:13:01,306 Executing startup routine [5 of 10, 
runlevel 3]: TableCreator (DefaultStartupRoutineExecutor.java 
[pool-2-thread-1])
* INFO  2013-03-27 13:13:01,392 Executing startup routine [6 of 10, 
runlevel 3]: DataElementDefaultDimensionPopulator 
(DefaultStartupRoutineExecutor.java [pool-2-thread-1])
* INFO  2013-03-27 13:13:01,557 Linked default category with default 
concept (DataElementDefaultDimensionPopulator.java [pool-2-thread-1])
* INFO  2013-03-27 13:13:01,965 Executing startup routine [7 of 10, 
runlevel 4]: PatientTableAlteror (DefaultStartupRoutineExecutor.java 
[pool-2-thread-1])
* INFO  2013-03-27 13:13:02,352 Executing startup routine [8 of 10, 
runlevel 5]: OrganisationUnitGroupSetPopulator 
(DefaultStartupRoutineExecutor.java [pool-2-thread-1])
* INFO  2013-03-27 

Re: [Dhis2-users] Data not Saved

2013-04-03 Thread Lars Helge Øverland
Hi Muhumuza,

this was an issue with the Uganda server which now has been fixed. To
receive the fix please just reload the page (click reload button in your
browser or F5).

regards,

Lars



On Wed, Apr 3, 2013 at 8:06 AM, Muhumuza Kananura Rornald 
mk.rorn...@yahoo.com wrote:


  Dear Lars;
 Greetings;
 **
 I have designed a form in the new DHIS version (2.11) but data cant be
 saved. This is the message that comes when Saving value failed with status
 code1

 Kindly see the attached picture for details. need your help
 **
 *Muhumuza Kananura Rornald*
 *Tel: +256776301718*
 *
 
 *
 * You make a living by what you get; you make a life by what you
 give.-Winston Churchill*

   --
 *From:* Lars Helge Øverland larshe...@gmail.com
 *To:* Dayo Adeyomoye deemo...@yahoo.com
 *Cc:* dhis2-users@lists.launchpad.net dhis2-users@lists.launchpad.net
 *Sent:* Tuesday, April 2, 2013 6:17 PM
 *Subject:* Re: [Dhis2-users] Data Entry Page still not loading selected
 org unit

 Hi Dayo,

 have you assigned your user with an organisation unit in users module? Can
 you please start a new thread and provide some more info about your problem?

 regards, Lars



 On Tue, Apr 2, 2013 at 11:14 AM, Dayo Adeyomoye deemo...@yahoo.comwrote:

 Hello,

 Can anyone help yet? My data entry page is still not loading selected org
 units, its assigned datasets and periods.

 This loads in the Mobile and Smartphone modules. I also noticed that the
 mobile client now says invalid username and password even on the phone that
 hasbeen tested and trusted before.

 Thank you

 BlackBerry: 3114F90C
 Phone: 08028851441, 08035560463
 emails: deemo...@yahoo.com, addyr...@yahoo.com
 Yahoo IM: deemoyes
 Facebook: pharael
 twitter:pharaell
   --
 *From:* Jason Pickering jason.p.picker...@gmail.com
 *To:* Lars Helge Øverland larshe...@gmail.com
 *Cc:* dhis2-users@lists.launchpad.net dhis2-users@lists.launchpad.net
 *Sent:* Thursday, March 28, 2013 10:08 PM
 *Subject:* Re: [Dhis2-users] Any suggestions for partner reporting in
 DHIS-2?

 As Lars says, there are lots of opinions. We have been running a partner
 reporting system in Nigeria for a few years now. There are lots of
 challenges, including a lot of central administration mostly due to the way
 that DHIS2 delegates authority down the hierarchy. There was a decision
 made there to maintain compatibility with the government system (also using
 DHIS2) and use their hierarchy. If we had used a partner-based reporting
 hierarchy (i.e. Funding agency (e.g. USAID) - Implementing partner -
 Facility) things would have been much easier. This would allow the partners
 to maintain their own branch of the hierarchy, without any need for central
 administration, and not require the use of potentially dozens of categories
 which change over time. Personally, I have had a lot of issues changing the
 category options, and would not recommend this approach to dealing with the
 partners entering data. If a partner based hierarchy is used, they can at
 least generate reports and use the data visualizer (and potentially even
 the GIS if you have facility coordinates).

 This obviously creates problems if you need to integrate the data with a
 geographically based hierarchy, but with 2.11, you can import just the data
 values. If the facility level UIDs are maintained in sync, then having two
 instances (one with a geographically based hierarchy and one with a partner
 based hierarchy) should be feasible. As long as the UIDs are in sync, then
 data exchange between the two systems should be possible, as long as the
 UIDs of the facilities are kept in check. Of course problems may occur if
 two partner s are reporting on the same activities in the same facilities.
 The ME people tell me this should never happen however, i.e. NGO 1 and NGO
 2 both performing PMTCT services in the same facility. There are certainly
 possible complications with this approach, but having to create and
 maintain what Lars suggest also sounds like a very bitter pill to have to
 swallow. I personally think some sort of post-data entry data
 transformation would be a better idea, if compatibility with the government
 system (geographically based) is an issue. Otherwise, the partner based
 hierarchy potentially solves a lot of problems.

 My two cents anyway.

 Regards,
 Jason



 On Thu, Mar 28, 2013 at 7:51 PM, Lars Helge Øverland 
 larshe...@gmail.comwrote:

 Hi Randy,

 on this issue there are lots of opinions - my recommendation would be to
 stick to the aggregate part of the system and leave out the individual
 records module. This is routine data captured at a fixed interval so
 capturing it as events might become messy over time.

 My suggestion on how to solve this would be to use categories - you could:

 - set up a category and category combination called Partners.
 - category options for each 

Re: [Dhis2-users] Server Errors

2013-04-03 Thread Lars Helge Øverland
 Thanks for the clarifications - that all makes sense and I can now get
 superuser access. One last question - what authority allows a user to
 create a public user group - I can't find one that confers this ability?
 Sorry if I have missed the obvious.


Seems you have found a glitch - will get back on this shortly.



 One suggestion for you and the team - would it be possible to add a link
 to the 'User group' screen (see section 6.1.4 in the user manual) in the
 user module? Currently it seems like the only way to access this screen is
 via the Dashboard? Perhaps there are good reasons for not including this
 link, but it seems more logical to me.


Yes - we decided to move user groups to dashboard since user groups are an
essential part of the new sharing feature. We want all users to be able to
create groups and share reports within those groups to foster
collaboration.

Reason for not linking from user module is that currently we allow links
from the dashboard module to other modules only - this to maintain a degree
of modularity where it should be possible to leave out/plug in modules
without worrying about breaking interlinks.. Agree that it is a little bit
confusing though.
___
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] Role - program assignment

2013-04-03 Thread Marta Vila
thanks!


On 2 April 2013 19:44, Lars Helge Øverland larshe...@gmail.com wrote:

 Sorry - and all programs to all user roles.


 On Tue, Apr 2, 2013 at 7:42 PM, Lars Helge Øverland 
 larshe...@gmail.comwrote:

 Hi Marta,

 yes you are right, I have added all programs to all facilities now on the
 demo/demo database.

 regards,

 Lars



 On Fri, Mar 22, 2013 at 12:08 PM, Marta Vila martav...@gmail.com wrote:

 Hi all,

 just saw that in the demo the programs are not assigned to any user role
 and no program appears in the menus... Since this role-program assignment
 is a new thing... maybe is better to assign the programs to the superuser
 it in the demo.

 Regards,
 Marta



 ___
 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


Re: [Dhis2-users] gml shape file import issue

2013-04-03 Thread Jan Henrik Øverland
Hi, you are right. We will look into it.

Jan


On Wed, Apr 3, 2013 at 4:45 PM, John Lewis johnlewis.h...@gmail.com wrote:

 Hi guys,
 I also had the same problem importing GML file in 2.11 release. Since name
 field is no more unique in 2.11 do we need to map either uid or code. One
 other problem was vietnam language
 John


 On Wed, Apr 3, 2013 at 9:15 PM, James Chang jamesbjch...@hotmail.comwrote:

   Hi.

 On new release, DHIS2 Version 2.11 , the gml shape file import doesn't
 seem to work properly.
 I use ‘Import-Export’ – ‘Import’ – ‘Import’ (Now ‘Meta-Data Import’)
 for gml file import.

 I thought the issue is with the new data, so I got the old gml file for
 the previously tried, and it still does not work.
 Then, I tried it on old version (2.11-SNAPSHOT from 2013-02-13) and the
 same gml file works.

 By any chance, has it been changed so that we need to provide something
 more than org:Name for organisation property?  Since organisation name is
 not unique anymore?   Currently, other than the coordinates, my gml file
 only has this organisation name property – ogr:NameAlgeria/ogr:Name



 ___
 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


Re: [Dhis2-users] Custom forms - Pagination/Section

2013-04-03 Thread Lars Helge Øverland
Hi Paulo,

there is way for developers. Don't try this at home.

In custom form editor, view the source. Wrap the HTML contents that you
want to appear as a section in a div and add a class formSection to it,
something like:

div class=formSection

// Stuff that makes up a section here

/div

You should now be able to use the section drop-down that appears for
section forms in data entry.

Lars







On Wed, Apr 3, 2013 at 5:24 PM, Paulo Grácio
pgra...@criticalsoftware.comwrote:

 Hello there,

 ** **

 Is there a simple way to add sections or pagination to a custom form? The
 goal is to avoid scroll when dealing with long forms.

 ** **

 Kind regards,

 *Paulo Grácio *%20your-email%20**
 *Technical Manager*
 (+258) 822 544 603 

 *Critical Software Mozambique* http://www.criticalsoftware.co.uk
 *Dependable Technologies for Critical Systems*

 Critical Software Mozambique is a subsidiary of Critical Software, a
 CMMI® Level 5 rated Company http://cmmiinstitute.com/
 CMMI® is registered in the USPTO by CMU http://www.cmu.edu/

 Rua Pereira Marinho, 179
 Bairro de Sommerchield
 Maputo
 Moçambique
 Phone: (+258) 214 951 45
 Fax: (+258) 214 951 46

 DISCLAIMER: This message is confidential and may contain privileged
 information. It is for use only by the people or entities to whom it is
 addressed. If you are not an intended recipient, you should not disclose,
 distribute, copy, print, rely on or otherwise make use of this message. If
 an addressing or transmission error has misdirected it to you we would be
 grateful if you would please notify the sender by return, before deleting
 it from your system.

 ** **

 ___
 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


Re: [Dhis2-users] Data Entry Page still not loading selected org unit

2013-04-03 Thread Lars Helge Øverland
Hi what version are you running?

Please clear your browser cache completely.

On chrome paste this into the address bar, tick all options and click clear:

chrome://settings/clearBrowserData

Then try again.

Lars



On Wed, Apr 3, 2013 at 8:25 AM, Dayo Adeyomoye deemo...@yahoo.com wrote:

 Yes please, I have assigned the users with the org. unit users module. It
 was working until lately.

 Please find attched the screen shot/

 Thank you

 BlackBerry: 3114F90C
 Phone: 08028851441, 08035560463
 emails: deemo...@yahoo.com, addyr...@yahoo.com
 Yahoo IM: deemoyes
 Facebook: pharael
 twitter:pharaell
   --
 *From:* Lars Helge Øverland larshe...@gmail.com
 *To:* Dayo Adeyomoye deemo...@yahoo.com
 *Cc:* Jason Pickering jason.p.picker...@gmail.com; 
 dhis2-users@lists.launchpad.net dhis2-users@lists.launchpad.net
 *Sent:* Tuesday, April 2, 2013 4:17 PM
 *Subject:* Re: [Dhis2-users] Data Entry Page still not loading selected
 org unit

 Hi Dayo,

 have you assigned your user with an organisation unit in users module? Can
 you please start a new thread and provide some more info about your problem?

 regards, Lars



 On Tue, Apr 2, 2013 at 11:14 AM, Dayo Adeyomoye deemo...@yahoo.comwrote:

 Hello,

 Can anyone help yet? My data entry page is still not loading selected org
 units, its assigned datasets and periods.

 This loads in the Mobile and Smartphone modules. I also noticed that the
 mobile client now says invalid username and password even on the phone that
 hasbeen tested and trusted before.

 Thank you

 BlackBerry: 3114F90C
 Phone: 08028851441, 08035560463
 emails: deemo...@yahoo.com, addyr...@yahoo.com
 Yahoo IM: deemoyes
 Facebook: pharael
 twitter:pharaell


___
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] Custom forms - Pagination/Section

2013-04-03 Thread Saptarshi Purkayastha
Love the Don't try this at home disclaimer! ;-)

---
Regards,
Saptarshi PURKAYASTHA

My Tech Blog:  http://sunnytalkstech.blogspot.com
You Live by CHOICE, Not by CHANCE


On 3 April 2013 18:02, Lars Helge Øverland larshe...@gmail.com wrote:
 Hi Paulo,

 there is way for developers. Don't try this at home.

 In custom form editor, view the source. Wrap the HTML contents that you want
 to appear as a section in a div and add a class formSection to it,
 something like:

 div class=formSection

 // Stuff that makes up a section here

 /div

 You should now be able to use the section drop-down that appears for section
 forms in data entry.

 Lars







 On Wed, Apr 3, 2013 at 5:24 PM, Paulo Grácio pgra...@criticalsoftware.com
 wrote:

 Hello there,



 Is there a simple way to add sections or pagination to a custom form? The
 goal is to avoid scroll when dealing with long forms.



 Kind regards,

 Paulo Grácio
 Technical Manager
 (+258) 822 544 603

 Critical Software Mozambique
 Dependable Technologies for Critical Systems

 Critical Software Mozambique is a subsidiary of Critical Software, a CMMI®
 Level 5 rated Company
 CMMI® is registered in the USPTO by CMU

 Rua Pereira Marinho, 179
 Bairro de Sommerchield
 Maputo
 Moçambique
 Phone: (+258) 214 951 45
 Fax: (+258) 214 951 46

 DISCLAIMER: This message is confidential and may contain privileged
 information. It is for use only by the people or entities to whom it is
 addressed. If you are not an intended recipient, you should not disclose,
 distribute, copy, print, rely on or otherwise make use of this message. If
 an addressing or transmission error has misdirected it to you we would be
 grateful if you would please notify the sender by return, before deleting it
 from your system.




 ___
 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


___
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] Server Errors

2013-04-03 Thread Lars Helge Øverland
On Wed, Apr 3, 2013 at 11:29 AM, Lars Helge Øverland larshe...@gmail.comwrote:


 Thanks for the clarifications - that all makes sense and I can now get
 superuser access. One last question - what authority allows a user to
 create a public user group - I can't find one that confers this ability?
 Sorry if I have missed the obvious.


 Seems you have found a glitch - will get back on this shortly.


This has now been fixed, backported to 2.11, you can get the update war on
dhis2.org/downloads.


Lars
___
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] Custom forms - Pagination/Section

2013-04-03 Thread Paulo Grácio
Hi Lars,

 

Is this a specific functionality of version 2.11? 

 

Inspecting the code generated when displaying a Section Form we have

 

table style=margin-bottom: 20px; display: table; class=formSection

(…)

/table

 

So what I didn’t figure out is how just adding  div class=formSection
will make parameter “Filter on section” appear… doing what you said just
added a new border to my tables according to css 

 

.formSection {

border: 1px solid #C0C0C0;

border-radius: 3px 3px 3px 3px;

padding: 10px;

}

 

Is this a sign that I’m not a developer J?!

 

Kind regards,

Paulo Grácio

 

 

From: Lars Helge Øverland [mailto:larshe...@gmail.com] 
Sent: quarta-feira, 3 de Abril de 2013 18:03
To: Paulo Grácio
Cc: dhis2-users@lists.launchpad.net
Subject: Re: [Dhis2-users] Custom forms - Pagination/Section

 

Hi Paulo,

 

there is way for developers. Don't try this at home.

 

In custom form editor, view the source. Wrap the HTML contents that you want
to appear as a section in a div and add a class formSection to it,
something like:

 

div class=formSection

 

// Stuff that makes up a section here

 

/div

 

You should now be able to use the section drop-down that appears for section
forms in data entry.

 

Lars

 

 

 

 

 

 

On Wed, Apr 3, 2013 at 5:24 PM, Paulo Grácio pgra...@criticalsoftware.com
wrote:

Hello there,

 

Is there a simple way to add sections or pagination to a custom form? The
goal is to avoid scroll when dealing with long forms.

 

Kind regards,

 mailto:*%20your-email%20* Paulo Grácio
Technical Manager
(+258) 822 544 603 tel:%28%2B258%29%20822%20544%20603  

 http://www.criticalsoftware.co.uk Critical Software Mozambique
Dependable Technologies for Critical Systems

Critical Software Mozambique is a subsidiary of  http://cmmiinstitute.com/
Critical Software, a CMMI® Level 5 rated Company
CMMI® is registered in the USPTO by  http://www.cmu.edu/ CMU

Rua Pereira Marinho, 179
Bairro de Sommerchield
Maputo
Moçambique
Phone: (+258) 214 951 45 tel:%28%2B258%29%20214%20951%2045 
Fax: (+258) 214 951 46 tel:%28%2B258%29%20214%20951%2046 

DISCLAIMER: This message is confidential and may contain privileged
information. It is for use only by the people or entities to whom it is
addressed. If you are not an intended recipient, you should not disclose,
distribute, copy, print, rely on or otherwise make use of this message. If
an addressing or transmission error has misdirected it to you we would be
grateful if you would please notify the sender by return, before deleting it
from your system.

 


___
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


Re: [Dhis2-users] Custom forms - Pagination/Section

2013-04-03 Thread Lars Helge Øverland
Sorry seems I was a bit quick. You need to add another div with class cent
and an h3 as well. So like this:


div class=formSection
div class=centh3Name of section goes here/h3/div

// section html here

/div





On Wed, Apr 3, 2013 at 6:54 PM, Paulo Grácio
pgra...@criticalsoftware.comwrote:

 Hi Lars,

 ** **

 Is this a specific functionality of version 2.11? 

 ** **

 Inspecting the code generated when displaying a Section Form we have

 ** **

 table style=margin-bottom: 20px; display: table; class=formSection**
 **

 (…)

 /table

 ** **

 So what I didn’t figure out is how just adding  *div class=formSection
 * will make parameter *“Filter on section”* appear… doing what you said
 just added a new border to my tables according to css 

 ** **

 *.formSection {*

 *border: 1px solid #C0C0C0;*

 *border-radius: 3px 3px 3px 3px;*

 *padding: 10px;*

 *}*

 ** **

 Is this a sign that I’m not a developer J?!

 ** **

 Kind regards,

 Paulo Grácio

 ** **

 ** **

 *From:* Lars Helge Øverland [mailto:larshe...@gmail.com]
 *Sent:* quarta-feira, 3 de Abril de 2013 18:03
 *To:* Paulo Grácio
 *Cc:* dhis2-users@lists.launchpad.net
 *Subject:* Re: [Dhis2-users] Custom forms - Pagination/Section

 ** **

 Hi Paulo,

 ** **

 there is way for developers. Don't try this at home.

 ** **

 In custom form editor, view the source. Wrap the HTML contents that you
 want to appear as a section in a div and add a class formSection to it,
 something like:

 ** **

 div class=formSection

 ** **

 // Stuff that makes up a section here

 ** **

 /div

 ** **

 You should now be able to use the section drop-down that appears for
 section forms in data entry.

 ** **

 Lars

 ** **

 ** **

 ** **

 ** **

 ** **

 ** **

 On Wed, Apr 3, 2013 at 5:24 PM, Paulo Grácio pgra...@criticalsoftware.com
 wrote:

 Hello there,

  

 Is there a simple way to add sections or pagination to a custom form? The
 goal is to avoid scroll when dealing with long forms.

  

 Kind regards,

 *Paulo Grácio *%20your-email%20**
 *Technical Manager*
 (+258) 822 544 603 

 *Critical Software Mozambique* http://www.criticalsoftware.co.uk
 *Dependable Technologies for Critical Systems*

 Critical Software Mozambique is a subsidiary of Critical Software, a
 CMMI® Level 5 rated Company http://cmmiinstitute.com/
 CMMI® is registered in the USPTO by CMU http://www.cmu.edu/

 Rua Pereira Marinho, 179
 Bairro de Sommerchield
 Maputo
 Moçambique
 Phone: (+258) 214 951 45
 Fax: (+258) 214 951 46

 DISCLAIMER: This message is confidential and may contain privileged
 information. It is for use only by the people or entities to whom it is
 addressed. If you are not an intended recipient, you should not disclose,
 distribute, copy, print, rely on or otherwise make use of this message. If
 an addressing or transmission error has misdirected it to you we would be
 grateful if you would please notify the sender by return, before deleting
 it from your system.

  


 ___
 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


Re: [Dhis2-users] Custom forms - Pagination/Section

2013-04-03 Thread Paulo Grácio
L not getting there. If for instance you have a complete html custom form
definition with a sample working I would appreciate.

 

Regards,

Paulo Grácio

 

From: Lars Helge Øverland [mailto:larshe...@gmail.com] 
Sent: quarta-feira, 3 de Abril de 2013 19:19
To: Paulo Grácio
Cc: dhis2-users@lists.launchpad.net
Subject: Re: [Dhis2-users] Custom forms - Pagination/Section

 

Sorry seems I was a bit quick. You need to add another div with class cent
and an h3 as well. So like this:

 

 

div class=formSection

div class=centh3Name of section goes here/h3/div

 

// section html here

 

/div

 

 

 

 

On Wed, Apr 3, 2013 at 6:54 PM, Paulo Grácio pgra...@criticalsoftware.com
wrote:

Hi Lars,

 

Is this a specific functionality of version 2.11? 

 

Inspecting the code generated when displaying a Section Form we have

 

table style=margin-bottom: 20px; display: table; class=formSection

(…)

/table

 

So what I didn’t figure out is how just adding  div class=formSection
will make parameter “Filter on section” appear… doing what you said just
added a new border to my tables according to css 

 

.formSection {

border: 1px solid #C0C0C0;

border-radius: 3px 3px 3px 3px;

padding: 10px;

}

 

Is this a sign that I’m not a developer J?!

 

Kind regards,

Paulo Grácio

 

 

From: Lars Helge Øverland [mailto:larshe...@gmail.com] 
Sent: quarta-feira, 3 de Abril de 2013 18:03
To: Paulo Grácio
Cc: dhis2-users@lists.launchpad.net
Subject: Re: [Dhis2-users] Custom forms - Pagination/Section

 

Hi Paulo,

 

there is way for developers. Don't try this at home.

 

In custom form editor, view the source. Wrap the HTML contents that you want
to appear as a section in a div and add a class formSection to it,
something like:

 

div class=formSection

 

// Stuff that makes up a section here

 

/div

 

You should now be able to use the section drop-down that appears for section
forms in data entry.

 

Lars

 

 

 

 

 

 

On Wed, Apr 3, 2013 at 5:24 PM, Paulo Grácio pgra...@criticalsoftware.com
wrote:

Hello there,

 

Is there a simple way to add sections or pagination to a custom form? The
goal is to avoid scroll when dealing with long forms.

 

Kind regards,

 mailto:*%20your-email%20* Paulo Grácio
Technical Manager
(+258) 822 544 603 tel:%28%2B258%29%20822%20544%20603  

 http://www.criticalsoftware.co.uk Critical Software Mozambique
Dependable Technologies for Critical Systems

Critical Software Mozambique is a subsidiary of  http://cmmiinstitute.com/
Critical Software, a CMMI® Level 5 rated Company
CMMI® is registered in the USPTO by  http://www.cmu.edu/ CMU

Rua Pereira Marinho, 179
Bairro de Sommerchield
Maputo
Moçambique
Phone: (+258) 214 951 45 tel:%28%2B258%29%20214%20951%2045 
Fax: (+258) 214 951 46 tel:%28%2B258%29%20214%20951%2046 

DISCLAIMER: This message is confidential and may contain privileged
information. It is for use only by the people or entities to whom it is
addressed. If you are not an intended recipient, you should not disclose,
distribute, copy, print, rely on or otherwise make use of this message. If
an addressing or transmission error has misdirected it to you we would be
grateful if you would please notify the sender by return, before deleting it
from your system.

 


___
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