All Questions

RSS

4 answers

0 votes

Asked by stdcinout, on 24/3/10 in Components

how to create simple admin panel in cakephp

hello guys i have been trying to create a simple admin panel without acl

just auth and cake admin router..

been trying to google and find the solution however none really supports what i want

something like /login and admin/products/add for basic...

1 answer

0 votes

Asked by kani, on 25/12/09 in Models

hide/show links for different types of user group

i want to show different links for each logged in user any way.


link1          \
                \
link2 \          \
       \          \
link3   * manager  \
       /            * admin
link4 /            /
                  /
link5 \         ...

1 answer

0 votes

Asked by remotb, on 13/1/10 in Models

Can I use sqlite views as tables in cakePHP?

hi

i created a UNION view in my database, which i intended to use in my cakephp project, but it seems that it cannot be recognize as a table, meaning that I cant call it from controller like any other table.

Does cakePHP support SQL views(NOT cake...

1 answer

-2 votes

Asked by raheel, on 7/12/09 in Helpers

Country / State drop down

How do i deal with dependent combo boxes in the views with the form helper. For example:

Country Select Box (Choosing a country shall filter out the states of the selected country)

States Select Box

This should happen with the help of Javascript /...

1 answer

0 votes

Asked by plokiju, on 10/1/10 in Models

Using Google Calendar/Docs as a data source?

Is it possible to use Google Calendar as a data source? I'm not sure how this would work: either the model connects to GC instead of the database, or a plugin or something abstracts the needed behavior?

Similarly, is it possible to use Google...

1 answer

2 votes

Asked by Shard, on 7/12/09 in Models

User and Friends Relationship

Im trying to work out how to best setup a friends relation for each user to have and belong to many friends and there will be system to send a friend request and for the other user to accept or deny.

I have looked around for an article talking...

2 answers

2 votes

Asked by mmhan.blogspot.com, on 4/12/09 in Controllers

Ajax Request

How do I know if a request was made from ajax or it was a normal web request?

I just wanted to block off the view, if it wasn't an ajax request.

2 answers

1 vote

Asked by gishdog, on 2/12/09 in Helpers

Option for Current Link In Pagination Helper

I'm using the PaginationHelper and in my view I need to set the class for the current page's link to "current number" and I also need to get rid of the | characters before and after the pages.

I can set the overall class but not the current page...

1 answer

0 votes

Asked by JakubLedl, on 5/12/09 in Views

Validation summary

Hi guys,

I know that if I use $form-input(), the validation errors will be shown automatically. This is really neato, but at this moment, I need a different behavior. I want those validation errors shown like a validation summary on top of the...

2 answers

0 votes

Asked by andrea, on 2/2/10 in Views

Getting layout variables in the view

I'm lazy and I want to save a line of code. :-) Plus, I don't want to repeat myself, and I'm just curious.

I have a heading which is the same as the page title. Is there a way to read the variable $title_for_layout from the view?

EDIT: I have found...

3   4   5   6   7   8   9   10   11

How does CakePHP Questions work?

CakePHP Questions is easy to use: Register and login or directly login using OpenID and just ask your question!

After you ask your question you just need to wait until you have got some answers and pick the correct answer.

Other users might help you by finding the right answer by voting and giving comments.