I have 2 subdomain for my sites:
-mysite.mydomain.com <- cakePHP
-myforum.mydomain.com <- open source forum
I want to make it forum URL like this:
mysite.mydomain.com/forum
so basically my cliant want to llok like form is under mysite.
I tried to use .htaccess to make URL look like "mysi
i take a look come to http://www.stinto.net/jk9hn
> its a private chat. Then i help you there :)
>
> On 28 Jul., 02:32, leafchild book wrote:
> > "Configure::write('Config.language', 'ja');" is NOT working.
> >
> > Yes I have "default.po&
ith the html cache plugin;
> http://bakery.cakephp.org/articles/mattc/2009/03/20/html-cache-helper
> >
> > > > It will really speed it up, just be careful and remember to clean
> cache
> > > > after updates.
> >
> > > >
I notice loading page is extremely slow.
Those pages are not connected to DB. Just simple static page.
How can I make it faster to load these pages?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.o
;ja');
>
> You can take a look on cake/libs/l10n.php
>
> Did you create app/local/jpn/LC_MESSAGES/default.po ?
>
> On 28 Jul., 02:14, leafchild book wrote:
> > .
> >
> > I set .po file for "en" and "jpn"
> >
> > I
On Wed, Jul 27, 2011 at 5:14 PM, leafchild book wrote:
> .
>
> I set .po file for "en" and "jpn"
>
> I set default language to Japanese:
> app/config/core.php:
> Configure::write('Config.language', 'jpn');
>
> but when
gloop wrote:
> When you have diffrent count pages you must set diffrent routes (for
> en / jp).
>
> And set diffrent views for these pages.
>
> On 27 Jul., 23:27, leafchild book wrote:
> > Also I wander,,, how other people doing for this kind of site,,,
> >
> > #1)
&g
) submit button
On Wed, Jul 27, 2011 at 2:23 PM, gloop wrote:
> I use .po files
>
> kind regards
>
> On 27 Jul., 23:10, leafchild wrote:
> > Thanks gloop for the response.
> >
> > Did you use .pot file or DB??
> >
> >
) submit button
On Wed, Jul 27, 2011 at 2:10 PM, leafchild wrote:
> Thanks gloop for the response.
>
> Did you use .pot file or DB??
>
> lc
>
> On Jul 27, 1:32 pm, gloop wrote:
> > Hello leafchild,
> >
> > same problem for 1 day :-D
> &g
Thanks gloop for the response.
Did you use .pot file or DB??
lc
On Jul 27, 1:32 pm, gloop wrote:
> Hello leafchild,
>
> same problem for 1 day :-D
>
> routes.php
>
> Router::connect(
> '/:lang/:controller/:action/*',
> array(
I want to have 2 languages site (en/jp) and JP is default language.
I look at multi-language pages but still confusing,,,
ex)
http://book.cakephp.org/view/1228/Internationalization-Localization
http://book.cakephp.org/view/1328/Translate
and url will be:
JP : mydomain.com/whatever
EN: mydomain.
nually load it:
> $this->Contact = ClassRegistry::init('Contact')
>
> but I would suggest you try to find the source for this problem.
> maybe the file name of your model is incorrect? or the location
> somewhere cake can
Getting these error and I can not find a away to fix:
--
--
Notice (8): Undefined property: ContactsController::$Contact [APP/
controllers/contacts_controller.php,
I have Auth system, and In my user model, I have a validation
soemething like this:
==
var $validate = array(
...
'password' => array(
'sameCheck' => array(
'rule' => array('sameCheck',
I have to use a value $myvalue for 90% of pages at my site.
50% pages has same value (10% of page actually I don't need this value
but since this value is set to layout I have to do something to avoid
showing error ) so I want to set $this->set('myvalue', default) as
default value
but I don't want
en delete the other 2 .htaccess
>
>
> On 28 Sep., 03:55, leafchild wrote:
> > I set webroot to app/webroot
> > Also I edited .htaccess file to redirect user to domain without www
> > url, if a user access the site withwww.mydomain, user is redirected
> > to
> >
I set webroot to app/webroot
Also I edited .htaccess file to redirect user to domain without www
url, if a user access the site with www.mydomain, user is redirected
to
mydomain.com.
Not sure which .htaccess file I edited but before I set webroot to app/
webroot, redirecting www.mydomain to mydom
thanks!
used jquery and working fine!
On Fri, Sep 10, 2010 at 12:27 PM, cricket wrote:
> On Fri, Sep 10, 2010 at 3:04 PM, leafchild
> wrote:
> > Trying to set up JavaScript for copying shipping information to
> > billing address but it's not
Trying to set up JavaScript for copying shipping information to
billing address but it's not going well with CakePHP
==