12 Jul 11:09
Re: Go Home Wiki Button
From: danieltellez <danieltellez@...>
Subject: Re: Go Home Wiki Button
Newsgroups: gmane.comp.web.zope.cps.devel
Date: 2007-07-12 09:09:11 GMT
Subject: Re: Go Home Wiki Button
Newsgroups: gmane.comp.web.zope.cps.devel
Date: 2007-07-12 09:09:11 GMT
I'm using CPS 3.4.4 and Zope 2.9.7 and this button no longer exists here.
You can find it in your distribution in
CPSWiki/skins/cps_wiki/cps_wiki_pageview.pt:
<img id="goHome" style="visibility: visible"
onmouseover="setCursor(this)"
onclick="gotoUrl('../cps_wiki_view')"
src="wikipage_home.png"/>
and try to change the onClick behavior.
caroline harper wrote:
>
> Do you know how I can change the "home button" to make it go to:
>
> http://localhost/cps/workspaces/*my_wiki/*cps_wiki_view
> <javascript:ol('http://localhost/cps/workspaces/*my_wiki/*cps_wiki_view');>
>
>
> ?
>
> ------------------------------------------------------------------------
> From: /danieltellez <danieltellez@...>/
> To: /caroline harper <carolineh@...>/
> CC: /jonathan.winterflood@..., cps-devel@.../
> 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@...>/
> >> To: /"caroline harper"
> >> <carolineh@...>,<cps-devel@...>/
> >> Subject: /RE: [CPS-devel] Go Home Wiki Button/
> >> Date: /Wed, 11 Jul 2007 09:10:17 +0200/
> >>
> >> Hi,
> >>
> >> In theory, if there’s an error then it isn’t normal ;)
> >>
> >> But we’ll need the full error message + traceback to be able
> >>to
> >> help, probably.
> >>
> >> Jonathan
> >>
> >>
> >>------------------------------------------------------------------------
> >>
> >> *De :* cps-devel-bounces@...
> >> [mailto:cps-devel-bounces@...] *De la part de*
> >> caroline harper
> >> *Envoyé :* mercredi 11 juillet 2007 08:57
> >> *À :* cps-devel@...
> >> *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@...
> >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!
> <http://g.msn.com/8HMBENUK/2740??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@...
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
RSS Feed