I encountered an issue related to routing which I hope someone can
help me understand.
I have a controller called publishers and an action called search. In
this search view I have an ajax form which upon change to the form
select, calls an action to get the options for a second form select.
When
I figured it out finally. To solve the problem, I use the $html-url
helper.
In this case it will be
url: ?php echo $html-url('/publishers/update_city_select'); ?
Perhaps this might help someone else with the same problem.
cheers,
Steve
--~--~-~--~~~---~--~~
the result I was looking for.
On Jul 20, 9:46 pm, stevel isig...@gmail.com wrote:
Been trying to make sense of HABTM relationship. Hope someone could
help throw some light on this.
I have the following models defined:
class TblCategory extends AppModel {
var $name = 'TblCategory
Been trying to make sense of HABTM relationship. Hope someone could
help throw some light on this.
I have the following models defined:
class TblCategory extends AppModel {
var $name = 'TblCategory';
var $hasAndBelongsToMany = array('TblDetail'=array(
Alfredo,
I'm using ACL/Auth and I do not seem to have this problem. After the
session timed out, when I tried to access any restricted places, I was
redirected to the login page. Don't know if my using ACL has anything
to do with it.
BTW how do you tell if your session has expired? In my case,
I'm not an expert in this. This is my understanding. How the 4 action
settings are used depends on the type of authorization mode you are
using. If you select the CRUD mode Auth-authorize = 'crud', then the
full functionality of the aros_acos table will be utilized, so that
access will be granted
Can someone please help figure what is wrong with my route? I have
been trying for hours and yet could not figure out what the mistake
is. I have the following route defined:
Router::connect('/press_releases/:year/:month/:day/:slug',
array('controller'='presses','action' = 'view'),
' = '0[1-9]|1[012]',
'day' = '0[1-9]|[12][0-9]|3[01]',
'pass' = array('year', 'month', 'day', 'slug')
)
);
function view($year = null, $month = null, $day = null, $slug = null)
{
...
On Tue, Feb 17, 2009 at 5:16 AM, stevel isig...@gmail.com wrote:
Can
Not quite sure what you were trying to do. How are you creating a new
user? Using the Add function in the User controller? If you are, then
the password will automatically be hashed by the ACL/Auth before it is
saved to the database.
On Feb 16, 1:36 pm, toby1kenobi toby.math...@gmail.com
Martin,
I tend to agree with you that the rss folder is basically to have two
views of the same name but different types.
Like you said, since I'm only catering one view with the rss_feed
action, it isn't all that important to have it in the rss folder.
However if I move the view file one level
10 matches
Mail list logo