12 Jul 10:49
Re: Go Home Wiki Button
From: caroline harper <carolineh@...>
Subject: Re: Go Home Wiki Button
Newsgroups: gmane.comp.web.zope.cps.devel
Date: 2007-07-12 08:49:43 GMT
Subject: Re: Go Home Wiki Button
Newsgroups: gmane.comp.web.zope.cps.devel
Date: 2007-07-12 08:49:43 GMT
Do you know how I can change the "home button" to make it go to:
http://localhost/cps/workspaces/*my_wiki/*cps_wiki_view
?
From: danieltellez <danieltellez-Zel9jL5WV+H3RgZPAnJ57g@public.gmane.org>
To: caroline harper <carolineh-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org>
CC: jonathan.winterflood-LkLO8TGIB8utG0bUXCXiUA@public.gmane.org, cps-devel-FQDHc1wsLCVb90+sfpvX0g@public.gmane.org
Subject: Re: [CPS-devel] Go Home Wiki Button
Date: Wed, 11 Jul 2007 23:01:32 +0200
>Hello !!
>
>this is your wiki URL:
>
>ttp://localhost/cps/workspaces/my_wiki
><http://localhost/cps/workspaces/my_wiki>
>
>this is where your "home button" goes:
>
>http://localhost/cps/workspaces/cps_wiki_view
>
>Your "home button" must go to:
>
>http://localhost/cps/workspaces/*my_wiki/*cps_wiki_view
>
>The "home button" behavior is like that (you can see it on
>CPSWiki/i18n/*.po):
>
>gotoUrl('../cps_wiki_view')
>
>All this means that you are clicking "home button" as if you were on
>wiki root. But I'm trying to do it and I cannot view this button
>here.
>
>Have you modified this behavior ??
>
>What is your Zope/CPS flavour ??
>
>caroline harper wrote:
>>
>>Here you go. Please let me know if you need any further info
>>
>>Error Type: AttributeError
>>
>>Error Value: getSummary
>>
>>Module Products.PageTemplates.TALES, line 221, in evaluate
>>
>>URL: /cps/cps_wiki_view
>>
>>Line 56, Column 4
>>
>>Expression: <PythonExpr here.getSummary()>
>>
>>Names:
>>
>>{'container': <CPSDefaultSite at /cps>,
>>'context': <ProxyFolder at /cps/workspaces>,
>>'default': <Products.PageTemplates.TALES.Default instance at
>>0x015EC558>,
>>'here': <ProxyFolder at /cps/workspaces>,
>>'loop': <Products.PageTemplates.TALES.SafeMapping object at
>>0x042D40D0>,
>>'modules':
>><Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance
>>at 0x015D8AD0>,
>>'nothing': None,
>>'options': {'args': ()},
>>'repeat': <Products.PageTemplates.TALES.SafeMapping object at
>>0x042D40D0>,
>>'request': <HTTPRequest,
>>URL=http://localhost/cps/workspaces/cps_wiki_view>,
>>'root': <Application at >,
>>'template': <ZopePageTemplate at /cps/cps_wiki_view used for
>>/cps/workspaces>}
>>
>>
>>Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
>>
>>__traceback_info__: here.getSummary()
>>
>>
>>Module Python expression "here.getSummary()", line 1, in
>><expression>
>>
>>
>>AttributeError: getSummary
>>
>>
>>
>>------------------------------------------------------------------------
>> From: /"Winterflood, Jonathan"
>><jonathan.winterflood-LkLO8TGIB8utG0bUXCXiUA@public.gmane.org>/
>> To: /"caroline harper"
>> <carolineh-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org>,<cps-devel-FQDHc1wsLCVb90+sfpvX0g@public.gmane.org>/
>> Subject: /RE: [CPS-devel] Go Home Wiki Button/
>> Date: /Wed, 11 Jul 2007 09:10:17 +0200/
>>
>> Hi,
>>
>> In theory, if theres an error then it isnt normal ;)
>>
>> But well need the full error message + traceback to be able
>>to
>> help, probably.
>>
>> Jonathan
>>
>>
>>------------------------------------------------------------------------
>>
>> *De :* cps-devel-bounces-FQDHc1wsLCVb90+sfpvX0g@public.gmane.org
>> [mailto:cps-devel-bounces-FQDHc1wsLCVb90+sfpvX0g@public.gmane.org] *De la part de*
>> caroline harper
>> *Envoyé :* mercredi 11 juillet 2007 08:57
>> *À :* cps-devel-FQDHc1wsLCVb90+sfpvX0g@public.gmane.org
>> *Objet :* [CPS-devel] Go Home Wiki Button
>>
>> Hi
>>
>> I have created a wiki under worspaces:
>> http://localhost/cps/workspaces/my_wiki
>>
>> then I have created 2 pages for the wiki
>>
>> When I click on the Go Home button on one of the wiki pages
>>the
>> button takes me to the follwoing URL and I get an attribute
>>error.
>> Is this normal?
>>
>> http://localhost/cps/workspaces/cps_wiki_view
>>
>> Caroline
>>
>>
>>
>>------------------------------------------------------------------------
>>
>> The next generation of Hotmail is here - Windows Live Hotmail
>> <http://g.msn.com/8HMAENUK/2749??PS=47575>
>>
>> This message contains information that may be privileged or
>> confidential and is the property of the Capgemini Group. It is
>> intended only for the person to whom it is addressed. If you
>>are
>> not the intended recipient, you are not authorized to read,
>>print,
>> retain, copy, disseminate, distribute, or use this message or
>>any
>> part thereof. If you receive this message in error, please
>>notify
>> the sender immediately and delete all copies of this message.
>>
>>
>> >_______________________________________________
>> >cps-devel mailing list
>> >http://lists.nuxeo.com/mailman/listinfo/cps-devel
>>
>>
>>------------------------------------------------------------------------
>>What's the most memorable email you've ever received? Tell Hotmail
>>about it! <http://g.msn.com/8HMAENUK/2728??PS=47575>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>cps-devel mailing list
>>http://lists.nuxeo.com/mailman/listinfo/cps-devel
>>
>
>
>--
>Daniel Téllez Sabán. Yerbabuena Software. Dpto I+D.
>danieltellez-Zel9jL5WV+H3RgZPAnJ57g@public.gmane.org
>http://www.yerbabuena.es
>Tlf/Fax: 902 995 246 Móvil: 615 051 283
>
>_______________________________________________
>cps-devel mailing list
>http://lists.nuxeo.com/mailman/listinfo/cps-devel
Watch all 9 Live Earth concerts live on MSN - Click Here!
_______________________________________________ cps-devel mailing list http://lists.nuxeo.com/mailman/listinfo/cps-devel
RSS Feed