Discussion:
redirect/relink question
list.fluxcms
2009-11-12 19:47:39 UTC
Permalink
I need to realize a redirect of the collection named "stellenanzeigen" to
the collection "jobs" which already has content and resources in it.
So I created the collection and edited the properties of collection
"stellenanzeigen", and put in

bx::redirect -- /jobs

But the system answers with "/stellenanzeigen/ not found" but "/jobs/" is
working.

Can you give me a hint why it is not working? (I tried the same with
bx::relink which was not working as well).

Second question:

Is it possible to let a collection or resource point to an external URL,
e.g. I create a collection "fluxcms" with properties

bx::redirect -- http://www.liip.ch

and want to redirect all to liip.ch ?

Thanks for your help in advance.

Thomas.
--
bitflux-cms mailing list
bitflux-***@lists.bitflux.ch
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms
list.fluxcms
2009-11-12 22:13:04 UTC
Permalink
If I put in "/jobs/index.html" as bx::redirect then the redirection works.

But with bx::relink none variation works :-(

Can you give me please an example for bx::relink.

And an example how to implement an external redirect to http://xxxx.

Thanks for your reply in advance.

Thomas.
--
bitflux-cms mailing list
bitflux-***@lists.bitflux.ch
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms
Philipp Stucki
2009-11-12 22:43:06 UTC
Permalink
These properties depend on the theme you're using and whether it has
been modified or not.

@relink is resolved at XSL level in the master stylesheet:
http://fisheye.liip.ch/browse/PUB/fluxcms_demo/trunk/themes/3-cols/master.xsl?r=HEAD#l181

To link a resource to an external link set @relink to http://othersite.com

@redirect is handled at request level in the cms and does not change the
href attribute. e.g.: let /abc, /def be collections, setting @redirect
on /abc to "/def/index.html" would make /abc an alias of /def/index.html

HTH
Philipp
Post by list.fluxcms
I need to realize a redirect of the collection named "stellenanzeigen" to
the collection "jobs" which already has content and resources in it.
So I created the collection and edited the properties of collection
"stellenanzeigen", and put in
bx::redirect -- /jobs
But the system answers with "/stellenanzeigen/ not found" but "/jobs/" is
working.
Can you give me a hint why it is not working? (I tried the same with
bx::relink which was not working as well).
Is it possible to let a collection or resource point to an external URL,
e.g. I create a collection "fluxcms" with properties
bx::redirect -- http://www.liip.ch
and want to redirect all to liip.ch ?
Thanks for your help in advance.
Thomas.
--
Philipp Stucki
Eibenstrasse 5
8045 Zürich

***@qwert.ch
http://qwert.ch
--
bitflux-cms mailing list
bitflux-***@lists.bitflux.ch
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms
Loading...