Feed items

  • warning: Declaration of views_handler_argument::init(&$view, &$options) should be compatible with views_handler::init(&$view, $options) in /home/clients/ru/domains/development4web.com/html/sites/all/modules/views/handlers/views_handler_argument.inc on line 48.
  • warning: Declaration of views_handler_filter_boolean_operator::value_validate(&$form, &$form_state) should be compatible with views_handler_filter::value_validate($form, &$form_state) in /home/clients/ru/domains/development4web.com/html/sites/all/modules/views/handlers/views_handler_filter_boolean_operator.inc on line 111.
  • warning: Declaration of views_plugin_row_node_view::options_form(&$form, &$form_state) should be compatible with views_plugin_row::options_form($form, &$form_state) in /home/clients/ru/domains/development4web.com/html/sites/all/modules/views/modules/node/views_plugin_row_node_view.inc on line 35.

Troubles with Drupal 7

I'm trying to install Drupal 7 vesion, but I did like to install it in a test folder at first. So I installed it to a drupal folder but whenever I go to [url]www.mywebsite.com/drupal[/url], it tries to run the install script but then the page come out blank. I don't know if this is because it's an alpha version or because I'm not installing it in the main site, but I was hoping someone would more experience could help.





Top 10 custom JavaScript functions of all time

10 position ) addEvent()

Sure a staple to event attachment! Regardless to that version you use written by some developer, it does what it says it does. And of course as you might of known, I’ve put together quite a handy version myself recently of addEvent() with some help from the contest winner and Mark Wubben along with a few minor syntax adjustments. But just to be fair to Scott Andrew, here is the original that started it all.
Original addEvent() function

function addEvent(elm, evType, fn, useCapture) {
if (elm.addEventListener) {





Zend ProgressBar

I am use Zend Progressbar to show my database insertion status, but unable to show it to my action's '.phtml' page. Can any one tell me how to show the progressbar status in a '.phtml' page. I followed a lots of web references but still unable to do it. Please help me





Refresh parent when popup close

I'm using submodal-1.6 for popup.

When the popup closes I wanted parent page to refresh.I've tried the following
window.opener.location.load();
location.load();
window.parent.location.reload();

All works for IE, but when coming to mozilla ,firefox the refresh is a step delayed, i.e when I open my popup to add an itme to my cart on parent page ,for the first time it does not show anything , but when I try to add another item , the first one shows.

Any advice would be really great.





Array sorting in Java Script

In JavaScript, you can sort arrays using the sort method. As the only optional argument method takes a function that determines the sorting rules. If sort is called without arguments, then sorting by ascending values of the elements. Example:
//array
var arr = [0, true, 'John', 'Peter', 56, NaN, false, 13, 'Mike'];
// sorting
arr.sort();
// return [0,13,56,NaN,false,true,John,Mike,Peter]
Sorted array, in which context the method is called, so if you want to keep the original state - make up and sort it.
Functions Sorting





Notice: Undefined offset:8192 and ereg() deprecation error.

Recently, I encountered a strange problem when porting production server to run on my local machine. I want to get it running so I can make the necessary upgrades/modifications necessary.
The site is loaded but gives a lot of errors.

Notice: Undefined offset: 8192 in ...\includes\common.inc on line 561
Notice: Undefined offset: 8192 in ...\includes\common.inc on line 568
And after that red drupal error message

: Function ereg() is deprecated in
C:\wamp\www\sitename\includes\file.inc on line 649.





How to generate PDF files with PHP?

[URL="http://www.fpdf.org/"]FPDF[/URL] is a PHP class that allows you to generate PDF files without using the PDFlib library.

FPDF is free and can be downloaded from the official website's [URL="http://www.fpdf.org/en/download.php"]download section[/URL]. The download package contains all necessary files, along with some [URL="http://www.fpdf.org/en/tutorial/index.php"]tutorials[/URL] on how to use it.

A basic example of using FPDF is with the following PHP code (you must download and extract the FPDF package in the folder where the PHP file with the code is located):





PHP 8.0.0 Release Candidate 5 available for testing

The PHP team is pleased to announce the eleventh testing release of PHP 8.0.0, Release Candidate 5.

This is an extra unplanned release, but we're not planning to adjust the GA date,
however, this may change during the course of the RC cycle.
The updated release schedule can, as always, be found on the
PHP Wiki page about the PHP 8.0.





Meteor Fibers meet Promises meet Callbacks — A practical guide

You write your unique new Meteor Application, but it takes time to load at first. What can you do? This issue has many causes, but it probably means you are loading too much or waiting for too long.We will go through some basic optimizations here that, when applied, can get you a massive lift in first-page loading time and app performance.





Filter_htmlcorrector - it’s very useful function in the case of custom output of content added by site users.

Here is link for specification
The problem was detected when resolving the problem of outputing the whole content of the book to the one page.