Displaying 271-276 of 276 results.
Resolved: CListview Pagination variable
posted by admin on December 25, 2015
within CListview and CGridview when I turn off ajax I set

'ajaxUpdate' = false

but the paging variable comes up with modelname_page=1 how can i set the paging variable to just 'p'
ie so p=1.

I have tried

'pageVar' => 'p'

but this doesn't work as it's not supported.
btw I am using yii 1.1.10Read more
Resolved: CWidget should have a createUrl implementation?
posted by admin on December 26, 2015
After some research in the source and reading the api I'd like to discuss if the CWidget class shouldn't have a createUrl() implementation like CController but appending to the action automatically the $prefixUrl. I think it could be very useful

What do you think?Read more
Resolved: How to Restore the Get Shortlink Button in WordPress 4.4
posted by admin on December 25, 2015
altAmong the many changes in WordPress 4.4 in an effort to clean the interface, the Get Shortlink button is hidden from view. If you want to restore the button, check out the Shorter Links plugin developed by Rob Allen.

In addition to restoring the Get Shortlink button, it gives users the ability to use custom text that overrides the default URL.Read more
Resolved: Yii captcha does not work after moving site to the hosting
posted by admin on December 22, 2015
In localhost website captcha working well, but after moving to live hosting, captcha stop working. Not show image, break image.Read more
Resolved: PHP replace php start and end tags to lt gt
posted by admin on December 22, 2015
I want to replace <?php and ?> symbols to lt gt html special charectersRead more
Resolved: Sort divs bases on element's data attribute
posted by admin on December 22, 2015
If I have several divs:

<div data-sort='4'>div4</div>
<div data-sort='8'>div8</div>
<div data-sort='1'>div1</div>
<div data-sort='19'>div19</div>
<div data-sort='12'>div12</div>

Actually I want to sort divs by data attribute by sorting ASC and DESCRead more