Skip to main content
www.pointplus.co.uk
Home
Privacy
Home
How know Base Path of Drupal in JavaScript
Submitted by newaction on Fri, 2011-12-16 18:05
$(document).ready(function() {
alert(Drupal.settings.basePath);
});
Login
to post comments
Navigation
Bookmarks
User login
Username:
*
Password:
*
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
What code is in the image?:
*
Enter the characters shown in the image.
Request new password
MySQL
Array
Analysing MySQL Query performance
MySQL DATE TIME QUERY
Jquery
Array
Simple Tabs with CSS and jQuery
Jquery to intercept link click temporarily
Making a shoutbox with PHP, MySQL and jQuery
jquery overlay loading bar div
Limit numer of character typed into a textbox or textarea
how to trigger mouse click event via jQuery
Use jQuery To Submit Form To PHP/MySQL
Loading a Drop Down List Using jQuery
Building an AJAX currency converter with PHP, jQuery and Google
Create Simple Carousel using jQuery
Simple search with PHP, jQuery and MySQL
Insert Record Into Database Using Jquery
Inline Modal Window with CSS and jQuery
Using Ajax to Validate Forms
Simulating a click in jQuery/JavaScript on a link
Simple Tooltip with jQuery and CSS
Javascript tips
Array
Javascript programmatically activate an onclick method
Using Javascript to get value form another site via JSONP
Simple JavaScript ‘Frame Busting’ Code
Using JavaScript to access form objects when there are multiple forms
HTML
Array
HTTP Headers
Dupal6 Dev
Array
Create image upload field using Drupal Form API
Single sign-on
Denying access to a module content
Updating tables schema: hook_update_N() functions - modifyting a table
How know Base Path of Drupal in JavaScript
Create Drupal form using theme_table() like module list form
How use AJAX in DRUPAL
Display menu or tab according to nodetype in Drupal
Drupal: programmatically log out the user
Get any Drupal data in javascript
How know recipient read the email or newsletter?
Drupal: diplay block in node
Drupal cheat sheet
Send Email attachment to recepients
Create Virtual Hosts and run multiple websites on Amazon server
CODE TO CLEAR ALL CACHE
HOW TO BUILD A PAID MEMBERSHIP WEBSITE USING DRUPAL - NEW VIDEO TUTORIALS!
List Drupal nodes
Using the Drupal API from the command line
Drupal show database table display
Drupal Overide form field options
Create a user programmatically
Drupal6 Theming
Array
Theme Drupal Form
Theming Drupal 6 from the module layer
Clear theme registry
Create a sortable table using “theme_table()” function in Drupal
Drupal6 Performance
Array
Drupal Creating an input format programmatically
Drupal site SEO makeover
Tuning a high traffic Drupal 6 site
Apache tunning
Array
Configuring Apache for Maximum Performance
Apache Performance Tuning
Configuring Apache for Maximum Performance
Installing Apache Solr on Drupal 6
PHP
Array
Upload image using hidden iFrame (Simple Photo Manager)
Set/Get Cookie using PHP and JavaScript
using dom to extract and replace images in HTML
How to get Latitude/Longitude from an address (or Geocoding ) using PHP
How to parse RSS
PDO with MySQL DB Usage Example
DATABASE DUMP SCRIPT
Determine execution time in PHP
Fetch and display site icon
PHP File Upload and Download Script
PHP get text between two texts
PHP Parse DOM - Get all links
Php Display image dynamically
PHP site search script
How to create PHP based email form with file attachment
Generate Webpage Thumb Dynamically
Delete files in a folder older than a set date
How upload file using cURL?
EMAIL WITH Pear Mail extension
How to Make a Slick Ajax Contact Form with jQuery and PHP
HTML to PDF Converter Script