Creating a Rule Component programmatically

Hello.
Could you clarify, is there a way to create a Rule Component programmatically for Drupal 7 via Rules API Classes and Functions ?

SSL and multisite

Hi all,

Currently we have 2 sites using multisite.  We have an SSL cert but found it will only work for one domain.  I understand that I need to get a different type of SSL that covers multiple domains.

In the meantime, I'm wondering if there is a way to force HTTPS for one domain but force HTTP for the other.   Currently we have this in our htaccess which is forcing HTTPS for both domains:

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

Odd question, can I add a directory to the folder structure without messing any code up?

I'd like to add a directory at the same folder level as sites, themes etc to host a few images. The reason I don't want to put the images in sites\default\files is because we're doing some major drupal overhauls and I don't want the images to go down during that process. Will adding a folder named something like "custom_images" here mess anything up? Thanks!

Edit: Moved to Post Installation forum upon request!

How to redirect in one single step in htaccess or settings.php?

Hi guys. 1. I want my drupal 7 site to be accessible just under https://www.example.com by redirecting all other versions (http:) and 2. I have a second domainexämple.com which sould also be redirected to the main version (example.com).

Witht he default .htaccess I keep running into redirect chains redirecting in several instances: from http:// to https:// and then from https:// to https://www.

So I started fiddling myself with the .htaccess and the best I came up with is this:

How to create a drop down button similar to the "+Add" button in views?

Hi,

I am trying to create a drop down button similar to the "+Add" button in views, without success.

Attached please find the screen copy of the views example, and could anybody please suggest how to achieve this?

Thanks.

Regards,

foredoc

TinCan Learning Record Store module - version 7.x-1.0-alpha1

Hello Everyone,

Thank you for taking the time to read my question.

My Install:  Drupal 7.56/IIS/MS SQL Server. 

Drupal is up and running but I'm having trouble with TinCan LRS/xAPI

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x