You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by gian paolo ciceri <gp...@acm.org> on 2004/07/19 22:23:03 UTC

using fallback for login page: Re: building a "myDefault" publication from default as stereotype for other pubs issues.

Gregor J. Rothfuss wrote:

THX gregor for your feedback

> gian paolo ciceri wrote:
> 
>> 2. a different login form (not showing "lenya" and "levi" as
>> login suggestion)
> 
> 
> this requires to make fallback available throughout. this requires
> some patches, because not all areas are fallback-enabled yet.

If I put under fallback the login xsl (in order to modify
it in the pub-specific one)

<map:transform src="{fallback:lenya/xslt/ac/login.xsl}">

The default login.xsl continue to work - so the
fallback mapping to the "core" file is o.k., but

I simply cannot guess where to put the pub-specific one

nor in

/webapps/lenya/lenya/pubs/[mypub]/lenya/xslt/ac

neither into

/webapps/lenya/lenya/pubs/[mypub]/xslt/ac

In either cases I continue to take back
the core login.xsl, not the customized one.

Any guess to help me ?


> 
>> 1. different system users from "lenya" and "alice"
>> 3. some other content types
>> 4. different languages form "en" + "de"
> 
> 
> these can be done by extending the clone task you can find in the
> unitemplate publication. there is some discsusison about this in
> the list archives.

THX, I'll take a look to the ML archive.

> 
>> 5. a default ui languages diffrent from "en"
> 
> 
> if you set your accept-language in your browser to "it" you'll get the 
> italian version. making "it" the fallback requires some more
> translation efforts (patches welcome)
> 

o.k., this works.



Thanks a lot.
7gp
/gp

> 


-- 
Gian Paolo Ciceri        Via G.Marconi 5 - 22036 ERBA CO ITALY
                          mobile :   ++39 340 7218101
                          eMail  :   gp.ciceri@acm.org,
                                 :   gp.ciceri@suddenthinks.com
                          webSite:   http://www.suddenthinks.com
                          ICQ #  :   94620118
                          jabber :   gp.ciceri@jabber.com

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: using fallback for login page: Re: building a "myDefault" publication from default as stereotype for other pubs issues.

Posted by gian paolo ciceri <gp...@acm.org>.
Andreas Hartmann wrote:

> gian paolo ciceri wrote:
> 
> [...]
> 
>> I've turned on the category you told me in
>> logkit.xconf
>>
>> <category log-level="DEBUG" name="lenya">
>> <log-target id-ref="lenya"/>
>> <log-target id-ref="error"/>
>> </category>
>> </categories>
>> </logkit>
>>
>> but without success - I cannot find in the
>> log the file called.
>> Perhaps you can suggest me a more deep
>> debug configuration: I'll be thankful.
> 
> 
> Sorry, the category I told you was wrong.
> 
> The logging category for the fallback input module is
> core.modules.input.fallback
> 
> I just fixed it in CVS (before it was **.sitetree - a copy&paste
> error).
> 

Thanks, I've posted a bug on bugzilla #30196

http://issues.apache.org/bugzilla/show_bug.cgi?id=30196

for the login fallback problem (I've seen there's
a similar issue for the 404 error page)


I'll test the new CVS ASAP.

Re
/gp


> -- Andreas
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-user-help@cocoon.apache.org
> 


-- 
Gian Paolo Ciceri        Via G.Marconi 5 - 22036 ERBA CO ITALY
                          mobile :   ++39 340 7218101
                          eMail  :   gp.ciceri@acm.org,
                                 :   gp.ciceri@suddenthinks.com
                          webSite:   http://www.suddenthinks.com
                          ICQ #  :   94620118
                          jabber :   gp.ciceri@jabber.com

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: using fallback for login page: Re: building a "myDefault" publication from default as stereotype for other pubs issues.

Posted by gian paolo ciceri <gp...@acm.org>.
Andreas Hartmann wrote:

> gian paolo ciceri wrote:
> 
> [...]
> 
>> I've turned on the category you told me in
>> logkit.xconf
>>
>> <category log-level="DEBUG" name="lenya">
>> <log-target id-ref="lenya"/>
>> <log-target id-ref="error"/>
>> </category>
>> </categories>
>> </logkit>
>>
>> but without success - I cannot find in the
>> log the file called.
>> Perhaps you can suggest me a more deep
>> debug configuration: I'll be thankful.
> 
> 
> Sorry, the category I told you was wrong.
> 
> The logging category for the fallback input module is
> core.modules.input.fallback
> 
> I just fixed it in CVS (before it was **.sitetree - a copy&paste
> error).
> 

Thanks, I've posted a bug on bugzilla #30196

http://issues.apache.org/bugzilla/show_bug.cgi?id=30196

for the login fallback problem (I've seen there's
a similar issue for the 404 error page)


I'll test the new CVS ASAP.

Re
/gp


> -- Andreas
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-user-help@cocoon.apache.org
> 


-- 
Gian Paolo Ciceri        Via G.Marconi 5 - 22036 ERBA CO ITALY
                          mobile :   ++39 340 7218101
                          eMail  :   gp.ciceri@acm.org,
                                 :   gp.ciceri@suddenthinks.com
                          webSite:   http://www.suddenthinks.com
                          ICQ #  :   94620118
                          jabber :   gp.ciceri@jabber.com

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: using fallback for login page: Re: building a "myDefault" publication from default as stereotype for other pubs issues.

Posted by Andreas Hartmann <an...@apache.org>.
gian paolo ciceri wrote:

[...]

> I've turned on the category you told me in
> logkit.xconf
> 
> <category log-level="DEBUG" name="lenya">
> <log-target id-ref="lenya"/>
> <log-target id-ref="error"/>
> </category>
> </categories>
> </logkit>
> 
> but without success - I cannot find in the
> log the file called.
> Perhaps you can suggest me a more deep
> debug configuration: I'll be thankful.

Sorry, the category I told you was wrong.

The logging category for the fallback input module is
core.modules.input.fallback

I just fixed it in CVS (before it was **.sitetree - a copy&paste
error).

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: using fallback for login page: Re: building a "myDefault" publication from default as stereotype for other pubs issues.

Posted by Andreas Hartmann <an...@apache.org>.
gian paolo ciceri wrote:

> Andreas Hartmann wrote:
> 
>> gian paolo ciceri wrote:
>>
>>> Gregor J. Rothfuss wrote:
>>
>>
>>
>> [...]
>>
>>> <map:transform src="{fallback:lenya/xslt/ac/login.xsl}">

I just checked it, it has to read

<map:transform src="lenya/{fallback:xslt/ac/login.xsl}">

because the sitemap.xmap is not located in the webapp/lenya
directory.

I think it makes sense that the fallback module returns
a context:// path which would make it location independent.
I'll make a proposal on lenya-dev.

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: using fallback for login page: Re: building a "myDefault" publication from default as stereotype for other pubs issues.

Posted by gian paolo ciceri <gp...@acm.org>.
Andreas Hartmann wrote:

> gian paolo ciceri wrote:
> 
>> Gregor J. Rothfuss wrote:
> 
> 
> [...]
> 
>> <map:transform src="{fallback:lenya/xslt/ac/login.xsl}">
>>
>> The default login.xsl continue to work - so the
>> fallback mapping to the "core" file is o.k., but
>>
>> I simply cannot guess where to put the pub-specific one
>>
>> nor in
>>
>> /webapps/lenya/lenya/pubs/[mypub]/lenya/xslt/ac
> 
> 
> This path is correct.
> 
>>
>> neither into
>>
>> /webapps/lenya/lenya/pubs/[mypub]/xslt/ac
>>
>> In either cases I continue to take back
>> the core login.xsl, not the customized one.
> 
> 
> Strange. No idea what the problem is, but the 1st path looks
> good. Maybe you have to turn on DEBUGging for the lenya category
> to see what happens.

Thanks Andreas, but I'm fairly new to lenya.

I've turned on the category you told me in
logkit.xconf

<category log-level="DEBUG" name="lenya">
<log-target id-ref="lenya"/>
<log-target id-ref="error"/>
</category>
</categories>
</logkit>

but without success - I cannot find in the
log the file called.
Perhaps you can suggest me a more deep
debug configuration: I'll be thankful.


Regards
/gp








> 
> -- Andreas
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-user-help@cocoon.apache.org
> 


-- 
Gian Paolo Ciceri        Via G.Marconi 5 - 22036 ERBA CO ITALY
                          mobile :   ++39 340 7218101
                          eMail  :   gp.ciceri@acm.org,
                                 :   gp.ciceri@suddenthinks.com
                          webSite:   http://www.suddenthinks.com
                          ICQ #  :   94620118
                          jabber :   gp.ciceri@jabber.com

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: using fallback for login page: Re: building a "myDefault" publication from default as stereotype for other pubs issues.

Posted by Andreas Hartmann <an...@apache.org>.
gian paolo ciceri wrote:
> Gregor J. Rothfuss wrote:

[...]

> <map:transform src="{fallback:lenya/xslt/ac/login.xsl}">
> 
> The default login.xsl continue to work - so the
> fallback mapping to the "core" file is o.k., but
> 
> I simply cannot guess where to put the pub-specific one
> 
> nor in
> 
> /webapps/lenya/lenya/pubs/[mypub]/lenya/xslt/ac

This path is correct.

> 
> neither into
> 
> /webapps/lenya/lenya/pubs/[mypub]/xslt/ac
> 
> In either cases I continue to take back
> the core login.xsl, not the customized one.

Strange. No idea what the problem is, but the 1st path looks
good. Maybe you have to turn on DEBUGging for the lenya category
to see what happens.

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org