url transformation underscore instead of "-" separation

Author Message

laurent le cadet

Tuesday 08 April 2008 1:52:39 am

Hi,

I'm using ezPublish 3.10 for an upgrade with the transformation uri like this :

[Transformation]
Groups[]=lower_uri
 
[lower_uri]
Extensions[]
Commands[]
Commands[]=normalize
Commands[]=transform
Commands[]=decompose
Commands[]=transliterate
Commands[]=diacritical
Commands[]=lowercase
Commands[]=url_cleanup

Everything is ok except that the client want to preserve its underscore instead of the new "-" (thousands address already registred in Google).

Is there a fine tuning?

Best regards.

Laurent

Xavier Gouley

Tuesday 08 April 2008 5:39:56 am

Hi,

With quick look in the transform.ini, the [urlalias_iri] section is the new url aliases (with the new "-"), and the [urlalias_compat] is the old one, with "_".

If you have troubles during an upgrade, you should keep the urlalias_compat section instead of the new one, I suppose.

Try to modify the Commands[] under [urlalias_iri] to reproduce the [urlalias_compat] behavior.

Gook luck !

Xavier Gouley
http://www.gxapplications.com/eng_blog/GX-Admin-s-Blog/

laurent le cadet

Tuesday 08 April 2008 6:15:38 am

Xavier,

That's ok, I just changed 'Commands[]=url_cleanup' to 'Commands[]=url_cleanup_compat' (the old style one).

Thanks.

Laurent

John Smith

Friday 08 August 2008 2:23:11 am

Hi laurent,

Your post here has saved lot of time. Thanks mate... upgraded to 3.10.0 without any error and the most time consuming job - > nice urls working now...

Public and Adminstration sites working....

One thing mate if you can help me....After the upgrade I am not getting anything in Setup -> packages... In the original 3.6.1 install there were three packages, two were some classes and one was the site style.... and even there is no thumbnail in the sitestyle if you go to Design -> Look and feel.... Have you experienced this on your upgradation steps.....

Cheers.

laurent le cadet

Friday 08 August 2008 2:58:44 am

John,

There was no package in the original site, so...
But thumbnails are also missing in the look and feel page.
Probably just a path problem or missing images :)

Regards

Laurent

John Smith

Friday 08 August 2008 3:08:21 am

cheers for swift reply.

Acutally the thing is i imported two classes from some other install but same version. So there were two classes, and another site style which I exported from my development pc to the live one, there were three packages...

I dont think any images missing, it is not retriving the site style at all....

But the whole site is working. so same thing at yours as well...

Hope fully someone else can help here.....

Did your upgrade from 3.10.0 to 4.0.0 go well??? Any thing specific to be taken care of? Do I need to run again updateniceurls.php and udatetipafriendpolicy.php while upgrading??

In the documentation they are not recommending the upgrade from 3.10.0 to 4.0.0, insisting to wait for 4.0.1. Mate what you reckon?

Thanks once again...

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