You are here:  » Css


Css

Submitted by henk on Thu, 2012-10-25 06:33 in

Hi David,

Is it only me, but PT breaks up the css if you look at my site www.linkik.com the header menu is ok but when you go to the part where pt is running it breaks up the menu? css / jQuery??:
{link saved}

Thx
Henk

Submitted by support on Thu, 2012-10-25 08:18

Hi Henk,

It looks like a mod that helped you out with via email is no longer running - the one to pull in the contents of the header that would normally be generated by your theme etc. but are not included when using Header Exclusivity setting of PriceTapestry.org.

I see that the headers file is still in place at /pt/header.txt so the modification to include that file is as follows. Look for the following code 175 of pto.php:

  global $pto_html_product_description;

...and REPLACE with:

  global $pto_html_product_description;

  global $pto_html_product_description;
  global $pto_config_headerExclusivity;
  global $pto_config_externalPath;
  if ($pto_config_headerExclusivity)
  {
    print file_get_contents($pto_config_externalPath."header.txt");
  }

Hope this helps!

Cheers,
David.
--
PriceTapestry.com

Submitted by henk on Thu, 2012-10-25 09:05

oh yes, i have changed theme, what content must be in that file?

Thx
Henk

Submitted by support on Thu, 2012-10-25 09:16

Hi Henk,

To create the file;

1) Browse to a page that doesn't include any PriceTapestry.org content
2) View the page source using your browser's View > Source menu option
3) COPY everything between <head> and </head> into your text editor
4) DELETE everything except the lines beginning:

<link rel="stylesheet"...

and

<script type="text/javascript"...

...and save then upload as /pt/header.txt

Cheers,
David.
--
PriceTapestry.com

Submitted by henk on Fri, 2012-10-26 10:44

Hi David,

just info:

I have tried this one:

http://www.pricetapestry.org/node/136

And the menu bar is back, but 1 depth in sub menu is showing there are more..

Thx
Henk

Submitted by support on Fri, 2012-10-26 11:15

Hi Henk,

If you're still not sure could you let me know 2 example URLs (one working / one not working) and I'll see if I can spot the difference...!

(i'll remove the links before publishing your reply)

Cheers,
David.
--
PriceTapestry.com