Custom tmplates

General ShopSite user discussion

Custom tmplates

Postby Liver Kid » Sun Jan 29, 2006 12:17 pm

Using Shop Site Manager 7.1

I've created a custom template and it works perfectly. Now the client wants
to password protect the page. Outside of the Shop Site world, we know how to
do this using PHP. I created a PHP page as a template, uploaded it, created
a new page and... as instructed at the bottom of the new page form, gave it
an HTML extension. The PHP on the page doesn't work. Next... contrary to
the forms instructions saying it must have a HTML extension, I gave the new
page a PHP extension and it (not password protected yet, only displays an
extra line of text at the top left of the page as a test) It also appears as
if the rest of the page is working as well. I can click on any of the
products, get to the more info page, add it to the cart, etc.

Does using a PHP extension mess something up that I can't see?

Here's the "working" page:

http://ctadbgear.com/shopsite_sc/store/html/test.php

Thanks
Liver Kid
 

Re: Custom tmplates

Postby Rob » Sun Jan 29, 2006 1:24 pm

No, it is fine to have your ShopSite pages end in .php. They will work fine.
The reason ShopSite says must end in .html is to stop users from naming
their pages with no extension, or making one up like socks.feet, as these
would not work in the browser. :)

Rob

"Liver Kid" <LiverKd@Comcast.net> wrote in message
news:drj0sc$r3p$1@eval.shopsite.com...
Using Shop Site Manager 7.1

I've created a custom template and it works perfectly. Now the client
wants
to password protect the page. Outside of the Shop Site world, we know how
to
do this using PHP. I created a PHP page as a template, uploaded it,
created
a new page and... as instructed at the bottom of the new page form, gave
it
an HTML extension. The PHP on the page doesn't work. Next... contrary to
the forms instructions saying it must have a HTML extension, I gave the
new
page a PHP extension and it (not password protected yet, only displays an
extra line of text at the top left of the page as a test) It also appears
as
if the rest of the page is working as well. I can click on any of the
products, get to the more info page, add it to the cart, etc.

Does using a PHP extension mess something up that I can't see?

Here's the "working" page:

http://ctadbgear.com/shopsite_sc/store/html/test.php

Thanks
Rob
 

Re: Custom tmplates

Postby Liver Kid » Sun Jan 29, 2006 2:37 pm

Thanks for the response.

"Rob" <rob@lexiconn.com> wrote in message
news:drj4p3$svl$1@eval.shopsite.com...
No, it is fine to have your ShopSite pages end in .php. They will work
fine.
The reason ShopSite says must end in .html is to stop users from naming
their pages with no extension, or making one up like socks.feet, as these
would not work in the browser. :)

Rob

"Liver Kid" <LiverKd@Comcast.net> wrote in message
news:drj0sc$r3p$1@eval.shopsite.com...
Using Shop Site Manager 7.1

I've created a custom template and it works perfectly. Now the client
wants
to password protect the page. Outside of the Shop Site world, we know
how
to
do this using PHP. I created a PHP page as a template, uploaded it,
created
a new page and... as instructed at the bottom of the new page form, gave
it
an HTML extension. The PHP on the page doesn't work. Next... contrary
to
the forms instructions saying it must have a HTML extension, I gave the
new
page a PHP extension and it (not password protected yet, only displays
an
extra line of text at the top left of the page as a test) It also
appears
as
if the rest of the page is working as well. I can click on any of the
products, get to the more info page, add it to the cart, etc.

Does using a PHP extension mess something up that I can't see?

Here's the "working" page:

http://ctadbgear.com/shopsite_sc/store/html/test.php

Thanks

Liver Kid
 


Return to User Forum

Who is online

Users browsing this forum: Google [Bot] and 112 guests