StartPAGE

MickeY

No avatar

2004-10-15 18:24

Hello!

I wonder if there is any possibilty to change the start page from Product or about? I mean a new like "start.php" and u can config it from the admin it would be great! this kickazz!

thanks in advance /mickeY

treewood (OpenSolution)

Avatar: treewood

2004-10-15 19:05

mickey - Quick Cart is very simple and it will be very simple. It is so simple that make easy to change. If You know PHP language You will change it fast and without any problem.
We made Quick Cart for those who want simple cart or whant based options in cart and they change for themselve script.

witaj.net

MickeY

No avatar

2004-10-15 20:07

Yeah sure=) still its many files to go trough But I will do my best=) thanks "polaku"=) heh

/mickey

MickeY

No avatar

2004-10-15 20:42

BUt cant u just say where to find:


In adminpanel there is Config. And --> homepage

I can only pick 2 (productlist and about)
But where is the file there I can change that? I have looked in the general.php but I dont find much about that...

/mickey

MickeY

No avatar

2004-10-15 20:54

I found the function in Prefercence BUT When I try to add a new value

aStartPage[] = 'about&sSite=statute';

and pick it in the config I get no page displayed!?

plz help

/mickey

treewood (OpenSolution)

Avatar: treewood

2004-10-16 00:01

mickey - go to config/general.php and change config['start_page'] ... do only this

witaj.net

wewior (OpenSolution)

Avatar: wewior

2004-10-16 00:08

you just want to change start page - that when user comes for your site?
there is some piece of code in index.php:
if( !isset( p ) || p == '' )
p = config['start_page'];

the link is ?p=productsList when you change it for example p = 'about'; you will get what you want i think

\//\// e \\/\\/ i o r

MickeY

No avatar

2004-10-16 00:55

Hehe it doent work I promise, I want the site to load-->
"?p=about&sSite=statute" But in my opinion I just got 2 alternatives

About and Product list. But Contact work and Basket work too!

The problem is when I try to about&sSite=SOMETHING

Please help me I have been stuck in hours.....
tell me exatly how to do.

/mickey

treewood (OpenSolution)

Avatar: treewood

2004-10-16 01:03

hmm... if you want to see statute on start page then change:

if( !isset( p ) || p == '' )
p = config['start_page'];

to

if( !isset( p ) || p == '' ){
p = 'about;
sSite = 'statute';
}

witaj.net

MickeY

No avatar

2004-10-16 13:21

thank u=)

thanks in advance /mickeY

murthax

No avatar

2005-10-12 05:01

This is the only change necessary then?

if( !isset( p ) || p == '' )
p = config['start_page'];

to

if( !isset( p ) || p == '' ){
p = 'about;
sSite = 'statute';

You guys were all over the place.
}

murthax

No avatar

2005-10-12 05:07

I'm lost here. Can someone give a better explanation of what needs to change where?

Back to top
about us | contact