Treewood, since U rule and you´re such a helpful guy, I will ask you:
Is there a simple way to add an option; when creating a category you can choose "type - external link". So that the menu item opens an external page, if you know what I mean?
MagnusJ - then edit index.php and search below code. For example id of Your category with external link will be 22. Put if in else block. Example below:
<?php if( is_file( $sActionFile ) ) require_once $sActionFile; else{ // ... code in index.php if( $iCategory == 22 ){ // id of category with link header( 'http://google.com/' ); // external link exit; } $content .= $tpl->tbHtml( 'contents_more.tpl', $sBlock ); } ?>
<?php if( $iCategory == 22 ){ // id of category with link header( 'http://google.com/' ); // external link exit; } ?>
znacznik
2006-03-24 12:16
It works, but only with Location: <?php if( $iCategory == 22 ){ // id of category with link header( 'Location: http://google.com/' ); // external link exit; } ?>
znacznik
Magnus J
2006-03-24 15:13
Hi treewood, Maybe we misunderstood each other. This way I would have to hard code every external link, right?
I want to be able to automatically create an external link when creating a category. (Just like choosing if a category should be visible in the menu or not). Also it would be nice to be able to choose if that link should open i a separate window or not.
i was using quick cart v2.3. under add category menu for add-in hyperlink on full descriprion. i want to add-in pop-up window for the hyperlink. anyone know this?
i was add on a category called "opportunity". when i was click into this opportunity menu, it was a word "click here for register". now i was to add-on a pop-up window for this word "click here for register". that mean when i was click this, another html windows will pop-up. anyone can help?