Re: Using Auth WIth Another Table instead of Users

2011-08-31 Thread WebbedIT
I know you dont want to hear this, but ...

I would really reccomend going back to using a user table. That's
where you store the username, passwoprd, email, user_group_id,
visit_count, last_visit_id etc. (i.e. the fields that define a User
object)

I would then create a hasOne - belongsTo relationship to your
Artiste model where you store all the other fields you need to define
an Artiste object

Et Voila!

HTH, Paul.

On Aug 31, 2:42 am, tubiz tayi...@gmail.com wrote:
 I am not using the User table for authentication instead I am using an
 artiste table but the problem is that I havent been able to lgoin
 using the username and password I registered with. I have already
 hashed the password using  Security::hash($this-data['Artiste']
 ['password'], null, true). Would like to know how to hash the password
 a user is using to login before checking if his details is right.

 Would also like ot know how to use auth with another table.
 I have already added this to the beforeFilter but I still cant login,

         $this-Auth-authorize = 'controller';
         $this-Auth-userModel = 'Artiste';
         $this-Auth-fields = array('username' = 'email','password'
 = 'password');
         $this-Auth-loginAction = array('admin' = false,
 'controller' = 'artistes', 'action' = 'login');
         $this-Auth-allow('login','add','view');
         $this-Auth-loginRedirect = array('controller' = 'artistes',
 'action' = 'home');

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: tags - pagination

2011-08-31 Thread WebbedIT
Do you understand how the pagination helper works?  You do not call
Model::find and certainly don't run Model::find('count') as pagination
does that all for you.  Have you got pagination working elsewhere in
your app?

HTH, Paul

On Aug 30, 5:35 pm, Prabha vathi prabha.ridd...@gmail.com wrote:
 $count = $this-Tag-find('count',array('conditions' = array('Post.status'
 = 'active','Tag.tag_value' = $name)));
  echo $count;

 I got 100, or something. But pagination is displaying only one page.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Pre CakeFest meetup in Manchester?

2011-08-31 Thread WebbedIT
Nice one Larry! Congrats Jeremy, see you there ... I'm slumming it in
the student digs for 3 nights, but still in same building.  I have a
shower and breakfast every morning, what else does a man need?

On Aug 30, 4:04 pm, Jeremy Burns | Class Outfit
jeremybu...@classoutfit.com wrote:
 I called the hotel direct and booked. Thanks for your help.

 Jeremy Burns
 Class Outfit

 Tel: +44 (0) 208 123 3822
 Mob: +44 (0) 7973 481949
 Skype: jeremy_burnshttp://www.classoutfit.com

 On 30 Aug 2011, at 15:56, Larry E. Masters wrote:







  Not sure about accommodations, you should call the hotel directly.

  --
  Larry E. Masters

  On Tue, Aug 30, 2011 at 9:28 AM, Jeremy Burns | Class Outfit 
  jeremybu...@classoutfit.com wrote:
  Fabulous...booked and ready to roll, thank you. Is the accommodation 
  special still on? If so, how do I book that please?

  Jeremy Burns
  Class Outfit

  Tel: +44 (0) 208 123 3822
  Mob: +44 (0) 7973 481949
  Skype: jeremy_burns
 http://www.classoutfit.com

  On 30 Aug 2011, at 15:12, Larry E. Masters wrote:

  For anyone interested we have secured 5 more spaces for both the 
  conference and workshops. These are first come first server so grab them 
  quick if you want to attend.

 http://cakefest.org

  --
  Larry E. Masters

  On Tue, Aug 30, 2011 at 2:29 AM, WebbedIT p...@webbedit.co.uk wrote:
  Awww, no Jeremy, was really hoping I was going to meet you there :(

  On Aug 29, 11:08 am, Jeremy Burns | Class Outfit
  jeremybu...@classoutfit.com wrote:
   So tickets have sold out, and I now realise I can come. Any late 
   availability anywhere?

   Jeremy Burns
   Class Outfit

  http://www.classoutfit.com

   On 28 Aug 2011, at 10:53, designv...@gmail.com wrote:

I doing the 4 days, so will be around for all of it.

d//t.

On Aug 28, 8:18 am, WebbedIT p...@webbedit.co.uk wrote:
@WebbedIT Are you doing the full 4 days or just the conference?

On Aug 27, 11:55 pm, designv...@gmail.com designv...@gmail.com
wrote:

Prolly easiest way to do this is to add eachother to twitter - my
username is: designvoid

Really happy to meet up with folks and show you around a bit!

On Aug 26, 8:16 pm, mark_story mark.st...@gmail.com wrote:

I'll be around a day prior as well and would be more than happy to
grab a pint :)

-Mark

On Aug 25, 6:04 pm, designv...@gmail.com designv...@gmail.com
wrote:

Hi all,

I actually live in Manchester and am obviously going to CakeFest, 
so I
thought I would see if anyone travelling from abroad and gets in a 
day
or 2 early would like a pre-fest meetup?

I am around in Manchester and free every evening until the start of
CakeFest, so if anyone fancies it, please feel free to hit me up at
dv...@designvoid.com

Cheers!

d//t

--
Our newest site for the community: CakePHP Video 
Tutorialshttp://tv.cakephp.org
Check out the new CakePHP Questions sitehttp://ask.cakephp.organdhelp 
others with their CakePHP related questions.

To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this 
group athttp://groups.google.com/group/cake-php

  --
  Our newest site for the community: CakePHP Video 
  Tutorialshttp://tv.cakephp.org
  Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help 
  others with their CakePHP related questions.

  To unsubscribe from this group, send email to
  cake-php+unsubscr...@googlegroups.com For more options, visit this group 
  athttp://groups.google.com/group/cake-php

  --
  Our newest site for the community: CakePHP Video 
  Tutorialshttp://tv.cakephp.org
  Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help 
  others with their CakePHP related questions.

  To unsubscribe from this group, send email to
  cake-php+unsubscr...@googlegroups.com For more options, visit this group 
  athttp://groups.google.com/group/cake-php

  --
  Our newest site for the community: CakePHP Video 
  Tutorialshttp://tv.cakephp.org
  Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help 
  others with their CakePHP related questions.

  To unsubscribe from this group, send email to
  cake-php+unsubscr...@googlegroups.com For more options, visit this group 
  athttp://groups.google.com/group/cake-php

  --
  Our newest site for the community: CakePHP Video 
  Tutorialshttp://tv.cakephp.org
  Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help 
  others with their CakePHP related questions.

  To unsubscribe from this group, send email to
  cake-php+unsubscr...@googlegroups.com For more options, visit this group 
  athttp://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to

Re: tags - pagination

2011-08-31 Thread Prabha vathi
Hi,

I fixed it! :)
Yeah, everywhere it was working, It was not working only in tags, now it is
also working!

On Wed, Aug 31, 2011 at 1:16 PM, WebbedIT p...@webbedit.co.uk wrote:

 Do you understand how the pagination helper works?  You do not call
 Model::find and certainly don't run Model::find('count') as pagination
 does that all for you.  Have you got pagination working elsewhere in
 your app?

 HTH, Paul

 On Aug 30, 5:35 pm, Prabha vathi prabha.ridd...@gmail.com wrote:
  $count = $this-Tag-find('count',array('conditions' =
 array('Post.status'
  = 'active','Tag.tag_value' = $name)));
   echo $count;
 
  I got 100, or something. But pagination is displaying only one page.

 --
 Our newest site for the community: CakePHP Video Tutorials
 http://tv.cakephp.org
 Check out the new CakePHP Questions site http://ask.cakephp.org and help
 others with their CakePHP related questions.


 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.com For more options, visit this group
 at http://groups.google.com/group/cake-php




-- 
-- 
Prabhavathi
http://www.indiapublicforum.com

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Pagination and JQuery: Passing parameters with JQuery to controller

2011-08-31 Thread WebbedIT
The parameter(s) should already be in the link's href attribute, if
not you're not using pagination to display your column sort and paging
links?

Have you read this (not done so myself, but should give you some
pointers):
http://bakery.cakephp.org/articles/daphonz/2008/05/03/easy-ajax-pagination-using-jquery

HTH, Paul

On Aug 30, 8:59 am, Tomfox Wiranata tomfox.wiran...@gmail.com wrote:
 thx, again ;)

 stupid question. with ajax request you mean doing so within jquery,
 correct? how would i do it here?

 $('#pagination_created a').live('click', function() {
                     var url = $(this).attr(href);   !
 I'm having a feeling that i need to add the parameter to this line
                     $('#following_popup').load(url);
                     return false;
                 });

 thanks a lot :)

 On Aug 30, 9:28 am, WebbedIT p...@webbedit.co.uk wrote:







  There is nothing special about achieving this as CakePHP takes the
  passed or named variables the same way as any other time.  Simply send
  an ajax request to:

  /controller/action/variableValue

  or

  /controller/action/variableName:variableValue

  If you're still struggling to access the variable in your action add
  echo debug($this-params); to see where the variable ends up.

  HTH, Paul.

  On Aug 29, 3:41 pm, Tomfox Wiranata tomfox.wiran...@gmail.com wrote:

   hi huoxito,

   thx for your post. no i didnt get there cause my way worked too.
   if you/someone know/knows how to pass a variable with jquery to the
   isAjax() i'd rather stay with my solution, otherwise i might give it a
   try..

   On Aug 29, 2:22 pm, huoxito huox...@gmail.com wrote:

Have u tried to do it use cake built in ajax pagination?

   http://book.cakephp.org/view/1600/Ajax-Pagination-Hide quoted text -

  - Show quoted text -

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: dropdown select option in multiple rows in cakephp

2011-08-31 Thread WebbedIT
You have given no code for us to work with, just a concept of what
you're trying to achieve.

I assume you are trying to use javascript to do this ... if you want
help show us the relevant fields in your view, along with the
javascript you are using.

HTH, Paul.

On Aug 30, 5:47 am, abhimanyu bv vmabhi...@gmail.com wrote:
 i am showing multiple rows in a grid, and each row has a dropdown with
 values 1,2,3,4,5..
 the view looks like :

 description ,
 quantity,
 price,            total price
 1.deal1                                  dropdownbox
 [btnupdate]                         100              100*dropdown
 secelted valu
 2.deal2                                 dropdownbox
 [btnupdate]                         200              200*dropdown
 secelted valu
 3.deal3                                 dropdownbox
 [btnupdate]                         300              300*dropdown
 secelted valu

 if i am changing the value of the deal1 or deal2 dropdown box, the
 total price value is not changing, but if im changing the last one
 i.e, deal3, then it is changing. after selecting the dropdown and if
 user clicks btnupdate then the id of that row is passed to the
 controller along with the selected value. but its happening for only
 deal3 not for other deals. i want to update each row with the value
 selected in that particular row dropdown.how to do this

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Pagination and JQuery: Passing parameters with JQuery to controller

2011-08-31 Thread Tomfox Wiranata
hi paul,

yes, with the links href i am already passing the page number

controller/action/page:x

to my actions isAjax() function. but i need an additional parameter,
so my controller knows what element to render within the isAjax():
if ($this-RequestHandler-isAjax())
{


when user clicks on div pagination_follow
$this-render('/elements/users/following');
return;


when user clicks on div pagination_created
$this-render('/elements/users/created');
return;
}



i just cant get jquery to pass that additional variable





On Aug 31, 9:56 am, WebbedIT p...@webbedit.co.uk wrote:
 The parameter(s) should already be in the link's href attribute, if
 not you're not using pagination to display your column sort and paging
 links?

 Have you read this (not done so myself, but should give you some
 pointers):http://bakery.cakephp.org/articles/daphonz/2008/05/03/easy-ajax-pagin...

 HTH, Paul

 On Aug 30, 8:59 am, Tomfox Wiranata tomfox.wiran...@gmail.com wrote:



  thx, again ;)

  stupid question. with ajax request you mean doing so within jquery,
  correct? how would i do it here?

  $('#pagination_created a').live('click', function() {
                      var url = $(this).attr(href);   !
  I'm having a feeling that i need to add the parameter to this line
                      $('#following_popup').load(url);
                      return false;
                  });

  thanks a lot :)

  On Aug 30, 9:28 am, WebbedIT p...@webbedit.co.uk wrote:

   There is nothing special about achieving this as CakePHP takes the
   passed or named variables the same way as any other time.  Simply send
   an ajax request to:

   /controller/action/variableValue

   or

   /controller/action/variableName:variableValue

   If you're still struggling to access the variable in your action add
   echo debug($this-params); to see where the variable ends up.

   HTH, Paul.

   On Aug 29, 3:41 pm, Tomfox Wiranata tomfox.wiran...@gmail.com wrote:

hi huoxito,

thx for your post. no i didnt get there cause my way worked too.
if you/someone know/knows how to pass a variable with jquery to the
isAjax() i'd rather stay with my solution, otherwise i might give it a
try..

On Aug 29, 2:22 pm, huoxito huox...@gmail.com wrote:

 Have u tried to do it use cake built in ajax pagination?

http://book.cakephp.org/view/1600/Ajax-Pagination-Hidequoted text -

   - Show quoted text -- Hide quoted text -

 - Show quoted text -

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Pre CakeFest meetup in Manchester?

2011-08-31 Thread designv...@gmail.com
Good ale?

On Aug 31, 8:49 am, WebbedIT p...@webbedit.co.uk wrote:
 Nice one Larry! Congrats Jeremy, see you there ... I'm slumming it in
 the student digs for 3 nights, but still in same building.  I have a
 shower and breakfast every morning, what else does a man need?

 On Aug 30, 4:04 pm, Jeremy Burns | Class Outfit







 jeremybu...@classoutfit.com wrote:
  I called the hotel direct and booked. Thanks for your help.

  Jeremy Burns
  Class Outfit

  Tel: +44 (0) 208 123 3822
  Mob: +44 (0) 7973 481949
  Skype: jeremy_burnshttp://www.classoutfit.com

  On 30 Aug 2011, at 15:56, Larry E. Masters wrote:

   Not sure about accommodations, you should call the hotel directly.

   --
   Larry E. Masters

   On Tue, Aug 30, 2011 at 9:28 AM, Jeremy Burns | Class Outfit 
   jeremybu...@classoutfit.com wrote:
   Fabulous...booked and ready to roll, thank you. Is the accommodation 
   special still on? If so, how do I book that please?

   Jeremy Burns
   Class Outfit

   Tel: +44 (0) 208 123 3822
   Mob: +44 (0) 7973 481949
   Skype: jeremy_burns
  http://www.classoutfit.com

   On 30 Aug 2011, at 15:12, Larry E. Masters wrote:

   For anyone interested we have secured 5 more spaces for both the 
   conference and workshops. These are first come first server so grab them 
   quick if you want to attend.

  http://cakefest.org

   --
   Larry E. Masters

   On Tue, Aug 30, 2011 at 2:29 AM, WebbedIT p...@webbedit.co.uk wrote:
   Awww, no Jeremy, was really hoping I was going to meet you there :(

   On Aug 29, 11:08 am, Jeremy Burns | Class Outfit
   jeremybu...@classoutfit.com wrote:
So tickets have sold out, and I now realise I can come. Any late 
availability anywhere?

Jeremy Burns
Class Outfit

   http://www.classoutfit.com

On 28 Aug 2011, at 10:53, designv...@gmail.com wrote:

 I doing the 4 days, so will be around for all of it.

 d//t.

 On Aug 28, 8:18 am, WebbedIT p...@webbedit.co.uk wrote:
 @WebbedIT Are you doing the full 4 days or just the conference?

 On Aug 27, 11:55 pm, designv...@gmail.com designv...@gmail.com
 wrote:

 Prolly easiest way to do this is to add eachother to twitter - my
 username is: designvoid

 Really happy to meet up with folks and show you around a bit!

 On Aug 26, 8:16 pm, mark_story mark.st...@gmail.com wrote:

 I'll be around a day prior as well and would be more than happy to
 grab a pint :)

 -Mark

 On Aug 25, 6:04 pm, designv...@gmail.com designv...@gmail.com
 wrote:

 Hi all,

 I actually live in Manchester and am obviously going to 
 CakeFest, so I
 thought I would see if anyone travelling from abroad and gets in 
 a day
 or 2 early would like a pre-fest meetup?

 I am around in Manchester and free every evening until the start 
 of
 CakeFest, so if anyone fancies it, please feel free to hit me up 
 at
 dv...@designvoid.com

 Cheers!

 d//t

 --
 Our newest site for the community: CakePHP Video 
 Tutorialshttp://tv.cakephp.org
 Check out the new CakePHP Questions 
 sitehttp://ask.cakephp.organdhelpothers with their CakePHP related 
 questions.

 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.com For more options, visit this 
 group athttp://groups.google.com/group/cake-php

   --
   Our newest site for the community: CakePHP Video 
   Tutorialshttp://tv.cakephp.org
   Check out the new CakePHP Questions sitehttp://ask.cakephp.organdhelp 
   others with their CakePHP related questions.

   To unsubscribe from this group, send email to
   cake-php+unsubscr...@googlegroups.com For more options, visit this group 
   athttp://groups.google.com/group/cake-php

   --
   Our newest site for the community: CakePHP Video 
   Tutorialshttp://tv.cakephp.org
   Check out the new CakePHP Questions sitehttp://ask.cakephp.organdhelp 
   others with their CakePHP related questions.

   To unsubscribe from this group, send email to
   cake-php+unsubscr...@googlegroups.com For more options, visit this group 
   athttp://groups.google.com/group/cake-php

   --
   Our newest site for the community: CakePHP Video 
   Tutorialshttp://tv.cakephp.org
   Check out the new CakePHP Questions sitehttp://ask.cakephp.organdhelp 
   others with their CakePHP related questions.

   To unsubscribe from this group, send email to
   cake-php+unsubscr...@googlegroups.com For more options, visit this group 
   athttp://groups.google.com/group/cake-php

   --
   Our newest site for the community: CakePHP Video 
   Tutorialshttp://tv.cakephp.org
   Check out the new CakePHP Questions sitehttp://ask.cakephp.organdhelp 
   others with their CakePHP related questions.

   To unsubscribe from this group, send email to
   cake-php+unsubscr...@googlegroups.com For more options, visit this group 
   athttp://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 

Re: Pre CakeFest meetup in Manchester?

2011-08-31 Thread Jeremy Burns | Class Outfit
I'm travelling up from London tonight and will be around if anyone fancies 
meeting up.

Jeremy Burns
Class Outfit

Tel: +44 (0) 208 123 3822
Mob: +44 (0) 7973 481949
Skype: jeremy_burns
http://www.classoutfit.com

On 31 Aug 2011, at 09:08, designv...@gmail.com wrote:

 Good ale?
 
 On Aug 31, 8:49 am, WebbedIT p...@webbedit.co.uk wrote:
 Nice one Larry! Congrats Jeremy, see you there ... I'm slumming it in
 the student digs for 3 nights, but still in same building.  I have a
 shower and breakfast every morning, what else does a man need?
 
 On Aug 30, 4:04 pm, Jeremy Burns | Class Outfit
 
 
 
 
 
 
 
 jeremybu...@classoutfit.com wrote:
 I called the hotel direct and booked. Thanks for your help.
 
 Jeremy Burns
 Class Outfit
 
 Tel: +44 (0) 208 123 3822
 Mob: +44 (0) 7973 481949
 Skype: jeremy_burnshttp://www.classoutfit.com
 
 On 30 Aug 2011, at 15:56, Larry E. Masters wrote:
 
 Not sure about accommodations, you should call the hotel directly.
 
 --
 Larry E. Masters
 
 On Tue, Aug 30, 2011 at 9:28 AM, Jeremy Burns | Class Outfit 
 jeremybu...@classoutfit.com wrote:
 Fabulous...booked and ready to roll, thank you. Is the accommodation 
 special still on? If so, how do I book that please?
 
 Jeremy Burns
 Class Outfit
 
 Tel: +44 (0) 208 123 3822
 Mob: +44 (0) 7973 481949
 Skype: jeremy_burns
 http://www.classoutfit.com
 
 On 30 Aug 2011, at 15:12, Larry E. Masters wrote:
 
 For anyone interested we have secured 5 more spaces for both the 
 conference and workshops. These are first come first server so grab them 
 quick if you want to attend.
 
 http://cakefest.org
 
 --
 Larry E. Masters
 
 On Tue, Aug 30, 2011 at 2:29 AM, WebbedIT p...@webbedit.co.uk wrote:
 Awww, no Jeremy, was really hoping I was going to meet you there :(
 
 On Aug 29, 11:08 am, Jeremy Burns | Class Outfit
 jeremybu...@classoutfit.com wrote:
 So tickets have sold out, and I now realise I can come. Any late 
 availability anywhere?
 
 Jeremy Burns
 Class Outfit
 
 http://www.classoutfit.com
 
 On 28 Aug 2011, at 10:53, designv...@gmail.com wrote:
 
 I doing the 4 days, so will be around for all of it.
 
 d//t.
 
 On Aug 28, 8:18 am, WebbedIT p...@webbedit.co.uk wrote:
 @WebbedIT Are you doing the full 4 days or just the conference?
 
 On Aug 27, 11:55 pm, designv...@gmail.com designv...@gmail.com
 wrote:
 
 Prolly easiest way to do this is to add eachother to twitter - my
 username is: designvoid
 
 Really happy to meet up with folks and show you around a bit!
 
 On Aug 26, 8:16 pm, mark_story mark.st...@gmail.com wrote:
 
 I'll be around a day prior as well and would be more than happy to
 grab a pint :)
 
 -Mark
 
 On Aug 25, 6:04 pm, designv...@gmail.com designv...@gmail.com
 wrote:
 
 Hi all,
 
 I actually live in Manchester and am obviously going to CakeFest, 
 so I
 thought I would see if anyone travelling from abroad and gets in a 
 day
 or 2 early would like a pre-fest meetup?
 
 I am around in Manchester and free every evening until the start of
 CakeFest, so if anyone fancies it, please feel free to hit me up at
 dv...@designvoid.com
 
 Cheers!
 
 d//t
 
 --
 Our newest site for the community: CakePHP Video 
 Tutorialshttp://tv.cakephp.org
 Check out the new CakePHP Questions 
 sitehttp://ask.cakephp.organdhelpothers with their CakePHP related 
 questions.
 
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.com For more options, visit this 
 group athttp://groups.google.com/group/cake-php
 
 --
 Our newest site for the community: CakePHP Video 
 Tutorialshttp://tv.cakephp.org
 Check out the new CakePHP Questions sitehttp://ask.cakephp.organdhelp 
 others with their CakePHP related questions.
 
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.com For more options, visit this group 
 athttp://groups.google.com/group/cake-php
 
 --
 Our newest site for the community: CakePHP Video 
 Tutorialshttp://tv.cakephp.org
 Check out the new CakePHP Questions sitehttp://ask.cakephp.organdhelp 
 others with their CakePHP related questions.
 
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.com For more options, visit this group 
 athttp://groups.google.com/group/cake-php
 
 --
 Our newest site for the community: CakePHP Video 
 Tutorialshttp://tv.cakephp.org
 Check out the new CakePHP Questions sitehttp://ask.cakephp.organdhelp 
 others with their CakePHP related questions.
 
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.com For more options, visit this group 
 athttp://groups.google.com/group/cake-php
 
 --
 Our newest site for the community: CakePHP Video 
 Tutorialshttp://tv.cakephp.org
 Check out the new CakePHP Questions sitehttp://ask.cakephp.organdhelp 
 others with their CakePHP related questions.
 
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.com For more options, visit this group 
 athttp://groups.google.com/group/cake-php
 
 -- 
 Our newest site for the 

Re: Pre CakeFest meetup in Manchester?

2011-08-31 Thread designv...@gmail.com
Will be up for a meetup with folks this evening, there's a fantastic
bar near the venue:

http://www.portstreetbeerhouse.co.uk/

Amazing beers, ales etc.

My twitter and email is in the first post.

d//t

On Aug 31, 10:39 am, Jeremy Burns | Class Outfit
jeremybu...@classoutfit.com wrote:
 I'm travelling up from London tonight and will be around if anyone fancies 
 meeting up.

 Jeremy Burns
 Class Outfit

 Tel: +44 (0) 208 123 3822
 Mob: +44 (0) 7973 481949
 Skype: jeremy_burnshttp://www.classoutfit.com

 On 31 Aug 2011, at 09:08, designv...@gmail.com wrote:







  Good ale?

  On Aug 31, 8:49 am, WebbedIT p...@webbedit.co.uk wrote:
  Nice one Larry! Congrats Jeremy, see you there ... I'm slumming it in
  the student digs for 3 nights, but still in same building.  I have a
  shower and breakfast every morning, what else does a man need?

  On Aug 30, 4:04 pm, Jeremy Burns | Class Outfit

  jeremybu...@classoutfit.com wrote:
  I called the hotel direct and booked. Thanks for your help.

  Jeremy Burns
  Class Outfit

  Tel: +44 (0) 208 123 3822
  Mob: +44 (0) 7973 481949
  Skype: jeremy_burnshttp://www.classoutfit.com

  On 30 Aug 2011, at 15:56, Larry E. Masters wrote:

  Not sure about accommodations, you should call the hotel directly.

  --
  Larry E. Masters

  On Tue, Aug 30, 2011 at 9:28 AM, Jeremy Burns | Class Outfit 
  jeremybu...@classoutfit.com wrote:
  Fabulous...booked and ready to roll, thank you. Is the accommodation 
  special still on? If so, how do I book that please?

  Jeremy Burns
  Class Outfit

  Tel: +44 (0) 208 123 3822
  Mob: +44 (0) 7973 481949
  Skype: jeremy_burns
 http://www.classoutfit.com

  On 30 Aug 2011, at 15:12, Larry E. Masters wrote:

  For anyone interested we have secured 5 more spaces for both the 
  conference and workshops. These are first come first server so grab 
  them quick if you want to attend.

 http://cakefest.org

  --
  Larry E. Masters

  On Tue, Aug 30, 2011 at 2:29 AM, WebbedIT p...@webbedit.co.uk wrote:
  Awww, no Jeremy, was really hoping I was going to meet you there :(

  On Aug 29, 11:08 am, Jeremy Burns | Class Outfit
  jeremybu...@classoutfit.com wrote:
  So tickets have sold out, and I now realise I can come. Any late 
  availability anywhere?

  Jeremy Burns
  Class Outfit

 http://www.classoutfit.com

  On 28 Aug 2011, at 10:53, designv...@gmail.com wrote:

  I doing the 4 days, so will be around for all of it.

  d//t.

  On Aug 28, 8:18 am, WebbedIT p...@webbedit.co.uk wrote:
  @WebbedIT Are you doing the full 4 days or just the conference?

  On Aug 27, 11:55 pm, designv...@gmail.com designv...@gmail.com
  wrote:

  Prolly easiest way to do this is to add eachother to twitter - my
  username is: designvoid

  Really happy to meet up with folks and show you around a bit!

  On Aug 26, 8:16 pm, mark_story mark.st...@gmail.com wrote:

  I'll be around a day prior as well and would be more than happy to
  grab a pint :)

  -Mark

  On Aug 25, 6:04 pm, designv...@gmail.com designv...@gmail.com
  wrote:

  Hi all,

  I actually live in Manchester and am obviously going to CakeFest, 
  so I
  thought I would see if anyone travelling from abroad and gets in 
  a day
  or 2 early would like a pre-fest meetup?

  I am around in Manchester and free every evening until the start 
  of
  CakeFest, so if anyone fancies it, please feel free to hit me up 
  at
  dv...@designvoid.com

  Cheers!

  d//t

  --
  Our newest site for the community: CakePHP Video 
  Tutorialshttp://tv.cakephp.org
  Check out the new CakePHP Questions 
  sitehttp://ask.cakephp.organdhelpotherswith their CakePHP related 
  questions.

  To unsubscribe from this group, send email to
  cake-php+unsubscr...@googlegroups.com For more options, visit this 
  group athttp://groups.google.com/group/cake-php

  --
  Our newest site for the community: CakePHP Video 
  Tutorialshttp://tv.cakephp.org
  Check out the new CakePHP Questions 
  sitehttp://ask.cakephp.organdhelpothers with their CakePHP related 
  questions.

  To unsubscribe from this group, send email to
  cake-php+unsubscr...@googlegroups.com For more options, visit this 
  group athttp://groups.google.com/group/cake-php

  --
  Our newest site for the community: CakePHP Video 
  Tutorialshttp://tv.cakephp.org
  Check out the new CakePHP Questions 
  sitehttp://ask.cakephp.organdhelpothers with their CakePHP related 
  questions.

  To unsubscribe from this group, send email to
  cake-php+unsubscr...@googlegroups.com For more options, visit this 
  group athttp://groups.google.com/group/cake-php

  --
  Our newest site for the community: CakePHP Video 
  Tutorialshttp://tv.cakephp.org
  Check out the new CakePHP Questions 
  sitehttp://ask.cakephp.organdhelpothers with their CakePHP related 
  questions.

  To unsubscribe from this group, send email to
  cake-php+unsubscr...@googlegroups.com For more options, visit this group 
  athttp://groups.google.com/group/cake-php

  --
  Our newest site for the community: CakePHP 

Re: HTML ENTITIES

2011-08-31 Thread Miles J
Then just strip_tags() before each insert.

Database size is irrelevant IMO.

On Aug 27, 11:42 pm, Prabha vathi prabha.ridd...@gmail.com wrote:
 I am never going to use html. Then why should i increase database size?









 On Sun, Aug 28, 2011 at 10:09 AM, Miles J mileswjohn...@gmail.com wrote:
  So whats your reasoning for not wanting HTML in the database?

  Not like it can really break anything.

  On Aug 27, 2:31 pm, Ryan Schmidt google-2...@ryandesign.com wrote:
   On Aug 27, 2011, at 03:46, Prabha vathi wrote:

echo $html-link(
                Sanitize::html($post_array['content'], array('remove'
  = true)),
                array(
                    'controller' = 'posts',
                    'action' = 'view',
                    'id' = $post_array['id'],
                    'quotes' =
  $this-Link-makeSeoUrl(Sanitize::html($post_array['content'],
  array('remove' = true)))
                ),
                array('title' =
  substr(Sanitize::html($post_array['content'], array('remove' =
  true)),0,20). ... Quotes of the day, 'class' = 'agrizlink')
            );

Now db has text like this - you're - but it is displayed like this -
  you#039;re in view.
But if there is no link, then it is working correctly. What is the
  problem?

   Sanitize::html is escaping it once. Then $html-link is escaping it a
  second time.

   Tell $html-link not to escape it that second time by passing false in
  the $escapeTitle parameter.

  http://book.cakephp.org/view/1363/link

   Note, by the way, that $html is old CakePHP 1.2 syntax. For CakePHP
  1.3, you want to use $this-Html instead.

  --
  Our newest site for the community: CakePHP Video Tutorials
 http://tv.cakephp.org
  Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help
  others with their CakePHP related questions.

  To unsubscribe from this group, send email to
  cake-php+unsubscr...@googlegroups.com For more options, visit this group
  athttp://groups.google.com/group/cake-php

 --
 --
 Prabhavathihttp://www.indiapublicforum.com

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php