# |
Aug 7th 2008, 23:03 |
markstory |
are you doing findBySlug? |
# |
Aug 7th 2008, 23:03 |
freebox |
the url looks good, the slug field is filled |
# |
Aug 7th 2008, 23:03 |
t73net |
yeah I looked at it before |
# |
Aug 7th 2008, 23:03 |
freebox |
in my view i have: <?php echo $html->link($piada['Piada']['titulo'], array('action'=>'view', $piada['Piada']['slug'])); ?> |
# |
Aug 7th 2008, 23:03 |
t73net |
I don't know much about the sluggable behaviour, sorry |
# |
Aug 7th 2008, 23:02 |
freebox |
i'm following the "tutorial" http://bakery.cakephp.org/articles/view/slug-behavior |
# |
Aug 7th 2008, 23:02 |
t73net |
hrrm |
# |
Aug 7th 2008, 23:02 |
freebox |
no |
# |
Aug 7th 2008, 23:02 |
t73net |
so it's an app wide var then ? |
# |
Aug 7th 2008, 23:02 |
freebox |
=) |
# |
Aug 7th 2008, 23:02 |
t73net |
Ahh ok |
# |
Aug 7th 2008, 23:01 |
freebox |
sluggable behavior |
# |
Aug 7th 2008, 23:01 |
t73net |
) |
# |
Aug 7th 2008, 23:01 |
t73net |
freebox what does $slug == to ? |
# |
Aug 7th 2008, 23:00 |
freebox |
what can be wrong? |
# |
Aug 7th 2008, 23:00 |
freebox |
when i try to access domain.com/piadas/view/the-slug |
# |
Aug 7th 2008, 23:00 |
t73net |
i18n is internationalization |
# |
Aug 7th 2008, 23:00 |
freebox |
my app alway enter in this if: if (!$slug) { |
# |
Aug 7th 2008, 23:00 |
camilleb |
can i use p28n and i28n at the same time ? |
# |
Aug 7th 2008, 23:00 |
t73net |
I got that all screwed around |
# |
Aug 7th 2008, 23:00 |
t73net |
l10n is localization |
# |
Aug 7th 2008, 23:00 |
freebox |
lol :/ |
# |
Aug 7th 2008, 22:59 |
camilleb |
thanks :p |
# |
Aug 7th 2008, 22:59 |
t73net |
or i10n |
# |
Aug 7th 2008, 22:59 |
t73net |
internationalization == i 10 letters n |
# |
Aug 7th 2008, 22:59 |
camilleb |
ok |
# |
Aug 7th 2008, 22:59 |
t73net |
p 28 letters n |
# |
Aug 7th 2008, 22:59 |
t73net |
persistent-internationalization |
# |
Aug 7th 2008, 22:59 |
camilleb |
ok |
# |
Aug 7th 2008, 22:58 |
t73net |
i10n is more geared towards view related translation, static characters, like form labels and such |
# |
Aug 7th 2008, 22:58 |
camilleb |
why the p28n name instead of i28n ? |
# |
Aug 7th 2008, 22:58 |
camilleb |
ok |
# |
Aug 7th 2008, 22:58 |
t73net |
like Blog entries or some such |
# |
Aug 7th 2008, 22:58 |
t73net |
l18n is for data that needs translated in a DB |
# |
Aug 7th 2008, 22:57 |
t73net |
ok |
# |
Aug 7th 2008, 22:57 |
camilleb |
ok, i'm going to see that way |
# |
Aug 7th 2008, 22:57 |
camilleb |
oh i see it ! |
# |
Aug 7th 2008, 22:57 |
Jonah |
BTW not having the 'required' => true was my security hole |
# |
Aug 7th 2008, 22:57 |
t73net |
that's i10n |
# |
Aug 7th 2008, 22:57 |
camilleb |
no, i don't think we have to create that database, cause we use some files in the locale directory |
# |
Aug 7th 2008, 22:57 |
markstory |
camilleb: I think translate behavior expects i18n table by default. |