Subscribers,

I am trying to add a standard set of links to the bottom of my
CPS-3.4.3 pages. They will hopefully enable a user to bookmark the page
in Del.icio.us, or submit it to Digg, Slashdot and so on.

After reading the Zope docs and searching the net I've been unable to
work out how to include the full referrer in the url sent to these
services. At present I am using:

tal:attributes="href 
string:http://slashdot.org/bookmark.pl?url=${here/portal_url}/";

but of course this only returns:

http://slashdot.org/bookmark.pl?url=http://indica-et-buddhica.org/

Would anyone know how I might alter this expression so that it would
output the full referrer?

My initial attempt is visible here:

http://indica-et-buddhica.org/sections/lexica

As you can see, I've been making changes to:

/cps/portal_skins/custom/portlet_contact_accessibility

And here they are:

<div style="text-align: center">
            Like this page?
            <a tal:attributes="href
string:http://del.icio.us/post?url=${here/portal_url}/";
             title="Bookmark it in del.icio.us"><img
src="/portal_themes/default/icons/delicious.gif" alt="del.icio.us"
/></a> |
            <a tal:attributes="href
string:http://www.digg.com/submit?url=${here/portal_url}/";
             title="Submit it to digg"><img
src="/portal_themes/default/icons/digman.gif" alt="digg.com" /></a> |
            <a tal:attributes="href
string:http://slashdot.org/bookmark.pl?url=${here/portal_url}/";
             title="Submit it to slashdot"><img
src="/portal_themes/default/icons/slashdot-13x13.png" alt="slashdot.org"
/></a> |
            <a tal:attributes="href
string:http://technorati.com/search/${here/portal_url}/";
             title="See who links to it"><img
src="/portal_themes/default/icons/technorati-16x15.png"
alt="technorati.com" /></a> -::-
  <a i18n:translate="action_accessibility"
    tal:attributes="href
string:${here/portal_url}/accessibility">Accessibility</a> |
  <a i18n:translate="action_contact" tal:attributes="href
   
string:mailto:${here/portal_properties/email_from_address}?subject=%5BIeB%5D%20Feedback&amp;body=System%20Administrator%2C%0A";>
    Contact</a> |
  <a i18n:translate="action_print"
    href="javascript:if (window.print) window.print();">Print</a>
</div>



Best regards,

 Richard Mahoney



-- 
Richard MAHONEY | internet: http://indica-et-buddhica.org/
Littledene      | telephone/telefax (man.): +64 3 312 1699
Bay Road        | cellular: +64 27 482 9986
OXFORD, NZ      | email: [EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Indica et Buddhica: Materials for Indology and Buddhology
Repositorium: http://indica-et-buddhica.org/repositorium/
Philologica: http://indica-et-buddhica.org/philologica/
Subscriptions: http://subscriptions.indica-et-buddhica.org/

_______________________________________________
cps-users mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/cps-users

Reply via email to