Hello, I might be trying to move my site in version 3.7 to 6 but I see that no template with two columns of menu as in the old version exist. Is this possible or not? It's a shame because it corresponded to what I like. Thank you for your answers.
Yes it is possible. You need to change it in styles and one line in core/products.php: column'.( ( $i % 3 ) ? 0: 1 ).' to: column'.( ( $i % 2 ) ? 0: 1 ).'
Thanks for your answer,but it is not what i want. I talk about a left column of menu and a right cilumn of menu. In the older version it's call "additiomal column...! Thank you
http://www.kimla.de/qc6test/?home,1&sLang=de on the left side normal menu and news, on the right side a login panel and basket contet (if there is something in it).
<div id="column"><?php if( !isset( $bOrderPage ) ){ // left column with left menu ?><?php if( isset( $config['page_search'] ) && is_numeric( $config['page_search'] ) && isset( $oPage->aPages[$config['page_search']] ) ){ // search form starts here ?> <form method="post" action="<?php echo $oPage->aPages[$config['page_search']]['sLinkName']; ?>" id="searchForm"> <fieldset> <span><label for="<?php echo $lang['search']; ?>"><?php echo $lang['search']; ?></label><input type="text" size="15" name="sPhrase" id="<?php echo $lang['search']; ?>" value="<?php echo $sPhrase; ?>" class="input" maxlength="100" /></span> <em><input type="submit" value="<?php echo $lang['search']; ?> »" class="submit" /></em> </fieldset> </form><?php } // search form ends here ?><?php echo $oPage->throwMenu( 3, $iContent, 1 ); // content of left menu ?><?php }?> </div>
<div id="column2"> <?php echo $oPage->throwMenu( 3, $iContent, 1 ); // content of left menu ?> <?php echo $oPage->throwMenu( 4, $iContent, 1 ); // content of left menu ?>
First, you must créate a new file as style2colonnes.php for example in template/default .
You change what you want in this css sheet.(color....)
After it is important not to forget to create a variable in database / config / general.php.
For me, I put: $config['style2colonnes'] = "style2colonnes.css";
Then you must create a file page2colonnes.php in template/default and paste inside page.php content.
You must change only this line: require_once DIR_SKIN.'_header.php'; // include design of header by: require_once DIR_SKIN.'_header2colonnes.php'; // include design of header
Then, create a file _header2colonnes.php and paste inside the content of _header.php. Now in this file will change what you want for a different presentation of menus for example. If you also change the _footer.php creating a _footer2colonnes.php, do not forget to change page2colonnes.php: require_once DIR_SKIN.'_footer.php'; // include design of footer by require_once DIR_SKIN.'_footer2colonnes.php'; // include design of footer
To choose a theme for a particular page, go into the advanced tab in admin /page and choose the theme page2colonnes.php for example.
I am able to explain in detail the procedure, because I found the documentation (tips) yet very well done not specific enough.
I forgot to tell you that in the file creates _header2colonnes.php, you must call the correct css sheet by changing the line: <style type="text/css">@import "<?php echo $config['dir_skin'].$config['style']; ?>";</style>