Scripts Index
Related Topics
Popular Trends
Trending Topics
PHP Miscellaneous phpBB Modules  

javascript and CSS reloader

download download home home   report broken
important script information
company name:
Steve Turnbull
license: Free
minimum requirements: drupal
functional limitations:
javascript and CSS reloader description


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.



Relates:
Form - Module - Files - Modules - Developer - Reload - Error - Loading - Settings - Problem - Vascript - Loaded - Modulesthere - Hook Form Alter - Stylistics
Similar scripts
Filter tips dialog (Popularity: ) : When you click the "More information about text formats" link, you don't expect to see the node form disappear. And you certainly don't expect to lose your work. Unfortunately on some browsers that's just what happens. This module solves the ...
Daisy's Forum Designs (Popularity: ) : Daisy's Forum Designs hosts a collection of PHPBB templates, smilies, avatars and forum icons. Webmasters are able to include attractive and eye catching templates for their forums with different template styles and images in several colours.
IP.Board Comments (Popularity: ) : IP.Board Comments for WordPress allows you to use IPB (IP.Board or Invision Power Board) to replace or enhance your WordPress comments. When a new WordPress post is created in a mapped category, it will cross-post to your IPB forum with ...
Total Control Admin Dashboard (Popularity: ) : What is Total Control?The Total Control Admin Dashboard creates a default panel page with useful administration panes right out of the box. Several overview panes are included for site stats and quick reference. Several View panes are provided with 'more' ...
Page Comments Off Please (Popularity: ) : This plug-in un-checks the "allow comments" and "allow trackbacks/pingbacks" checkboxes by default for new pages while leaving the default behavior for posts alone.Enable the plugin to uncheck the discussion checkboxes by default for pages. Disable the plugin to remove this ...
Registration Secret Codes (Popularity: ) : This module helps create secret codes that users can enter to automatically register or upgrade their accounts to specific roles. It is particularly useful for cases when it's impractical for the website administrator to manually process and upgrade single subscriptions, ...
Google Adsense Dashboard (Popularity: ) : Google Adsense Dashboard is a very simple WordPress plugin to display your live Google Adsense earnings on your WordPress Dashboard. Google Adsense Dashboard is designed to show Today's earnings only. Google Adsense Dashboard is compatible with WordPress 3.0+ as of ...
Advanced Forum More Styles (Popularity: ) : More Styles for Advanced Forum, compatible with the current 6.1.x release. Created by Rufzeichen Webdesign.Advanced Forum is a great module. Over Time, Michelle has built a nice theme layer, and it is completely pluggable. So Styles (or say forum themes) ...
Usernode Guestbook (Popularity: ) : So, you have a usernode. Do you want to make further sense of it?Having a user a node gives also the possibility to post comments on a user. Let's use these comments as guestbook entries!usernode_guestbook is another way of implementing ...
What is my IP Address (Popularity: ) : This is an advanced online tool designed especially for PHP based bulletin boards to help webmasters to find out the IP address and whois information of their bulletin board visitors. This program gives you the visitor IP address along with ...
User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Similar Software
Jasob JavaScript and CSS Obfuscator (Popularity: ) : Jasob JavaScript and CSS Obfuscator is a popular tool, enabling JavaScript and CSS driven Web pages to be compressed and obfuscated into supertight, bandwidth-optimized code. When the Web code is not optimized, it takes the page longer to load. Besides, ...
Jasob JavaScript Obfuscator (Popularity: ) : Jasob JavaScript Obfuscator is a popular tool, enabling JavaScript and CSS driven Web pages to be compressed and obfuscated into supertight, bandwidth-optimized code. When the Web code is not optimized, it takes the page longer to load. Besides, it makes ...
HTML5 and CSS 101 - Hypertext Markup Language (Popularity: ) : Join Elisabeth Robson and Eric Freeman as they embark on a fun project: creating a fully functional and attractive website using HTML5 and CSS...<br />We all spend a lot of time visiting websites. It's where we get information, learn new ...
HTML5 and CSS QuickLook Guide (Popularity: ) : This HTML5 & CSS QuickLook Guide is FREE to all MPV members! In this 20-tutorial introduction course, expert trainers Eric Freeman and Elisabeth Robson will teach you the basics of building websites...<br />Learning a new language can be very fun ...
Course for HTML and CSS 102 - Styling With CSS (Popularity: ) : Eric Freeman and Elisabeth Robson, our WickedlySmart duo, are back with a in-depth look at styling your HTML5 pages using CSS, to make them work smart and look beautiful...<br />Cascading Style Sheets (CSS) give website design its horsepower! Imagine that ...
Course for HTML5 and CSS 103 - Fonts and Color (Popularity: ) : Fonts and Color choices are the essential ingredients of effective web design. Join the expert training team of Eric Freeman and Elisabeth Robson in this enlightening HTML5 & CSS course dedicated to the art of Fonts and Color...<br /><br />Creating ...
Active Scrolling Text & News Scroller (Popularity: ) : Easily add Professional Quality Scrolling Content to any Web Page. The Scrolling Text function is capable of scrolling any HTML content including text and images. Styling, Sizing, Scroll Speed and Page Pause are set by setting the values of a ...
Polystyle Source Code Formatter And Obfuscator (Popularity: ) : Automatically reformat source code in your own style with just a point and click! Polystyle also has a java obfuscator, PHP obfuscator, Actionscript obfuscator and JSP obfuscator. Polystyle is an HTML formatter, C++ formatter, PHP formatter, Javascript formatter, CSS formatter, ...
Likno Web/HTML Tooltips Builder (Popularity: ) : User-friendly and powerful Windows interface (GUI) for creating stylish jQuery tooltips for web pages, with minimal effort & coding. Create any type of cross-browser jQuery tooltip, such as: html tooltip, ajax tooltip, balloon tooltip, javascript tooltip, css tooltip, dhtml tooltip, ...
Likno Web/HTML Tabs Builder (Popularity: ) : Create feature-rich *HTML Tab Controls* for your web pages, with minimal effort and code via Likno Web/HTML Tabs Builder: a user-friendly interface to the popular jQuery open source library!

Major Features:

* Rich and powerful Interface!
* Universal: Use in ...

ad


Rate me
supported os
Linux
Mac OSX
Macintosh
Win All, BSD, Solaris
stats
downloads 1
version 6.x-1.0
size in Kb 10
popularity   
472/376441
user rating 5/10
New Scripts
Popular Scripts
Latest Reviews