Although it clearly states that if you have a rtl (right to left) style-rtl.css file, it will "automatically" use it in Drupal 7.x, I found this is not happening. In the past (6.x) I used a conditional statement within the header, so only the correct style sheet was used. Ex: if ($language->language == 'he') {print '
Since the header is now automatically generated in 7.x, I can't get this conditional statement to work via the template.php page.
HELP! How can I get Drupal 7.x to read from only the rtl style sheet when in a rtl language?
Dear all,
I've a working Drupal website on my machine with Clean Urls enabled.
I'd like to install a wiki (mediawiki) accessible from http:/myhost/wiki/
wiki never appear as an alias in my Drupal website so there is no conflict between addresses.
I've tried to add an Alias to my apache configuration file,
but whenever I try to go to /wiki I can't because I'm redirected to the Drupal missing page.
Googling I think that the problem could be because of the rewrite reules used for the originary drupal
website, but I have not idea how to modify them to keep drupal working and hosting
a wiki as well.
My conf apache file contains the following:
#this was created for the original drupal installation
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
</Directory>
For the wiki I've added the following:
Alias /wiki/ "/var/mediawiki/"
I have to develop an intranet site using D7. This is my first project with Drupal and day by day I appreciate some features of this CMS.
But my big problem is assign a specific role to a specific contents group (users of that role, are owner of that contents group). Not only: every contents group is characterized by a particular theme in front end.
I suppose it's possbile (simple solutions are welcome), but I don't know how to approach the problem.
Hi,
i am trying to install "settings_audit_log" module on my local system but its showing PDO Exception error.
trying to install on PHP 5.3.1 and Mysql 5.1.41 also PDO is enable.
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'uid' cannot be null: UPDATE {variable} SET value=:db_update_placeholder_0 WHERE ( (name = :db_condition_placeholder_0) ); Array ( [:db_update_placeholder_0] => s:6:"lovyu3"; [:db_condition_placeholder_0] => css_js_query_string ) in variable_set() (line 804 of D:\xampp\htdocs\startdev\includes\bootstrap.inc).
I have been working on Joomla, wordpress and other opensource frame works for more than 4 years now but now one of my clients wants me to work on drupal as drupal can handle large websites . So this client of mine has a website now he wants to add twitter like functionality into his website for his organization and for his staff members only .