Yii Framework Forum: global ajax-loading indicators - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

global ajax-loading indicators global ajax-loading indicators Rate Topic: -----

#1 User is offline   m.dhouibi 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 92
  • Joined: 11-July 14

Posted 17 November 2014 - 10:47 AM

How I can insert an ajax-loading indicators (somewhere in the layout that is called in each page), and display it whenever an ajax request on.
Global setting for the whole website.
Thank you
0

#2 User is offline   dragan.zivkovic 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 175
  • Joined: 13-September 12

Posted 17 November 2014 - 01:12 PM

By default Yii structure U can do what U want in:
views/layouts/main.php
this is file that will always be rendered.
1

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users