Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 09-27-2010 19:13:49

UltimateHerbals
Member
Registered: 09-27-2010
Posts: 7

How to get contents of Splash.php to display on the index page again?

Hello,

I had it working at one point where the contents I entered in splash.php when editing the active Display Skin showed up on the index page, but now it's showing Categories & Products? And the worst thing is I don't know what I did?

wwwultimateherbals.com/index.php

is now the same as:

http://www.ultimateherbals.com/index.ph … ;ns=splash

And I am trying to get the contents of the 'splash.php' file/include to display.

Any ideas where we went wrong and how to get it back?

Offline

 

#2 09-27-2010 23:14:10

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: How to get contents of Splash.php to display on the index page again?

At System Dashboard > Website > Component > Profile check to make sure that the entry for the Component Default Namespace* field is Web Page. Now come the really fun part, if ccp doesn't understand or can't find the page being called then it will revert to displaying the store splash page so the question is, are the results your getting coming from a well executed page call or from a general error that ccp can't find or display the page you are actually calling.

John

Offline

 

#3 09-28-2010 13:48:48

UltimateHerbals
Member
Registered: 09-27-2010
Posts: 7

Re: How to get contents of Splash.php to display on the index page again?

Hi John, that did it with flying colors.

I am pretty confused about the term 'Namespace' and how it works with Click CartPro.. is there a Wiki, or anywhere else that puts it in basic terms? It's obviously a pretty important concept and I want to get my head around it.

Very best,
Billy

Offline

 

#4 09-28-2010 14:53:10

vbsaltydog
Member
From: Florida
Registered: 05-02-2005
Posts: 947
Website

Re: How to get contents of Splash.php to display on the index page again?

CCP does not use the term namespace under the standard definition of a namespace in PHP. In CCP, a namespace is just another term for a call to a function, or method since they exist within classes in CCP 7. The core_namespaces table of the database holds the namespaces for CCP 7 and all of the namespaces have a pointer to a PHP function either in a parent class, child class, or within an extension file (ext directories). Look at how the CORE_APP object runs namespaces if you want more info on how they are executed. You can run them as frontend or backend and as internal or CGI and you can pass arrays to them, etc.


Latest CCP 7 XMods Available:


Offline

 

Board footer