Topic-icon canvas size window set up

Active Subscriptions:

None
13 years 10 months ago #24860 by alejandro_quin
Hi

I checked out several posts in regards this topic, i could not see similar than my case:
that i need...
width: autoresizing ( due to my template is 905 and give me problems to reduce to 810px)
heght: i need fixed size with scroll bar ( due to i have a chat bot that works in the bottom page)

due to my site is under construction, please give an email to send to you my joomla admin access info

fbcconnect v423
joomla 2.5.4

best regards
The topic has been locked.
Support Specialist
13 years 10 months ago #24866 by alzander
Replied by alzander on topic canvas size window set up
Alejandro,
I'm assuming you're talking about a Page Tab and not the App Canvas. The App Canvas can do automatic width resizing as-is and Autotune should configure it that way. Unfortunately, there's no way around the 810px max-width for Pages. I'm not sure what you mean by 'autoresizing', but JFBConnect won't be able to automatically smush your site to a shorter width. For that, we'd recommend you copy your current template, make the width 810px, fix anything that breaks, and set that as the Page template in JFBConnect.

For height, you'd want to disable the Automatic Resizing option in JFBConnect. Then, you'd need to add the following Javascript to your site:
[code]<script type="text/javascript">FB.Canvas.setSize(800);</script>[code]
800 is the px of height you want. We can help you add the code above if you're unsure how/where to do that.

Beyond that, I don't think I'd need your admin credentials for anything. There's not much more we can do here. If you do want to send them though, you can Private Message them to me. You can PM me by clicking the arrow under my picture (<----) and hitting the mail icon.

Hope that helps, and good luck,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 10 months ago #24867 by alejandro_quin
I which file need to added below code and wich line?
FB.Canvas.setSize(800);

for autoresizing wifth, works fine in opera and aurora, but fails in internet explorer and crhome, ho can fix that?

thanks for your quick response
The topic has been locked.
Support Specialist
13 years 10 months ago #24878 by alzander
Replied by alzander on topic canvas size window set up
Can you tell us where we can see the canvas area to see how it's functioning in Opera vs IE and Chrome? That will help us understand the problem more.

As for the Javascript, you can add that to your template file or to one of many different 'custom' modules that allow you to add Javascript to the page. It won't affect your live site and will only take effect when viewed within a canvas area on Facebook.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 10 months ago #24904 by alejandro_quin
The topic has been locked.
Active Subscriptions:

None
13 years 10 months ago #24906 by alejandro_quin
with below config width autoresizing issue was fixed, but height still with problems, i checked in opera,IE, chrome and firefox, and height is growing itself please take a look
Advanced/canvas setting
canvas width:fluid
canvas height:fixed at 600px
The topic has been locked.
Support Specialist
13 years 10 months ago #24915 by alzander
Replied by alzander on topic canvas size window set up
Alejandro,
I can't check your settings for the fixed height, but there definitely is a fixed height set for the window. On your App page, there are no scroll bars on the 'inner' window that shows your site. Additionally, if you click the "Politicas de privacidad" link (or any others in your footer), you'll see that the frame to your site does stay the same height, even leaving a large piece of padding at the bottom.

Looking at the source on the page, the height seems to be fixed at 1300px. Not sure why that is. JFBConnect definitely has the height resizing disabled though, so it's not us that's doing any resizing, if that's what you see.

Hope that explains,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 10 months ago #24942 by alejandro_quin
Hi

I able to fix the height in to canvas setting page( and disable automatic resizing in taba/cavas comp)
im just need to add height scroll bars if the joomla page is bigger than fixed height in cavas
do you now how to add it?

I apreiated your support

regards
The topic has been locked.
Support Specialist
13 years 10 months ago #24957 by alzander
Replied by alzander on topic canvas size window set up
Alejandro,
Did a bit of testing. You'll need to make a code change and make sure you app settings are correct. For the App, make sure that Height is set to Fluid. In the JFBConnect configuration, enable Automatic Resizing.

Then, please edit the /plugins/system/jfbcsystem/jfbcsystem.php file. Do a search for AutoGrow (around line 182) and change the FB.Canvas call on that to:
FB.Canvas.setSize({height:500});
Hope that helps, but if not, let us know!
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 10 months ago #24961 by alejandro_quin
Hi alezander
Is working perfect ( FB.Canvas.setSize({height:680});, just need scroll bars to see the rest of joomla page. :)
hopefully you can help me

thanks excellent support
The topic has been locked.