welcome page

pjba

No avatar

2006-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

treewood (OpenSolution)

Avatar: treewood

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( => $lang['products'], => $lang['content'] );
?>


change to:

<?php
$this
->aTypes = Array( => $lang['products'], => $lang['content'], => 'Hidden content' );
?>



2. edit core/preferences.php and in function throwPagesSelect( ) find

<?php
return $sOption.listCategories'categories_content_select.tpl'2null, Array( substr$sStartPage) ) );
?>


to:

<?php
return $sOption.listCategories'categories_content_select.tpl'3null, Array( substr$sStartPage) ) );
?>



3. Add category as type "Hidden content"
4. Edit configuration and choose as start page this new category

Works?

witaj.net

pjba

No avatar

2006-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

treewood (OpenSolution)

Avatar: treewood

2006-03-21 06:31

pjba - yes its ok!

witaj.net

Back to top
about us | contact