# |
Jan 29th 2014, 16:11 |
themojowill |
;) |
# |
Jan 29th 2014, 16:11 |
themojowill |
Use the security component |
# |
Jan 29th 2014, 16:11 |
themojowill |
execv, he did give you a tip |
# |
Jan 29th 2014, 16:07 |
execv |
so, you don't want to give me any tips? |
# |
Jan 29th 2014, 16:05 |
Neon1024 |
But nevermind |
# |
Jan 29th 2014, 16:05 |
Neon1024 |
I also know that the security component has a specific switch for forcing https |
# |
Jan 29th 2014, 16:04 |
Neon1024 |
I don't read |
# |
Jan 29th 2014, 16:04 |
Neon1024 |
Nope |
# |
Jan 29th 2014, 16:04 |
execv |
apparently you didn't read the last sentence or look at the code :P |
# |
Jan 29th 2014, 16:04 |
Neon1024 |
execv: Use the security component |
# |
Jan 29th 2014, 16:03 |
execv |
I'd like to use a variable to determine whether or not to force an entire site through https or not (ie: I want it to always be forced on the production server but not forced on the test/local server). Here's what I've got: http://pastebin.com/FFcubzn8 - but I get a 404 error when trying to visit visit certain actions (because of the security component) |
# |
Jan 29th 2014, 15:52 |
CaptainQuirk |
it appears in the iso document linked in the book |
# |
Jan 29th 2014, 15:50 |
CaptainQuirk |
Is the language code « fre » invalid ? |
# |
Jan 29th 2014, 15:50 |
CaptainQuirk |
The plugin does |
# |
Jan 29th 2014, 15:50 |
CaptainQuirk |
I'm not calling the __d() function |
# |
Jan 29th 2014, 15:37 |
dereuromark |
__() vs __d() |
# |
Jan 29th 2014, 15:37 |
dereuromark |
then correct it :) |
# |
Jan 29th 2014, 15:36 |
CaptainQuirk |
that's why it doesn't work |
# |
Jan 29th 2014, 15:36 |
CaptainQuirk |
The thing is, the locale subdirectory is named fre instead of fra |
# |
Jan 29th 2014, 15:32 |
CaptainQuirk |
dereuromark, how can I check that it does ? |
# |
Jan 29th 2014, 15:31 |
dereuromark |
CaptainQuirk: ideally plugins should be using their own domain |
# |
Jan 29th 2014, 15:30 |
CaptainQuirk |
is there a way I can override this in my application's po file ? |
# |
Jan 29th 2014, 15:30 |
CaptainQuirk |
I'm using a third party plugin that is localized to my language but I don't like the translations |
# |
Jan 29th 2014, 15:29 |
CaptainQuirk |
Hi there |
# |
Jan 29th 2014, 15:21 |
dereuromark |
insteaf of value you pass down the whole article array and can then use it there via the syntax above |
# |
Jan 29th 2014, 15:20 |
dereuromark |
!tell vikky about book |
# |
Jan 29th 2014, 15:20 |
dereuromark |
http://book.cakephp.org/2.0/en/core-utility-libraries/email.html#sending-templated-emails |
# |
Jan 29th 2014, 15:18 |
vikky |
can i have some info about viewVars .Plz provide me with the link if u have |
# |
Jan 29th 2014, 15:15 |
dereuromark |
and this is even an email, so especially there you should use viewVars to pass down data |
# |
Jan 29th 2014, 15:14 |
dereuromark |
after the post usually you make a PRG redirect to the record url (as GET) |
# |
Jan 29th 2014, 15:13 |
dereuromark |
why not $account[Acccount] |
# |
Jan 29th 2014, 15:13 |
dereuromark |
why $this->request->data['Account'] |
# |
Jan 29th 2014, 15:11 |
vikky |
dereuromark: didnt' get u.....:( |
# |
Jan 29th 2014, 15:10 |
vikky |
U can have a look at this my github url https://github.com/vixy410/lsm/blob/master/View/Emails/html/new_lead.ctp |
# |
Jan 29th 2014, 15:09 |
vikky |
the main thing is that i am not able to fetch data from other tables |
# |
Jan 29th 2014, 15:08 |
vikky |
mine-me: line 17 is also like this |
# |
Jan 29th 2014, 15:07 |
vikky |
deruromark: i made a seperate template in view/Mails/html/view.ctp |
# |
Jan 29th 2014, 15:05 |
mini-me |
me |
# |
Jan 29th 2014, 15:05 |
mini-me |
looks like a typo to met |
# |
Jan 29th 2014, 15:05 |
mini-me |
all other lines are echo __(), line 12 is h($this->request->data) |
# |
Jan 29th 2014, 15:04 |
dereuromark |
vikky: that doesnt look good to me. if that is a view, why not using the record instead of using the request object data |