× Joomla Facebook Connect support forum

Topic-icon invite module size?

Active Subscriptions:

None
15 years 8 months ago #5329 by evil
invite module size? was created by evil
is it possible to select a specified size in pixel to this module?
The topic has been locked.
Support Specialist
15 years 8 months ago #5330 by alzander
Replied by alzander on topic invite module size?
Yes and no. The condensed module has a parameter setting in the module to set the width in a pixel value. The height is defined by the number of rows you set, but can't be specified in pixels.

The full module only has parameters rows and columns, and these set the dimensions of the module. If you want to make minor tweaks, you can edit the code to change the sizes slightly. In the /modules/mod_jfbcinvite/tmpl/default.php, at around line 20, there's some $closedWidth values. You can modify these to change the width of the iFrame, but this may cut off a column (or add additional white space) to the overall view. It may work for you though, again, if you just need to make minor width adjustments.

The Invite module is actually an iFrame display to Facebook. They require this to prevent shenanigans (snagging people's friends IDs, forcing invites, etc). Because of the iFrame, it prevents for full customization of the contents of this module.

Hope this helps.
The topic has been locked.
Active Subscriptions:

None
15 years 8 months ago #5331 by evil
Replied by evil on topic invite module size?
well i needed 4 columns and in the select box its possible to choose only between 3 and 5 columns :-)
The topic has been locked.
Support Specialist
15 years 8 months ago #5335 by alzander
Replied by alzander on topic invite module size?
Yeah, unfortunately (and I don't know why), Facebook only lets you choose 2, 3, or 5. The invite module uses the multi-friend-selector, which if you care to look through the parameters, is defined at the link below. If you see an option that you'd like us to make into an option, let us know:
developers.facebook.com/docs/reference/f...ulti-friend-selector
The topic has been locked.
Active Subscriptions:

None
15 years 7 months ago #5344 by evil
Replied by evil on topic invite module size?
yup i read, this is a really strange limit :)
The topic has been locked.