Monday, 24 February 2014

Custom search and pagination using database item list in Concrete5 0

I faced this issue when I'm developing custom search page. I used my single page for search page. I'm searching values from my database. In concrete5 they used Request method in form to get form values to controller. But I used Post method in my form. I followed article of Remo to create a database item list model file. Really very nice tutorial for beginners. But I could not find the search option in that article. I tried by my self and all works fine. But I got issue in pagination....

Wednesday, 19 February 2014

How to change the order of div (DOM element) using jquery 6

Thank you for asking me this question, Vicky. I'm going to explain the way I solved your issue here... Question : i want from this fiddle is if the user clicks button 3 then button 1 then button 5 ..... the divs should display in this order DIV 3 > DIV 1 > DIV 5 , But its displaying as DIV 1>DIV 3>DIV5 Answer : To achieve this task we need detach() method of jQuery. I have already posted about this detach() method in one of previous my another article. You can find it here. When...

Tuesday, 18 February 2014

How to use detach() method (.detach() vs .remove()) 1

We can easily achieve this task using jquery detach() method. .detach() .detach() method more over equal to .remove() method in jquery. The only difference is, .detach() method returns DOM element node & remove DOM element from DOM tree. .remove() method completely remove DOM element from DOM tree. Using that returned DOM elements node, we can reinsert DOM element in a DOM tree. definition from jquery api "The .detach() method is the same as .remove(),except that .detach() keeps all...

Monday, 17 February 2014

How to show scroll bar in left side using css 2

By default scroll bar appears in right side of the div. We can set it in left side also. We can do it from overflow property of css style itself. to make scroll bar, we should use css property overflow : scroll; by default scroll bar uses direction propery as ltr. ltr is stands for left to right.   overflow : scroll; direction : ltr; If you want to set scroll bar in left side, we need to set it to rtl. rtl is stands for right to left. overflow : scroll; direction : rtl; Here you...