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

YOU ARE HERE:
WordPress and cpshop

HOME

CPSHOP|

|

|

EMAIL MARTY
  marty.net message board
  « WordPress and cpshop »
Welcome, Guest. Please Login or Register.
12/17/17 at 14:02:21
Home Help Search Login Register
   marty.net message board
   About cpshop
   Customization Help
   WordPress and cpshop
(Moderator: Marty)
Pages: 1 Reply Notify of replies Send the topic Print 
   Author  Topic: WordPress and cpshop  (Read 625 times)
lostdeviant
Green Dragon
*

Posts: 4



¿que tal?
   

WordPress and cpshop
« on: 07/13/08 at 13:19:23 »
Reply with quote Modify message

I've used your instructions for including a shop in php, and I've done that and used an include to add WordPress elements to that so my cafepress.php file will match my theme.

I'm just trying to figure out how to get cpshop info into the sidebar.

Basically I want to "call" the <[sidebar]>
separately via PHP. (not with the rest of the cp content).

If you can tell me how to do that, I can plug it into my sidebar.php  theme file and probably later turn it into a widget.

Logged
lostdeviant
Green Dragon
*

Posts: 4



¿que tal?
   

Re: WordPress and cpshop
« Reply #1 on: 07/16/08 at 07:13:44 »
Reply with quote Modify message

hello?
Logged
Marty
Administrator Dragon
*****

Gender: male
Posts: a whole lot



That's me. :)
   

WWW E-Mail
Re: WordPress and cpshop
« Reply #2 on: 07/16/08 at 12:20:44 »
Reply with quote Modify message

Not something that cpshop was designed for, but you could try:

- create a hidden store ID entry (perhaps with an alias of "sidebar"), with a cpfilter_template pointing to a special template file (let's call it "sidebar.html")
- create the special template file containing nothing but the <[sidebar]> template tag
- pull .../cpshop.cgi/sidebar from your PHP page

I don't know if that'd work or not, but it might.
Logged

--
Regards,
Marty..`..-> marty@marty.net
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.