marty.net 1001 Postcards Love Love Love Meep Meep ZenZodiac DailyQuotation

YOU ARE HERE:
Inserting Cafepress Customer Service page?

HOME

CPSHOP|

|

|

EMAIL MARTY
  marty.net message board
  « Inserting Cafepress Customer Service page? »
Welcome, Guest. Please Login or Register.
12/11/17 at 13:00:41
Home Help Search Login Register
   marty.net message board
   About cpshop
   Customization Help
   Inserting Cafepress Customer Service page?
(Moderator: Marty)
Pages: 1 Reply Notify of replies Send the topic Print 
   Author  Topic: Inserting Cafepress Customer Service page?  (Read 1393 times)
hoodie
White Dragon
**

Posts: 24



Go Scots!
   

Inserting Cafepress Customer Service page?
« on: 03/20/07 at 11:01:00 »
Reply with quote Modify message

Is it possible to insert the CP help into my shop? Like it is in our CP stores - when visitor clicks 'help' Customer Service page appears in place of <[content]>.
Logged
Hex Angel - Patrick
Gold Dragon
****

Posts: 500



Our nature lies in movement; complete calm is death.
   

WWW
Re: Inserting Cafepress Customer Service page?
« Reply #1 on: 03/21/07 at 11:10:06 »
Reply with quote Modify message

Hmmm. There's a feature request!

On the other hand, given the content and wording of that page (Very generically CafePress) it's probably best to just leave it as is, or pop it up in a new window. Either way, you'll also want to clearly identify your shop's relationship to CafePress.

The other option is to use your cpshop template as a basis for a customer service page for your shop. You could then use, say, PHP or SSI to include the CP Customer Service  in your new local customer service page. Just replace <[content]> with something like <?php include(http://www.cafepress.com/cp/info/help/custserv.aspx ); ?> and name the new file CustomerService.php, for example.

hth

p.
Logged

CPSHOP
www.PeaceAndLoveShop.com Namaste
BLOG
www.TheNomadicSpirit.com Inspired by travel
www.GodBeautyPerfectionLove.com Inspired by spirit
www.MyMuseMoviesMusicAndBooks.com Inspired by the arts
hoodie
White Dragon
**

Posts: 24



Go Scots!
   

Re: Inserting Cafepress Customer Service page?
« Reply #2 on: 03/21/07 at 17:24:56 »
Reply with quote Modify message

Thank you!

I don't mind to identify my shop's relationship to CafePress, I just don't like the pop-up windows
Logged
hoodie
White Dragon
**

Posts: 24



Go Scots!
   

Re: Inserting Cafepress Customer Service page?
« Reply #3 on: 03/28/07 at 13:48:29 »
Reply with quote Modify message



on 03/21/07 at 17:24:56, hoodie wrote:
Thank you!


but it's not working :(

I tried <?include("index.html")?> to make sure I'm doing it right and it nicely displayed my index.
When I try <?include("http://www.mysite.com/index.html")?> or <?include("http://www.cafepress.com/cp/info/help/custserv.aspx")?>
It says:
Warning: include() [function.include]: URL file-access is disabled in the server configuration

Warning: include(http://www.cafepress.com/cp/info/help/custserv.aspx) [function.include]: failed to open stream: no suitable wrapper could be found

Warning: include() [function.include]: Failed opening ' http://www.cafepress.com/cp/info/help/custserv.aspx ' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php')

Is there anything I can do about it?
[that means I don't really understand what these warnings are trying to tell me]
Logged
Hex Angel - Patrick
Gold Dragon
****

Posts: 500



Our nature lies in movement; complete calm is death.
   

WWW
Re: Inserting Cafepress Customer Service page?
« Reply #4 on: 03/28/07 at 17:55:21 »
Reply with quote Modify message

Eep.  I'm very sorry.  Bad syntax!

Try

<? include 'http://www.cafepress.com/cp/info/help/custserv.aspx'; ?>

Apologies for the troubles.

p.
« Last Edit: 03/28/07 at 17:55:53 by Hex Angel - Patrick » Logged

CPSHOP
www.PeaceAndLoveShop.com Namaste
BLOG
www.TheNomadicSpirit.com Inspired by travel
www.GodBeautyPerfectionLove.com Inspired by spirit
www.MyMuseMoviesMusicAndBooks.com Inspired by the arts
hoodie
White Dragon
**

Posts: 24



Go Scots!
   

Re: Inserting Cafepress Customer Service page?
« Reply #5 on: 03/28/07 at 18:03:54 »
Reply with quote Modify message

I already tried that - googled php includes and tried all possible syntaxes - it sends the same warnings.

Thanks for your reply, anyway!
Logged
Hex Angel - Patrick
Gold Dragon
****

Posts: 500



Our nature lies in movement; complete calm is death.
   

WWW
Re: Inserting Cafepress Customer Service page?
« Reply #6 on: 03/28/07 at 18:21:49 »
Reply with quote Modify message

Hmmm.


Code:
URL file-access is disabled in the server configuration


Your server may not be configured to allow php includes of remote files. Try including a file on your local server using the full server path, something like:

<? include '/usr/www/users/username/filename.php'; ?>

If that doesn't work, I'd contact your host. Ask about allow_url_fopen and whether you can set it to ON.

hth,

p.

Logged

CPSHOP
www.PeaceAndLoveShop.com Namaste
BLOG
www.TheNomadicSpirit.com Inspired by travel
www.GodBeautyPerfectionLove.com Inspired by spirit
www.MyMuseMoviesMusicAndBooks.com Inspired by the arts
hoodie
White Dragon
**

Posts: 24



Go Scots!
   

Re: Inserting Cafepress Customer Service page?
« Reply #7 on: 03/28/07 at 18:42:48 »
Reply with quote Modify message

the full server path works - it includes my local file  

no, lied - it includes /home/username/public_html/filename.php
don't know if it's full server path or not [I'm that lame ]
« Last Edit: 03/28/07 at 18:53:03 by hoodie » Logged
Hex Angel - Patrick
Gold Dragon
****

Posts: 500



Our nature lies in movement; complete calm is death.
   

WWW
Re: Inserting Cafepress Customer Service page?
« Reply #8 on: 03/28/07 at 18:53:20 »
Reply with quote Modify message

Yeah, your host has set the server config for php in php.ini to ALLOW_URL_FOPEN = OFF.  Some hosts do this for a variety of reasons.

If you really, really want to include remote URLs, then ask your service provider if you can set ALLOW_URL_FOPEN = ON, either through your own local php.ini or via .htaccess (if your server runs Apache).

Cheers,

p.
Logged

CPSHOP
www.PeaceAndLoveShop.com Namaste
BLOG
www.TheNomadicSpirit.com Inspired by travel
www.GodBeautyPerfectionLove.com Inspired by spirit
www.MyMuseMoviesMusicAndBooks.com Inspired by the arts
Hex Angel - Patrick
Gold Dragon
****

Posts: 500



Our nature lies in movement; complete calm is death.
   

WWW
Re: Inserting Cafepress Customer Service page?
« Reply #9 on: 03/28/07 at 18:56:57 »
Reply with quote Modify message

<grin> Not so lame. We were all there once.

That's a server path to your local file. (Just to confuse you further, there's probably another one that doesn't include 'public_html', but you don't really need to know that. )

Glad it's working
Logged

CPSHOP
www.PeaceAndLoveShop.com Namaste
BLOG
www.TheNomadicSpirit.com Inspired by travel
www.GodBeautyPerfectionLove.com Inspired by spirit
www.MyMuseMoviesMusicAndBooks.com Inspired by the arts
Pages: 1 Reply Notify of replies Send the topic Print 
Jump to:


marty.net message board (http://www.marty.net/cgi/marty/board/messageboard)

Powered by YaBB 1 Gold - Release (Yet Another Bulletin Board)
Copyright 2000-2001, X-Null. All Rights Reserved.