Hello,
first off, I love panels and panels everywhere, thank you so much. I am not a coder, just a designer and sitebuilder so I was hoping someone could assist. @font-your-face fonts are not rendering when the site template is active, if you disable the site template, it renders fine. I do not know if there is any additional code that needs to be placed into a panels everywhere theme or where it would go. I am using precision as a base theme at the moment(but the same thing happen with other panels everywhere themes). I love the flexibility of panels and having the whole site panels, it allows me to be creative without being stuck into a box. I also never have to worry about a client requesting a specific change on certain pages during the initial build or in the future, which is vital to me as a solo site builder. I can easily do a quick and basic site build and design and know the site is scalable on every level as it grows. I would really like the ability to use the @font-your-face module, typography is an important element as well in design. If anyone could assist, I would be in your debt.

thanks again,
Jen

Comments

merlinofchaos’s picture

Hm. Unfortunately I don't know anything about @font-your-face module -- my guess would be that it's trying to do something during page preprocess that gets skipped when using PE, and it should probably be using hook_page_alter instead?

I could take a quick peek at their code and see if I'm right, I guess. Can you link the module page?

g76’s picture

wow, thanks! I know how busy you are, I really appreciate the help. the module page is:

http://drupal.org/project/fontyourface

I had also posted an issue for the versatile theme a while ago before I realized it pertained to all pe themes. based on the feedback I did everything I could as far as my knowledge/ability goes, but nothing worked:

http://drupal.org/node/1180436

I wish I could code, if I could I would look into myself. I really do appreciate you taking the time on this. Thanks for everything you do, your work is amazing. I also have always loved the fact that you think in terms of what it's like to approach a site from a designers perspective, thank you:). With panels and pe I don't feel like I have to have a huge battle over or sacrifice anything on either aspect of the site: build/functionality/scalability v/s design(eye-candy).

Jen

merlinofchaos’s picture

Ok, as I thought. That module is using fontyourface_preprocess_page() but it really should be using hook_page_alter() or hook_preprocess_html() to do its thing in Drupal 7. The problem is that Panels Everywhere doesn't actually use theme('page')

You might try testing just changing fontyourface_preprocess_page() to fontyourface_preprocess_html() and see if it works. I'm not confident just changing that will work but it *might*.

g76’s picture

thanks so much! I will give it try tomorrow and get back to you on how it goes.

Letharion’s picture

Status: Active » Fixed

Thanks merlin for clearing this up :)
Since this is not really a PE problem, but rather fontyourface, I'm closing this issue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

mautumn’s picture

Just for info... I tried @merlinofchaos'es suggestion of changing font-your-face_preprocess_page() to fontyourface_preprocess_html() - but alas it didn't work. It's obviously more subtle than this. I agree this is an issue for fontyourface.

@merlinofchaos thanks very much for looking into this and suggesting a pointer for the font-your-face developer.