Category Archives: Programming

Drupal 8: How to redirect to batch form after submit to custom url (batch api)

I’ve been fighting with this for a long time but then I found simple solution. I needed to redirect to new batch processing page right after clicking submit button so here is a solution public function submitForm(array &$form, FormStateInterface $form_state) … Continue reading

Loading

Posted in Nets, PHP, WEB, The Internet, Computers, BY, Programming | Tagged , , , | Leave a comment

Expanding pecl_http v.2 longer supports http_build_url(). Solve the problem quickly.

And So, in 2014 year renewal extension came pecl_http, which no longer function http_build_url, and indeed other functions too. but personally, my problem was only in this function, so dig all other incompatibility I did not. Changelog can be found … Continue reading

Loading

Posted in PHP, Computers, Programming | Tagged , , , , , , , | Leave a comment

MP3 jPlayer for WordPress: with support for playback of file folders on other hosts (Apache Index)

And So, for display of all music in the blog posts on wordpress is not always convenient to upload files to the hosting itself, especially if the place is small hosting. I have a situation such: Nas has a house with large disks, where actually all music and lies. … Continue reading

Loading

Posted in PHP, Computers, Programming | Tagged , , , , , , | 2 Comments