Category: ‘JS’

Setting session variables in sailsjs

Recently, I lost about 2 hours trying to set a session variable in my sailsjs application and which was not working. In fact, this was a very straight forward action: set the session variable and use it elsewhere. What I got wrong was the following: if you want to set your session variables, you need […] Read more

Oct, 10, 2016

  JS

0

SHARE THIS

What to do when you mess up custom js in Visual Composer

Recently, I messed up with some custom javascript in Visual Composer and the user interface for adding/modifying the custom js stopped working altogether. So, I have to modify the records directly in the database. After some looking around, I found it in the table wp_options. Just do a simple query like: select * from wp_options […] Read more

Oct, 10, 2016

  JS

0

SHARE THIS