Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 09:35 am EST

Geeklog Forums

CafePress page problem


Don

Anonymous
confused
I grabbed ScurvyDawg's CafePress page script (thanks, Scurvy!), and I almost got it happening on the first try. One small problem, tho...

The page pulls in the CafePress info without a problem, but it displays strangely. The CafePress content shows up at the top of the page - and then the GeekLog header and footer appear underneath the CafePress content.

To see what I'm talking about, you can take a look at http://www.blah3.com/store.php.

Any ideas on why the page is displaying like this? As always, any suggestions are greatly appreciated.

-Don
 Quote

cladoch

Anonymous
I had the same problem when I set up my store.
In store.php on line 6 change this:
Text Formatted Code
$display = COM_siteHeader();

to display this:

echo COM_siteHeader();
 

And on line 175 change this:
Text Formatted Code
$display .= COM_siteFooter('yes');

to display this:

echo COM_siteFooter('yes');
 


Also make sure you don't have any customization on the cafepress store itself.
 Quote

Don

Anonymous
Outstanding! All fixed. Thanks so much, cladoch!

-Don

 Quote

All times are EST. The time is now 09:35 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content