Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.627.319 Times

javascript and CSS reloader 6.x-1.0

  Date Added: July 10, 2013  |  Visits: 206

javascript and CSS reloader

Report Broken Link
Printer Friendly Version


Product Homepage
Download (18 downloads)



This is a utility module for developers deals with a specific problem: If a module loads its own javascript and/or CSS files in hook_form_alter() - and then there is an error when the form is submitted the hook will not be called again (the form is cached) which means that, on page reload, the javascript and CSS files are not reloaded.The module, attachments (http://drupal.org/project/attachments), had this problem but it can also be found in the Node Expire module (which is no longer being maintained but is the best of the node expiration modules) and it's bound to exist in other modules.There are two ways of using this module: * A developer can simply insert the necessary settings for the Stylistics module into their hook_form_alter(), instead of loading their JS and CSS files at that point and let the Stylistics module handle all the file loading whether first load, reload or on error; * Create some override code which adds the JS and CSS files for some other modules but only to be loaded on form error (to avoid problems with JS settings being loaded twice);Other people's modulesThe 'js_skip' array does not load any javascript in its list the first time the form is loaded, but does on any subsequent page load. This would normally be used if you wanted to ensure that javascript settings or inline code are loaded correctly. The situation would be that there's a faulty module, such as the Node Expire module, which uses hook_form_alter() to load its javascript settings. Stylistics must not load the settings the first time the form is rendered, because that will corrupt the settings (already loaded by Node Expire), but every time thereafter, if there's a form submission error, the settings must be reloaded.It doesn't matter if there's multiple attempts to load normal JS, CSS and jquery_ui files, Drupal ignores the multiple requests and just does it once. The javascript settings and possibly inline javascript are the problems.Work on this module was facilitated by the Workshop.

Requirements: No special requirements
Platforms: PHP
Keyword: Developer Error Files Form Hook Form Alter Loaded Loading Module Modules Modulesthere Problem Reload Settings Stylistics Vascript
Users rating: 0/10

License: Freeware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


JAVASCRIPT AND CSS RELOADER RELATED
Form Processors  -  Form Generator PHP 0.1
The Form Generator is thought to be a bundle of PHP Files which enables the developer to easily integrate a form in a web project. It will be easy to create a new form by just setting a few variables (name of field, minimum value, kind of field:...
 
Nature  -  Html Form Filler 1.07
Html Form Filler is a useful form fill software.It will help you fill any html form easily and quickly. By every menu item in the ie right button menu you can fill every fill item.One ie menu item fill one form item. Operation is very...
1.12 MB  
Libraries  -  Tie::Form 0.02
Tie::Form is a Perl module to access a machine readable database file that minics a hardcopy form. SYNOPSIS require Tie::Form; ##### # Using support methods and file handle with # the file subroutines such as open(), readline() # print(),...
89.09 KB  
Telephone Utilities  -  django-form-utils 0.1.8
django-form-utils is a Django application that provides BetterForm and BetterModelForm classes which are subclasses of django.forms.Form and django.forms.ModelForm, respectively. BetterForm and BetterModelForm allow subdivision of forms into...
1.23 MB  
File Management  -  mbtPdfAsm 1.0
mbtPdfAsm acts like an in line tool for assembling/merging pdf files, extract informations form PDF files and update PDF files metadata. Requirements: - PCRE
 
Application Add-Ins  -  PaisaTDS 1.0.0.0
This simple tool with all basic functionality will assist user to prepare ETDS, Form 26Q, Form 27Q, Form 27EQ, Form 24Q, Form 16A and Form 27D. This application is absolutely FREE of charge to USE in any Laptop/Desktop. Product Features: PaisaTDS...
2 MB  
Programming  -  TurtleScript 1.0
TurtleScript is a semantic web project to demonstrate the utility of including the Turtle RDF serialization in HTML files as a form of metadata. It is intended as proposed alternative or supplement to microformats and RDFa.
98.2 KB  
Modules  -  Subform Element 1.0
This form element allows reusing existing forms inside a form.Building a new form can mean reusing an existing form and adding new form items to it.InstallationUnpack in your modules folder (usually /sites/all/modules/) and enable under Administer...
 
DNS Tools  -  PowerDNS Backend Development Kit 2.9.21
PowerDNS Backend Development Kit project allows a developer to code backends which can be loaded at runtime by PowerDNS, a nameserver that reads data from different backends. The stock distribution comes with MySQL and PostgreSQL and other...
3 MB  
File Management  -  Parsing binary files with regular expressions 1.0
This script allows you to use the regular expression engine to parse binary files, especially those for which the struct module alone is inadequate.The typical way to parse binary data in Python is to use the unpack method of the struct module....
 
NEW DOWNLOADS IN SCRIPTS, MODULES
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
Modules  -  TinyMCE Node Picker 6.x-2.1
This module will de discontinued and replaced with Node Picker as soon as a stable release is available.TinyMCE Node Picker provides a button in TinyMCE that displays a list of links to content. Choosing a link inserts it into the editor.The...
20.48 KB  
Modules  -  Fapilicious 5.x-1.x-de
Fapilicious is a collection of FormAPI goodies.I hope to make it a repository of reusable FormAPI trickery and short cuts. Currently it has small collection of powerful FormAPI element validators.Please submit your favorite tricks as patches so we...
10 KB  
Modules  -  Donation Goals 6.x-1.x-de
The Donation Goals module lets you create nodes of the type "Donation Goal." These goals allow you to set an amount of money you'll need for whatever you're saving up for. Visitors of the site can then donate money through PayPal. Once the target...
20.48 KB  
Modules  -  Plica Twitter 1.0.1
Plica TwitterInstallation : * Download, unzip, and install plugin dir in /wp-content/plugins * Activate * All right now
10 KB  
Modules  -  Page Array 5.x-1.x-de
The pagearray module is a small (single function) helper module that can be used whenever there is a need to load the output of any Drupal path in data form. Based on the code in index.php, Page Array bypasses the theme('page') call, instead...
10 KB