[Pro] WebYep Menu PHP Include Problem

Hi all,

I have a WebYep Menu item in a side bar that is being called by a PHP include.

When I add the PHP Make Insert Page action my CSS stylesheet for the WebYep Menu stops working when I load the site.

The stylesheet is correctly referenced on all the main site pages and all the other externally styled elements work.

I could split the elements for the sidebar up and place the menu item on each individual page but I’d prefer not to do this because I’m incredibly lazy :slight_smile:

Any thoughts on what may be happening?

Cheers

Ger


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Try checking the Preserve Head Content checkbox in the PMIP Action. PMIP removes EVERYTHING besides the content of the PageDiv by default. Checking that box moves any head content like stylesheet links into the output file.

Walter

On Sep 6, 2012, at 12:55 PM, Ger wrote:

Hi all,

I have a WebYep Menu item in a side bar that is being called by a PHP include.

When I add the PHP Make Insert Page action my CSS stylesheet for the WebYep Menu stops working when I load the site.

The stylesheet is correctly referenced on all the main site pages and all the other externally styled elements work.

I could split the elements for the sidebar up and place the menu item on each individual page but I’d prefer not to do this because I’m incredibly lazy :slight_smile:

Any thoughts on what may be happening?

Cheers

Ger


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Walter, thank you for the quick reply.

Unfortunately that didn’t work.

I found a solution though. For some reason the WY Menu id “MyMenu” is being ignored so the CSS fails to apply.

By changing the id of the div containing the sidebar include to
“MyMenu” the stylesheet applies correctly without affecting the other sidebar styles.

Ger


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options