Yii Framework Forum: Bootstrapped Yii blog demo with facebook and persona login - Yii Framework Forum

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Bootstrapped Yii blog demo with facebook and persona login Rate Topic: -----

#21 User is offline   ronyaja 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 12
  • Joined: 02-March 12

Posted 19 June 2012 - 10:06 AM

View PostSampa, on 18 June 2012 - 09:35 AM, said:

The ajax crud means ajax create read update delete, means they are all on the same page.

you reach it by going to /post/admin

FileController is not suppossed to have a index view:) or, rather, I haven't made one.
Since I only use that controller for file uploads, and in my own projects functions related to file handling :)


I still can't access the ajax crud. I click the 'create post' button in /post/admin, but it doesn't work. Tried update,delete, and view, it brings me into 404 error page that said The system is unable to find the requested action "12".
0

#22 User is offline   ardinotow 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 19-January 11

Posted 16 July 2012 - 11:48 PM

Hai, I'm new in Yii. I want to ask how to disable facebook and persona temporary. I found it annoying that every page request it needs to search for facebook, persona, and other online service, that would make page my development become slow on my local machine. Thank you before....
0

#23 User is offline   Sampa 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 173
  • Joined: 18-December 11
  • Location:Stockholm,Sweden

Posted 17 July 2012 - 06:44 AM

View Postardinotow, on 16 July 2012 - 11:48 PM, said:

Hai, I'm new in Yii. I want to ask how to disable facebook and persona temporary. I found it annoying that every page request it needs to search for facebook, persona, and other online service, that would make page my development become slow on my local machine. Thank you before....


Look in protected/components/controller.php.
0

#24 User is offline   ardinotow 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 19-January 11

Posted 21 July 2012 - 09:08 PM

View PostSampa, on 17 July 2012 - 06:44 AM, said:

Look in protected/components/controller.php.


I can disable facebook lookup by commenting the line 26
//$this->facebookCheck();
but I can't find a way to disable for browserid.org. Can you help me to disable browserid.org too? Thank you.
0

#25 User is offline   ardinotow 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 19-January 11

Posted 21 July 2012 - 09:09 PM

View PostSampa, on 17 July 2012 - 06:44 AM, said:

Look in protected/components/controller.php.


I can disable facebook lookup by commenting the line 26
//$this->facebookCheck();
but I can't find a way to disable for browserid.org. Can you help me to disable browserid.org too? Thank you.
0

#26 User is offline   Sampa 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 173
  • Joined: 18-December 11
  • Location:Stockholm,Sweden

Posted 22 July 2012 - 06:21 AM

View Postardinotow, on 21 July 2012 - 09:09 PM, said:

I can disable facebook lookup by commenting the line 26
//$this->facebookCheck();
but I can't find a way to disable for browserid.org. Can you help me to disable browserid.org too? Thank you.

protected/views/layouts/main.php
comment out:
<!-- for browserID login aka Mozilla Persona -->
<script src="https://browserid.org/include.js" type="text/javascript"></script>
and remove the link/logo
0

Share this topic:


  • (2 Pages)
  • +
  • 1
  • 2
  • 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