linking between multiple sites - relative vs absolute links

Author Message

Ralf Tomer

Thursday 12 May 2005 2:56:51 am

Hi,
Background:
I'm still testing eZ locally to see if I can make it fit my needs... I'm testing a multisite setup on one database. One of my objectives is to have related pages accoss the multiple sites link to each other.

The issue:
A problem I've found so far is that there doesn't seem to be a way to tell eZ that a particular content node belongs to a particular domain/site. Consquently, all the links generated by eZ are relative links for the current site. It doesn't know which nodes belong to "external" sites and generate absolute external links when linking to those nodes.

Solution?
Is there a way to do this in eZ?

Thanks

Fancy a game of Texasholdem?
http://www.texasholdem-poker.info

Ralph Ekekihl

Thursday 12 May 2005 5:03:36 am

Hi!

Working on an extension to store objects from different sites in eZp. Could not find any way to do it without adding a field to the database, so have added a field called site_name to the ezcontentobject_link table where the sitename is stored.

Dont know of any other way to solve it, maybe someone else has another suggestion?

Regards,
Ralph Ekekihl
http://www.contactivity.com/

Contactivity B.V.
http://www.contactivity.com

Ralf Tomer

Thursday 12 May 2005 5:52:54 am

Hi,
Thanks for your input. Would you mind explaining in a bit more detail this solution? Once you have this site_name field added to the DB, then what?

Thanks

Fancy a game of Texasholdem?
http://www.texasholdem-poker.info

Ralf Tomer

Monday 16 May 2005 10:16:40 am

Hi, can anyone help me with this question, please? It's a make or break feature for me - thanks.

Fancy a game of Texasholdem?
http://www.texasholdem-poker.info

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.