Mailing List Archive

Changing the URL for a category
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi All,

First post to this list. Hello.

I am trying to change the URL of one of our categories from /themes/aid
to /themes/development.

It has two child categories, which I imagine will be affected by this
change.

I will put rewrites in place for the old URLs, and have already renamed
the categories.

As there isn't an obvious way to do this in the interface, I'm wondering
if there is a Bric::SOAP approach that I can take (ie.
http://bricolagecms.org/docs/2.0/api/Bric/SOAP/Category.html seems
hopeful) or if I'll need to grovel round in the database.

Thanks for any advice folk have.

Cheers,
- --
Charlie Harvey
IT Manager
New Internationalist

t: +44 (0)1865 811402
f: +44 (0)1865 793152
w: http://www.newint.org/
k: http://bit.ly/gpgkey/

** We offer a range of design, production, editorial, publishing and
mail order services. See http://nin.tl/hire-ni **

New Internationalist is an independent not-for-profit communications
cooperative. Our multi-award winning magazine, New Internationalist,
brings to life the people, the ideas and the action in the fight for
global justice.

New Internationalist Publications Ltd. is incorporated in England
under no.1005239. Registered Office:
New Internationalist, 55 Rectory Road, Oxford, OX4 1BW, UK
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCgAGBQJQNhu1AAoJEPytMqUZaqlz3loQAKL8QEKf17mNip2j4wMPtjlM
dq3XHQbU3374iGC2mGQhL+6OGaQ1lZQCM5LWvrGwc6N+3aPrscD6jnVuQq080VxT
n64HKVcSbPBnTavW4QUJaQKBuhfm7GvvV+4xsAaGkQs/OUP/jZtCn67cUk9KtD5T
MCNDP2UqHd4t+m9GDenUpfcSfds/D1XCQEv73x57YJjEG/8fF/rf/63N9i2b+Cum
i01doOuO/s15cWgvj5AynKh0ypF2zWB3dHxI07V3PPJNQgG+e2yBmzwTejXW0FMt
XC+RyWjeIJmUNyBwqpwizXfH4YRBLcQsoOoomx7sgIh8kvEQr92sViisD6dh7pF2
bt6sXy9NDUiIsnLSjD8YcMk5PRLHyr2NqrPGOPi6hJrVzf7Ww8dWLoQOq4YBr9Yg
Vigmqs2cc1jnOHfhHtp1SRvRVTUCDR3qqYc6nYx8dbQF0nB9pY7ZCgJn4je1kVEr
FW+vC6NeaSyavdBdbq0MaPsfuJrgv0Ug7F463ejvvFfCGyxfzscnT8e6j5Ip/yAX
K3i8jADGzfLJpQsPCoNqjVg6c/USP1CPPDbNkT93wLB8I0Xk9GTp7dFZET901t1N
77QN2NdjW+rArudKM4TPI2of3geF2U7mSwxr7Cy4XzhDO3RB0GSXSE2lB+Yo5cey
+SfQr2VMCiB6T88WTlQF
=MqFO
-----END PGP SIGNATURE-----
Re: Changing the URL for a category [ In reply to ]
Search and you shall receive:
http://www.gossamer-threads.com/lists/engine?list=bricolage&do=search_results&search_forum=forum_2&search_string=change+category&search_type=AND

;)

On 2012-08-23, at 8:01 AM, Charlie Harvey wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> Hi All,
>
> First post to this list. Hello.
>
> I am trying to change the URL of one of our categories from /themes/aid
> to /themes/development.
>
> It has two child categories, which I imagine will be affected by this
> change.
>
> I will put rewrites in place for the old URLs, and have already renamed
> the categories.
>
> As there isn't an obvious way to do this in the interface, I'm wondering
> if there is a Bric::SOAP approach that I can take (ie.
> http://bricolagecms.org/docs/2.0/api/Bric/SOAP/Category.html seems
> hopeful) or if I'll need to grovel round in the database.
>
> Thanks for any advice folk have.
>
> Cheers,
> - --
> Charlie Harvey
> IT Manager
> New Internationalist
>
> t: +44 (0)1865 811402
> f: +44 (0)1865 793152
> w: http://www.newint.org/
> k: http://bit.ly/gpgkey/
>
> ** We offer a range of design, production, editorial, publishing and
> mail order services. See http://nin.tl/hire-ni **
>
> New Internationalist is an independent not-for-profit communications
> cooperative. Our multi-award winning magazine, New Internationalist,
> brings to life the people, the ideas and the action in the fight for
> global justice.
>
> New Internationalist Publications Ltd. is incorporated in England
> under no.1005239. Registered Office:
> New Internationalist, 55 Rectory Road, Oxford, OX4 1BW, UK
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iQIcBAEBCgAGBQJQNhu1AAoJEPytMqUZaqlz3loQAKL8QEKf17mNip2j4wMPtjlM
> dq3XHQbU3374iGC2mGQhL+6OGaQ1lZQCM5LWvrGwc6N+3aPrscD6jnVuQq080VxT
> n64HKVcSbPBnTavW4QUJaQKBuhfm7GvvV+4xsAaGkQs/OUP/jZtCn67cUk9KtD5T
> MCNDP2UqHd4t+m9GDenUpfcSfds/D1XCQEv73x57YJjEG/8fF/rf/63N9i2b+Cum
> i01doOuO/s15cWgvj5AynKh0ypF2zWB3dHxI07V3PPJNQgG+e2yBmzwTejXW0FMt
> XC+RyWjeIJmUNyBwqpwizXfH4YRBLcQsoOoomx7sgIh8kvEQr92sViisD6dh7pF2
> bt6sXy9NDUiIsnLSjD8YcMk5PRLHyr2NqrPGOPi6hJrVzf7Ww8dWLoQOq4YBr9Yg
> Vigmqs2cc1jnOHfhHtp1SRvRVTUCDR3qqYc6nYx8dbQF0nB9pY7ZCgJn4je1kVEr
> FW+vC6NeaSyavdBdbq0MaPsfuJrgv0Ug7F463ejvvFfCGyxfzscnT8e6j5Ip/yAX
> K3i8jADGzfLJpQsPCoNqjVg6c/USP1CPPDbNkT93wLB8I0Xk9GTp7dFZET901t1N
> 77QN2NdjW+rArudKM4TPI2of3geF2U7mSwxr7Cy4XzhDO3RB0GSXSE2lB+Yo5cey
> +SfQr2VMCiB6T88WTlQF
> =MqFO
> -----END PGP SIGNATURE-----

--
Phillip Smith
http://phillipadsmith.com
http://twitter.com/phillipadsmith
http://linkedin.com/in/phillipadsmith

If your email inbox is out of control, check out http://sanebox.com/t/s0q7m

Save our in-boxes! http://emailcharter.org
Re: Changing the URL for a category [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 23/08/12 16:59, Phillip Smith wrote:
>
> Search and you shall receive:
> http://www.gossamer-threads.com/lists/engine?list=bricolage&do=search_results&search_forum=forum_2&search_string=change+category&search_type=AND
>
> ;)

Hi,

Thanks Phillip, my google-fu must have deserted me. SQL it is...

Cheers,


- --
Charlie Harvey
IT Manager
New Internationalist

t: +44 (0)1865 811402
f: +44 (0)1865 793152
w: http://www.newint.org/
k: http://bit.ly/gpgkey/

** We offer a range of design, production, editorial, publishing and
mail order services. See http://nin.tl/hire-ni **

New Internationalist is an independent not-for-profit communications
cooperative. Our multi-award winning magazine, New Internationalist,
brings to life the people, the ideas and the action in the fight for
global justice.

New Internationalist Publications Ltd. is incorporated in England
under no.1005239. Registered Office:
New Internationalist, 55 Rectory Road, Oxford, OX4 1BW, UK
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCgAGBQJQNlVrAAoJEPytMqUZaqlzz5cP/ROss61tIy4FlLHtw5QINbD0
HIFaBcSMv3fwsSniBdE4YR2MClAWfVmhzWaAuo2HUqCCbsStjDTDZ88UuH6YyKPm
DdkKRB40Rkqaznr1bHGKYZ9nXZhdwUu43SzgeJPkU2/cfv61YrVtwW/pgS3EkGBt
lt7KRzzMbJYqGtMbJxe9/F3/uJrFTRqjQe4up/ey6Ljhlxy5tQzlKOXMSIPCvq4K
tBrY06rsR4eNMOvLRooB1mzltYbWp2r8cGrzp0nzk/b3XwTZbgJvDTd2l1zclHA7
wOQRSrHyjRjDLqoX8ZhzqJEfgqJ4M8TSnjnlhtoNnYoXZ4GvXhE+t9rBIYtDT5DO
wM/gZvJpMFzAEszuB7vmTm4YY7U4cQq13+uGoA60jeh2z7IC53kiOOpns0qT71vj
7niw38cNnxR9kUe4eFYpEcAZ9y3SyLvg16WTz3S+top6GSZKSlTwQLRze1xQS7rg
ieqQgZP7A4uQDSq7CCku2SxW4qj0eomQ55GjRDii/5gBLD2FVtOETL4x+bmCYDxv
ZsqSyxj0xxgaNT2U+YhjMTn/Bet2McaEyIsWVVFzI2RzJ24QcTBw8I+XAnJO0ubX
oOv7v6NUQuFPGGQ7tcPIwywsXt3Srmwo0RdU6YVCxj7EC9UfY9nO5rsfSOd0H5Vd
xDdJFnGltFdRxhCOtBes
=NlmW
-----END PGP SIGNATURE-----