Change width of a single page? Or solve iframe scrolling?

Hi,
On our new school Intranet I have embedded on a page an iframe link to an online School Booking manager. (Couldn't find a Drupal option)
The trouble is the website is about 1200 pixels wide and stretches beyond the width of my theme. (Marinelli)
This looks ugly as seen in the examples below...

2 questions:

1.) Is it possible to stretch the width of the marinelli content area for one single page to solve this?

Example

OR

'Display suite module'-> Error when adding a new 'View mode'

Hi,

I got installed the module 'Display suite'. I got the following error when adding a new 'view mode':

Notice: Undefined index: required context in views_ctools_field_views_data() (line 61 of /opt/lampp/htdocs/portal/sites/all/modules/views_ctools_field/views_ctools_field.views.inc).

Warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in views_ctools_field_context_config() (line 44 of /opt/lampp/htdocs/portal/sites/all/modules/views_ctools_field/views_ctools_field.module).

Write Permissions on Installation

I've installed Drupal many times, but I've never come across this problem. I know that when you are running the install, you need to chmod the /sites/default/files and sites/default/settings.php so that apache can write to it. I usually just change it to 777, then when the install is complete, change it back to 775. But right now, this permissions error is coming up.

{[(Web server Apache/2.2.15 (CentOS)

PHP 5.3.3

PHP register globals Disabled

PHP extensions Enabled

Database support Enabled

PHP memory limit 128M

-Error
File system
The directory sites/default/files is not writable. An automated attempt to create this directory failed, possibly due to a permissions problem. To proceed with the installation, either create the directory and modify its permissions manually or ensure that the installer has the permissions to create it automatically. For more information, see INSTALL.txt or the online handbook.

Unicode library PHP Mbstring Extension

Settings file The ./sites/default/settings.php file exists.

-Error
Settings file The settings file is not writable.
The Drupal installer requires write permissions to ./sites/default/settings.php during the installation process. If you are unsure how to grant file permissions, consult the online handbook.)]}

How to display custom form in shadowbox or colorbox.

Hi,

I am using drupal 7. I create one custome form.
How can I display that form in shadowbox or colorbox.

any idea?

Ubercart Ajax

So this is a strange one.

I am using the plugin jqtransform to style dropdown lists. This worked great until I reached the ubercart checkout pages. When you select your country from the country dropdown, it uses the ajax framework to reload the state/province dropdown. When it reloaded, it no longer had the jqTransform styling. After some digging I found that I could use the ajax object to override the insert method in javascript. Here is the problem (i have found a workaround but its extremely weird) below is the code I am currently using.


Drupal.behaviors.myCustomAJAXStuff = {
attach: function (context, settings) {
Drupal.ajax['edit-panes-delivery-delivery-country'].commands.insert = function (ajax, response, status) {
new_content = jQuery(response.data);
var wrapper = response.selector ? jQuery(response.selector) : jQuery(ajax.wrapper);
var method = response.method || ajax.method;
// Add the new content to the page.
wrapper[method](new_content);
jQuery('.form-type-select').jqTransform();
//alert(wrapper.attr('id'));
if(wrapper.attr('id') == 'uc-store-address-delivery-zone-wrapper') {
jQuery('#uc-store-address-delivery-zone-wrapper').css('opacity', '0').animate({
opacity : 1
}, 1500);
}
if(wrapper.attr('id') == 'uc-store-address-billing-zone-wrapper') {

uploadprogress

I have installed Drupal on my local dev server OK.
It recommends to install uploadprogress, a PECL module.
PECL is installed in my computer via Debian repos, I am using wheezy.
However, I don't know how to install uploadprogress.
I have downloaded the file from PECL and uncompressed it.
What next?
How to install?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x