Jolle Carlestam How use knop_nav for only a subsection
Dec 18, 2008; 07:22
Jolle Carlestam
How use knop_nav for only a subsection
I'm having trouble defining a knop_nav object that only should take care of a subsection of a site.
If I create the object with a root path like this: var( 'knav' = knop_nav( -root = '/intra/', -navmethod = 'path'));
I can't get the nav object to find out what page to look for. Here's a path that should work: http://mydomain.tld/intra/mine/ Variations like -root = '/intra' or -root = 'intra' doesn't work either. Now, if I remove the root param it will find the page. But the URL construction within other knop objects fail.
The files to look for is named like cfg_mine.inc, lib_mine.inc etc. Within cfg_mine.inc I create a grid object: var( 'lContact' = knop_grid( -database = $dContact, -nav = $knav, -language = $defLanguage) );
This creates a nice looking list. But urls inside it is whacked up. Here's the link to sort the column name: http://mydomain.tld/mine/intra/mine/?-sort=name&-desc
And here's a link to edit a record: http://mydomain.tld/editcontact/ir96bclck6tts/
As you can see none of them points at the right location.
I'm confused.
HDB Jolle
-- ############################################################# This message is sent to you because you are subscribed to the mailing list <knop@lists.montania.se>. To unsubscribe, E-mail to: <knop-off@lists.montania.se> Send administrative queries to <knop-request@lists.montania.se> List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html Project homepage http://montania.se/projects/knop/ Google Code has the latest downloads at http://code.google.com/p/knop/
Dec 18
Jolle Carlestam Re: How use knop_nav for only a subsection
Dec 18, 2008; 07:56
Jolle Carlestam
Re: How use knop_nav for only a subsection
Dec 18
Johan Solve Re: How use knop_nav for only a subsection
Dec 18, 2008; 08:09
Johan Solve
Re: How use knop_nav for only a subsection
Dec 18
Johan Solve Re: How use knop_nav for only a subsection
Dec 18, 2008; 08:10
Johan Solve
Re: How use knop_nav for only a subsection
Dec 18
Jolle Carlestam Re: How use knop_nav for only a subsection
Dec 18, 2008; 08:47
Jolle Carlestam
Re: How use knop_nav for only a subsection
Dec 18
Johan Solve Re: How use knop_nav for only a subsection
Dec 18, 2008; 09:18
Johan Solve
Re: How use knop_nav for only a subsection
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!