Style (CSS) Settings PHP script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: style_settings-6.x-1.3.tar.gz
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: PHP
  • Price:GPL
  • Company: Fokke Zandbergen (View more)

Style (CSS) Settings script description:




Publisher review:
This module lets you use any (custom) theme setting or Drupal variable in any of your theme style sheets (CSS). This module lets you use any (custom) theme setting or Drupal variable in any of your theme style sheets (CSS). It replaces all your theme style sheets by a rewritten version.

Using special tags in the original style sheet you can replace a default value by any (custom) theme setting or Drupal variable. Because these tags are in fact comments the theme will still work without this module, showing the default values.

Features
- Use any Drupal variable by writing /*variable:name*/ instead.
- Themes using this module will still work without since the default value is within the comments. If a theme setting is not found or set, the module will show the default (specified within the comments).
- Automatic recognition of background images. Because comments cannot recide within url(...), you need to add the comments around it. The module will automaticly add url(...), and base path if needed.
- Caching of rewritten style sheets by using a checksum derived from the theme settings array (so changes are visible imediately).
- Relative paths inside url(...) are automaticly prefixed by the base path of the original style sheet.
Usage
- Add a custom theme setting like background_color to your theme.
- In your stylesheet, change this: body { background: red; } to something like this: body { background: /*setting:background_color*/red/*setting*/; }
- Go down your theme's settings page (admin/build/themes/settings/theme) and set the background color setting you just created, for example to green.
Style (CSS) Settings is a PHP script for Drupal Modules scripts design by Fokke Zandbergen. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.

Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5