hidden pages in version 2.0

pepe

Avatar: pepe

2006-12-04 11:27

Is it possible, to create "hidden pages" in Q.C version 2.0?

I mean pages, not shown in the menus, but calling by a link must be possible.
If YES... how?

Thanks for a solution







pepe

wewior (OpenSolution)

Avatar: wewior

2006-12-05 11:34

add another type of menu in file core/categories.php:
$this->aTypes = Array( 1 => $lang['menu_left'], 2 => $lang['menu_top'], 3 => $lang['menu_head'] );
like:
$this->aTypes = Array( 1 => $lang['menu_left'], 2 => $lang['menu_top'], 3 => $lang['menu_head'], 4 => $lang['menu_hidden'] );
and add variable $lang['menu_hidden'] in lang file it should work

Ned

No avatar

2006-12-05 12:35

Thanks Wewior. Great. Ive just tried it in Q.C2.0 and it works.

For a practical use create two categories - Whoops! and Thank You!. Make them "menu hidden" and visible "yes". Its then possible to set up PayPal to redirect back to either of the pages depending on whether the payment was successful or not.
The advantage of this is over redirection to pages outside the cart is that if you change the menu structure you do it for all pages.
Very useful.

pepe

Avatar: pepe

2006-12-05 13:38

@wewior

Works, like a charme... thanks :)


@Ned

Just that's ( PayPal ) the reason, why I'm searching for such a solution ;)

pepe

Back to top
about us | contact