Nuxeo mailing list archives
[CPS-devel] Go Home Wiki Button
Jose Luis de la Rosa Triviño
joseluis.rosa at iavante.es
Thu Jul 12 12:28:03 CEST 2007
However, I recommend you to start with CPS 3.4.4 as many bugs have been
fixed
Regards.
caroline harper wrote:
>
> Great thanks a lot
> I have removed the ../ from onclick="gotoUrl('../cps_wiki_view')"
> and everything working
> Thanks again
>
>> From: danieltellez <danieltellez at yerbabuena.es>
>> To: caroline harper <carolineh at hotmail.com>
>> CC: jonathan.winterflood at capgemini.com, cps-devel at lists.nuxeo.com
>> Subject: Re: [CPS-devel] Go Home Wiki Button
>> Date: Thu, 12 Jul 2007 11:09:11 +0200
>>
>> 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 at yerbabuena.es>/
>>> To: /caroline harper <carolineh at hotmail.com>/
>>> CC: /jonathan.winterflood at capgemini.com, cps-devel at lists.nuxeo.com/
>>> 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 at capgemini.com>/
>>> >> To: /"caroline harper"
>>> >> <carolineh at hotmail.com>,<cps-devel at lists.nuxeo.com>/
>>> >> 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 at lists.nuxeo.com
>>> >> [mailto:cps-devel-bounces at lists.nuxeo.com] *De la part de*
>>> >> caroline harper
>>> >> *Envoyé :* mercredi 11 juillet 2007 08:57
>>> >> *À :* cps-devel at lists.nuxeo.com
>>> >> *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 at yerbabuena.es
>>> >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 at yerbabuena.es
>> 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
>
> _________________________________________________________________
> Tell Hotmail about an email that changed your life!
> http://www.emailbritain.co.uk/
>
> _______________________________________________
> cps-devel mailing list
> http://lists.nuxeo.com/mailman/listinfo/cps-devel
>
--
Jose Luis de la Rosa
Técnico de Innovación y Tecnología
Fundación IAVANTE
Telf.: 951 01 53 13 - Fax: 951 01 53 01
www.iavante.es
Este correo electrónico y, en su caso, cualquier fichero anexo, contiene
información confidencial exclusivamente dirigida a su(s)
destinatario(s). Toda copia o divulgación deberá ser autorizada por
IAVANTE.
This e-mail and any attachments are confidential and exclusively
directed to its adressee(s). Any copy or distribution will have to be
authorized by IAVANTE.
This list archive provided by Nuxeo, the
leaders of open source ECM.
Check out the Nuxeo 5 open source,
standards-based ECM project.