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.
Pages: 1
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
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
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
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.
Offline
Pages: 1