Coding Help Needed

Messages
2,961
Name
Simon
Edit My Images
No
OK

I use Wordpress for my site and Zenfolio for my proofing galleries ... now I wanted to display the zenfolio gallery page etc WITHIN my wordpress page

http://www.simonrevill.com/test-zenfolio

So I am using iFrame .... with plenty of trial and error I can just get it to squeeze in correctly on:

Safari HERE
Chrome HERE

they have an annoying sideways scroll bar at the bottom but I'd live with that

However in FireFox the handling of the iFrame doesn't work and only displays about 200px height not 100%

HERE

I've played with id / name tags and can get the frame to display the whole Zenfolio page BUT it looses all the wordpress site layout

Any ideas ?
 
Last edited:
looks like the iframe is larger than the space allocated to it on the wordpress page.

is the site live that we can take a look at the coding?

Yep - its a live site - the page just isn't linked to the menu

I really had to play to get the zen page to fit - If I made the WP layout wider - it made it worse

The WP width is set to 970 and the iFrame to 985 which seemed to be closest to allow the top bar of the zen bit just about squeeze in
 
looks like the iframe is larger than the space allocated to it on the wordpress page.

Having looked at your page I tend to agree with Neil.

Two possible ways around this, make the page container larger or make your zenfoilio page only 4 albums across
 
Thanks Guys ....

That is the minor problem - the major one is that the iFrame displays as only 200px high on Firefox and IE as they ignore the 100% value

Now you could get round it with putting a very large number in - but the client password box would then be hidden from view
 
Would I be right in assuming you've dropped the code into the HTML box on the "new page" screen?

If so, you might be best building a custom page for the page you want to put the gallery on, and hard coding it - It's not that difficult to do

No - what I've done is just add the iFrame coding in the new wordpress page content section

So what you are suggesting is to code a page to look the same and just save it outside WP and call it as a link ?

would you then embed the Zenfolio in a normal frame and not an iFrame ?
 
No, you can create custom page templates in your theme folder for Wordpress, then you create a new page and select that page template, that way when you click on that page, it calls your "page-zen.php" template, rather than the normal page.php template that it loads for all the other pages.

I'm not sure how Zenfolio allows you to put their stuff on other sites, but I'm sure there's a way around it...

What options do Zen give you for embedding?
 
No, you can create custom page templates in your theme folder for Wordpress, then you create a new page and select that page template, that way when you click on that page, it calls your "page-zen.php" template, rather than the normal page.php template that it loads for all the other pages.

I'm not sure how Zenfolio allows you to put their stuff on other sites, but I'm sure there's a way around it...

What options do Zen give you for embedding?

No options :'(

Wouldn't doing it that way loose the navigation details / logo from the WP other pages ? and just display the Zen page in its place
 
For the record MattyH is a top nerd with stuff like this he has bailed me out a couple of times...:-)
 
Do you want to give me access and I'll have a quick look?

Would need FTP details (preferably a new account so you can delete it once I'm done), and access to your Wordpress admin site too.

PM on its way ...... :thumbs:
 
oops forgot the FTP ... another pm on its way
 
i always thought that 100% height tags were unsupported, or maybe im thinking of tables..

out of interest try it with a pixel value.

pixel value works - but the follow on pages for zen have differing heights - and the signin one would not show at all if you picked a height big enough for the initial gallery display page
 
pixel value works - but the follow on pages for zen have differing heights - and the signin one would not show at all if you picked a height big enough for the initial gallery display page

it doesnt work properly in IE either by the way, like i say ive got a funny feeling 100% heights dont work properly.

hopefully matty can sort something for you
 
Back
Top