pjba2006-03-20 21:27 | Could some one please tell me how to create a weclome page without the link in the header.
I have search the forum but can't find an explantion thats works for me.
Thanks
|
2006-03-20 21:49 | pjba - solution for Quick.Cart v1.2, for 0.3.1 its will not work
1. edit file core/categories.php and find
<?php $this->aTypes = Array( 1 => $lang['products'], 2 => $lang['content'] ); ?>
change to:
<?php $this->aTypes = Array( 1 => $lang['products'], 2 => $lang['content'], 3 => 'Hidden content' ); ?>
2. edit core/preferences.php and in function throwPagesSelect( ) find
<?php return $sOption.listCategories( 'categories_content_select.tpl', 2, null, Array( substr( $sStartPage, 2 ) ) ); ?>
to:
<?php return $sOption.listCategories( 'categories_content_select.tpl', 3, null, Array( substr( $sStartPage, 2 ) ) ); ?>
3. Add category as type "Hidden content" 4. Edit configuration and choose as start page this new category
Works?
witaj.net |
pjba2006-03-20 22:30 | Like a dream. Thank you, you're a star.
Could you also tell me: I have deleted: templates/page_tpl <?php <a href="?p=productsList">$lang[products]</a> ?>
So the products can only be selected from the catagory menu column. Is this OK to do?
Sorry a bit long winded. Thanks agian
|
2006-03-21 06:31 | pjba - yes its ok! witaj.net |