Quantcast

Knop package updated, namespace changed

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Knop package updated, namespace changed

Johan Solve-2
I've updated Knop today with the following changes:

Changed namespace from mt_ to knop_

Changes in knop_grid
->addfield: -template can now also be a compound expression.
either string to format values, compund expression or map containing templates to display individual values in different ways, use -default to display unknown values, use #value# to insert the actual field value in the template.
If a compund expression is specified, the field value is passed as param to the expression and can be accessed as params.
Example expressions:
        {return: params} to return just the field value as is
        {return: (date: (field: 'moddate')) -> (format: '%-d/%-m')} to return a specific field as formatted date
This is really powerful.

Changes in knop_nav
->renderhtml: added -renderpath, -expand and -flat to be able to render parts of the nav menu for more flexible layout.
-renderpath // only render the children of the specified path (and downward unless -flat is specified)
-flat // flag or true/false, only render one level
-expand // flag or true/false, render the entire expanded nav tree and not just the currently active branch

->renderbreadcrumb: added -home to show the default navigation item (i.e. "home") first in the breadcrumb (unless already there)


I've also created the knop_strings source file, but so far it only contains empty member tag definitions.

I haven't started with the customizable strings in knop_grid yet. I'm going to implement it using knop_strings so it will have to wait until that is done.
I will use Jolle's work as default values, and put the setting of default values in a separate member tag so the default strings can be overridden easily by subclassing knop_grid and writing a replacement member tag for setting the default strings.

The additions to knop_database for date_modified etc isn't done yet either.
--
     Johan Sölve    [FSA Member, Lasso Partner]
     Web Application/Lasso/FileMaker Developer
     MONTANIA SOFTWARE & SOLUTIONS
http://www.montania.se   mailto:[hidden email]
 (spam-safe email address, replace '-' with 'a')

#############################################################
This message is sent to you because you are subscribed to
the mailing list <[hidden email]>.
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
List archive http://lists.montania.se/Lists/knop/
(log in with your email and ConfirmationID as password, send message to
<[hidden email]> to get that ID)
Project homepage http://montania.se/projects/knop/
AIM chatroom knop aim:gochat?roomname=knop

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Knop package updated, namespace changed

Jolle Carlestam-2
Nice work Johan!

It's good to know that Knop moves forward. But it raises the  
question. How can we contribute in best way to keep evolve Knop?

It's not so nice to let Johan do all the work. Or is it?

HDB
Jolle

4 apr 2007 kl. 11.35 skrev Johan Solve:

> I've updated Knop today with the following changes:
>
> Changed namespace from mt_ to knop_
>
> Changes in knop_grid
> ->addfield: -template can now also be a compound expression.
> either string to format values, compund expression or map  
> containing templates to display individual values in different  
> ways, use -default to display unknown values, use #value# to insert  
> the actual field value in the template.
> If a compund expression is specified, the field value is passed as  
> param to the expression and can be accessed as params.
> Example expressions:
> {return: params} to return just the field value as is
> {return: (date: (field: 'moddate')) -> (format: '%-d/%-m')} to  
> return a specific field as formatted date
> This is really powerful.
>
> Changes in knop_nav
> ->renderhtml: added -renderpath, -expand and -flat to be able to  
> render parts of the nav menu for more flexible layout.
> -renderpath // only render the children of the specified path (and  
> downward unless -flat is specified)
> -flat // flag or true/false, only render one level
> -expand // flag or true/false, render the entire expanded nav tree  
> and not just the currently active branch
>
> ->renderbreadcrumb: added -home to show the default navigation item  
> (i.e. "home") first in the breadcrumb (unless already there)
>
>
> I've also created the knop_strings source file, but so far it only  
> contains empty member tag definitions.
>
> I haven't started with the customizable strings in knop_grid yet.  
> I'm going to implement it using knop_strings so it will have to  
> wait until that is done.
> I will use Jolle's work as default values, and put the setting of  
> default values in a separate member tag so the default strings can  
> be overridden easily by subclassing knop_grid and writing a  
> replacement member tag for setting the default strings.
>
> The additions to knop_database for date_modified etc isn't done yet  
> either.
> --
>      Johan Sölve    [FSA Member, Lasso Partner]
>      Web Application/Lasso/FileMaker Developer
>      MONTANIA SOFTWARE & SOLUTIONS
> http://www.montania.se   mailto:[hidden email]
>  (spam-safe email address, replace '-' with 'a')
>
> #############################################################
> This message is sent to you because you are subscribed to
> the mailing list <[hidden email]>.
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>
> List archive http://lists.montania.se/Lists/knop/
> (log in with your email and ConfirmationID as password, send  
> message to
> <[hidden email]> to get that ID)
> Project homepage http://montania.se/projects/knop/
> AIM chatroom knop aim:gochat?roomname=knop


#############################################################
This message is sent to you because you are subscribed to
the mailing list <[hidden email]>.
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
List archive http://lists.montania.se/Lists/knop/
(log in with your email and ConfirmationID as password, send message to
<[hidden email]> to get that ID)
Project homepage http://montania.se/projects/knop/
AIM chatroom knop aim:gochat?roomname=knop


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Knop package updated, namespace changed

Johan Solve-2
At 12.36 +0200 2007-04-04, [hidden email] wrote:
>Nice work Johan!
>
>It's good to know that Knop moves forward. But it raises the question. How can we contribute in best way to keep evolve Knop?
>
>It's not so nice to let Johan do all the work. Or is it?

I think the way we do it now works fairly well, at least until we have a version control system in place where we could let trusted contributors work with and make changes to their own branches which I can then merge into the main version.

--
     Johan Sölve    [FSA Member, Lasso Partner]
     Web Application/Lasso/FileMaker Developer
     MONTANIA SOFTWARE & SOLUTIONS
http://www.montania.se   mailto:[hidden email]
 (spam-safe email address, replace '-' with 'a')

#############################################################
This message is sent to you because you are subscribed to
the mailing list <[hidden email]>.
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
List archive http://lists.montania.se/Lists/knop/
(log in with your email and ConfirmationID as password, send message to
<[hidden email]> to get that ID)
Project homepage http://montania.se/projects/knop/
AIM chatroom knop aim:gochat?roomname=knop

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Knop package updated, namespace changed

Johan Solve-2
In reply to this post by Johan Solve-2
Thanks, I forgot to replace that file. The source files are okay though, so you can just run the buildnamespace.lasso file.

At 19.57 +0100 2007-04-05, Ric Lewis wrote:

>Johan
>
>The LassoLibraries folder in the zip package still contains the mt version - not a big deal but I wasn't sure if you knew.
>
>Cheers,
>
>Ric
>
>
>On 4 Apr 2007, at 10:35, Johan Solve wrote:
>
>>I've updated Knop today with the following changes:
>>
>>Changed namespace from mt_ to knop_


--
     Johan Sölve    [FSA Member, Lasso Partner]
     Web Application/Lasso/FileMaker Developer
     MONTANIA SOFTWARE & SOLUTIONS
http://www.montania.se   mailto:[hidden email]
 (spam-safe email address, replace '-' with 'a')

#############################################################
This message is sent to you because you are subscribed to
the mailing list <[hidden email]>.
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
List archive http://lists.montania.se/Lists/knop/
(log in with your email and ConfirmationID as password, send message to
<[hidden email]> to get that ID)
Project homepage http://montania.se/projects/knop/
AIM chatroom knop aim:gochat?roomname=knop

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Knop package updated, namespace changed

Johan Solve-2
I've fixed the missing knop.lasso in the package now.


At 21.38 +0200 2007-04-05, Johan Solve wrote:

>Thanks, I forgot to replace that file. The source files are okay though, so you can just run the buildnamespace.lasso file.
>
>At 19.57 +0100 2007-04-05, Ric Lewis wrote:
>>Johan
>>
>>The LassoLibraries folder in the zip package still contains the mt version - not a big deal but I wasn't sure if you knew.
>>
>>Cheers,
>>
>>Ric
>>
>>
>>On 4 Apr 2007, at 10:35, Johan Solve wrote:
>>
>>>I've updated Knop today with the following changes:
>>>
>>>Changed namespace from mt_ to knop_
>
>
>--
>     Johan Sölve    [FSA Member, Lasso Partner]
>     Web Application/Lasso/FileMaker Developer
>     MONTANIA SOFTWARE & SOLUTIONS
>http://www.montania.se   mailto:[hidden email]
> (spam-safe email address, replace '-' with 'a')
>
>#############################################################
>This message is sent to you because you are subscribed to
>the mailing list <[hidden email]>.
>To unsubscribe, E-mail to: <[hidden email]>
>Send administrative queries to  <[hidden email]>
>List archive http://lists.montania.se/Lists/knop/
>(log in with your email and ConfirmationID as password, send message to
><[hidden email]> to get that ID)
>Project homepage http://montania.se/projects/knop/
>AIM chatroom knop aim:gochat?roomname=knop


--
     Johan Sölve    [FSA Member, Lasso Partner]
     Web Application/Lasso/FileMaker Developer
     MONTANIA SOFTWARE & SOLUTIONS
http://www.montania.se   mailto:[hidden email]
 (spam-safe email address, replace '-' with 'a')

#############################################################
This message is sent to you because you are subscribed to
the mailing list <[hidden email]>.
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
List archive http://lists.montania.se/Lists/knop/
(log in with your email and ConfirmationID as password, send message to
<[hidden email]> to get that ID)
Project homepage http://montania.se/projects/knop/
AIM chatroom knop aim:gochat?roomname=knop

Loading...