Questions tagged [cakedc]

CakeDC refers to a series of open source plugins for the CakePHP framework such as CakeDC Users, CakeDC Search, CakeDC Ratings, CakeDC Tags, CakeDC Migrations, CakeDC Imagine, CakeDC Comments and more

CakeDC refers to a series of open source plugins for the CakePHP framework developed by Cake Development Corporation include:

GitHub: https://github.com/CakeDC?tab=repositories

159 questions
1
vote
2 answers

cakephp plugin search cakeDC usage

I'm using the 2.0 version of cakephp search plugins by cakeDC (with cakephp 2.x)(https://github.com/CakeDC/search) . I'm need search in many models but thats models aren't related. So i create a new model (search) and a controller (searches) . I got…
ssalvatori
  • 100
  • 1
  • 1
  • 7
1
vote
2 answers

CakeDC Migrations plugin cannot initialize schema_migrations table.

I'm trying to use https://github.com/CakeDC/migrations plugin in my CakePHP app. After installing, the first step is to run Console/cake Migrations.migration -p Migrations to initialize the schema_migrations table. I get the following error telling…
Lawrence Barsanti
  • 31,929
  • 10
  • 46
  • 68
1
vote
1 answer

CakePHP bake custom controller.ctp

Good morning people, I am trying to create a custom baking script for cakephp. What I want is to be able to use the cakedc search function on all of my future pages. So far I have managed to bake in a working search form on the side of the page by…
4th guy
  • 79
  • 2
  • 9
0
votes
1 answer

How can i set association between comment model and Users.User model?

It's CakePHP-2.0 and CakeDC-Users plugin mysql> describe comments; +----------+--------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra …
cola
  • 12,198
  • 36
  • 105
  • 165
0
votes
1 answer

CakePHP-2.0 and Migration plugin: How can i make id column auto_increment?

https://github.com/CakeDC/users/blob/2.0/Config/Migration/001_initialize_users_schema.php#L49 How can i make the id column auto_increment ?
cola
  • 12,198
  • 36
  • 105
  • 165
0
votes
1 answer

cakephp cakedc search plugin - multiple table / multiple query search

I am having some issues searching from multiple tables. I have a keyword search setup on a cards model which works fine, I also want the keywords to look into a contact model which has a forign key of card_id. I cannot seem to work out how to go…
sluggerdog
  • 843
  • 4
  • 12
  • 35
0
votes
0 answers

Redirect issues when upgrading CakePHP version with Cakedc/users

I am trying to upgrade the backend version from Cakephp3.8 to Cakephp4.4 I used upgrade tools and update composer and the versions of the modules. One of the problem is that after upgrading, I have this kind of redirection problem. For example, I…
0
votes
0 answers

CAKEDC/USERS.User Plugin. Always get "You are not authorized to access that location." after visit Home Page

Good evening, I'm working with cakephp4 an CakeDc/Users plugin 9.0.5. I'm have register option deactivated. Everything is working ok but I have an Issue for non superuser users. I'm getthing the error You are not authorized to access that location.…
Gonzalo
  • 43
  • 6
0
votes
0 answers

CakePhp 4 with CakeDC Users plugin. Redirect to users register page instead of login page when non logged users access to anypage

I'm working with CakePhp 4.3 and cakeDC Users plugin. Most of my users are new users so I prefer to set default non logged in users redirection to Register page and then they can signup (I will put a link to login page on top of register page for…
Gonzalo
  • 43
  • 6
0
votes
0 answers

How Can i create Custom logic before login with Social login with CakeDC/User plugin?

The problem is in my users table, we already have email of user existing in our DB, so we try to apply one more layer which include google SSO which allow user to log in if and only if that user have the same email in our DB. But it turn out every…
0
votes
1 answer

Saving an Association with CakeDC Users

I am using CakeDC Users and as part of the registration I would like the registrant to choose some checkbox values that correspond to another Model in the application. I am able to get the form to load the choices just fine, but I am unable to get…
joshv2
  • 80
  • 2
  • 11
0
votes
1 answer

API with wrong credentials redirects to html login form

I created a new application with CakePHP 4. For authentication I used CakeDC/users plugin. It’s working fine. I can login to application. I also added REST API following this instructions: REST - 4.x For authentication to API I use Token based and…
AtLeT
  • 74
  • 1
  • 9
0
votes
2 answers

cakedc/users autologin after registration

I'm using the cakephp 4.2.6 with the cakedc/users plugin. I'd like to automatically login the user after registration without the need to first activate the account by clicking on the link in e-mail. My idea is to creating an Event-Listener and…
eliane86
  • 13
  • 1
  • 6
0
votes
1 answer

Cakephp(CakeDC) Search Plugin custom filter methods

I am trying to use the cakephp search plugin and I am having problems using the query method to filter results. I created a function called findByLength() which is declared in the $filterArgs array. I'm not sure if the array i'm building out is…
Fostah
  • 2,947
  • 4
  • 56
  • 78
0
votes
1 answer

CakePHP Search plugin search in many fields

I'm using CakePHP search plugin http://cakedc.com/downloads/view/cakephp_search_plugin and want to make an arg to search multiple fields I have the array filterArgs as follows var $filterArgs = array( array('name' => 'search', 'type' =>…
Ahmed Elmorsy
  • 564
  • 3
  • 8
  • 18