bcredirect

UNIX name Owner Status
bcredirect Brookins Consulting stable
Version Compatible with
N/A N/A
The bcredirect module allows you to redirect to the main node of a content object by specifying only its content object ID

BC Redirect

A redirect extension for eZ Publish

Copyright and License

Copyright (C) 2005-2006 SCK-CEN, 1999-2012 Brookins Consulting

Written by Kristof Coomans ( http://blog.kristofcoomans.be )

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Features

The redirect module allows you to redirect to
the main node of a contentobject by specifying
only it's content object ID.

Usage

From: http://share.ez.no/forums/developer/node-number-at-first-publishing#comment45422

I needed to accomplish this too, but didn't succeed by using existing functionality.

I made my own module which redirects to the main node of an object, by specifying the object id as a parameter in the URL. I've uploaded my extension to pubsvn, you can check it out from http://pubsvn.ez.no/community/trunk/extension/redirect.

Installation and use:

  • enable the extension
  • give your users access to the redirect module (assign them a role with a policy for function redirect of module redirect)
  • you can use /redirect/mainnode/yourobjectid in the RedirectURIAfterPublish hidden input field.
  • custom view parameters are passed by in the URL, so you can use /redirect/mainnode/yourobjectid/(customkey)/customvalue.

The extension was created in April 2005, and hasn't been tested on more recent releases of eZ publish. Feel free to try it, I hope it solves your problem.

No news yet.

This project has no reviews yet. Be the first one to review it!

No forum messages yet.