× Joomla Facebook Connect support forum

Topic-icon Change canvas size

Active Subscriptions:

None
14 years 3 weeks ago #3593 by pepe100
Change canvas size was created by pepe100
Hello,
Is it possible to change size of canvas for invitation preview????
I using this in (width) 400px module and i need to get this preview to go OVER module or change this preview size ...
I trying to get this preview flexible in configuration by Enabling Automatic Resizing but nothing heppened.
I also trying to change z-index for div in template but nothing heppened too.

Thanks
The topic has been locked.
Support Specialist
14 years 3 weeks ago #3608 by alzander
Replied by alzander on topic Change canvas size
Try adding a module class suffix to your instance of the JFBCInvite module and then try setting different values for it's overflow style:
[url:eh0ugk69]http://www.w3schools.com/css/pr_pos_overflow.asp[/url:eh0ugk69]

Let me know if you can't get it working and I can try to find another solution.
The topic has been locked.
Active Subscriptions:

None
14 years 3 weeks ago #3620 by pepe100
Replied by pepe100 on topic Change canvas size
Hello,
i try lot of combination but i cannot get this to work..
It seems that this invite module in any case appears as iframe.
there is screenshot
[img]http://www.bosniart.com/images/invite.jpg[/img]

Where is hosted this preview canvas? On facebook or on my website?
I would like only to change this size if is possible or just move send button more left..
Thanks
The topic has been locked.
Support Specialist
14 years 2 weeks ago #3638 by alzander
Replied by alzander on topic Change canvas size
Everything in the iframe comes from the Facebook servers and I don't believe we have much control over that. Using Firebug for Firefox or other HTML inspection methods, you can see where they are setting overflow to hidden on the html tag:
Screen shot 2010-04-28 at 12.16.37 AM.png

I will investigate the Facebook API and see if there's anything we can do about this to help you out. I will post back here with my results.
The topic has been locked.
Active Subscriptions:

None
14 years 2 weeks ago #3639 by pepe100
Replied by pepe100 on topic Change canvas size
if is it possible It will be great and very useful ...

Thanks for your support
The topic has been locked.
Support Specialist
14 years 2 weeks ago #3641 by alzander
Replied by alzander on topic Change canvas size
In doing some testing, it looks like there are quite a few parameters in JFBCInvite. Another developer added these, so I'm not sure exactly how they are used, but it looks like a few of them might help you out. Have you tried changing the values for any of these?

- Enabled Automatic Resizing
- Form View
- Columns
- Width of Select List

Let me know if these don't seem to help and I will continue investigating.

Thanks
The topic has been locked.
Active Subscriptions:

None
14 years 2 weeks ago #3644 by pepe100
Replied by pepe100 on topic Change canvas size
Hello,
I tried all the combinations but none of them does not work ...

It seems that all this option havenot function

Thanks
The topic has been locked.
Support Specialist
14 years 2 days ago #3718 by alzander
Replied by alzander on topic Change canvas size
How is the JFBCInvite module currently configured? The columns and rows settings are only available if you're using the "Full" view. The condensed view is much more strict as to what you can do with it, and that's mainly dictated by Facebook.. leaving us with little/no options.

The automatic resizing is our method to fix the preview box from being cut off when using condensed mode. However, it uses javascript and has some limitations. Please make sure there are no javascript errors on the page with the invitation module. It's best to test this with something like the rhuk_solarflare template by doing the following, as many templates are javascript heavy, and buggy:
www.yoursite.com/page?template=rhuk_solarflare

See if that helps, and look for errors (these are displayed differently in each browser) and let us know what you find out.
The topic has been locked.