Still curious about this - using custom tags in 1.2 - is it possible,
and what format is it looking for? It looks like tags.php with a $tags
array merging with the $tags in HTML helper. Is this correct? Does it
load by default and check for custom tags?
On Feb 22, 4:19 pm, "nateklaiber&quo
Just a 'second thanks' as LSL said. I was looking for this same
solution (seems others are too, in other threads) - and this seems to
be the best solution/placement to get the desired effect. Seems simple
now that I look at it.
On Mar 19, 3:30 am, "GMail" <[EMAIL PROTECTED]> wrote:
> I made a lit
x27;login' => 'root',
> > 'password' => 'pass',
> > 'database' => 'my_other_db'
> > );
>
> > // models/first.php:
en
two databases.
I hope I am incorrect - as I would love to find a solution for this.
On Mar 15, 6:58 pm, "Grant Cox" <[EMAIL PROTECTED]> wrote:
> Just to clarify, what nateklaiber says is incorrect - you can
> definitely have multiple databases used in the same application, all
>
If you are looking to actually use both databases, I don't think this
is possible with cake. The options others are giving you are to switch
between development/production/etc databases. Are you looking to use 2
together throughout the application, or just switch between two?
I had an issue where
I should mention that it was actually $this->renderElement('shows',
array('layoutShows' => $layoutShows) (this was a mistake in my
previous post).
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To
I have a project I am working on where I have several static pages
that use the default layout. This is not an issue. However, I have the
default layout broken into several elements. Some of these elements
require getting data from a database.
I checked other threads here, as well as cakephp.org,
Cake 1.2 has a new email component, I believe that is what he is
referring to.
On Mar 2, 10:44 am, "bernardo" <[EMAIL PROTECTED]> wrote:
> What component?
> The one that uses the phpmailer library handles encoding of the
> headers fine.
> Also note that by calling utf8_decode you are converting
I am now having the same issue in 1.2 trying to create custom tags.
The previous loadConfig file used to parse an ini file. Now, it looks
to be including a tags.php file. Is it now looking for a tags array or
still an ini format?
Also, does it need to be manually loaded in custom helpers?
On Fe
In 1.1 you were required to call exit() after your redirect. This was
not a problem, but looking at the API for 1.2 - you can specify the
exit call within the function:
function redirect($url, $status = null, $exit = false)
I also like that you can specify a status code as well. However, I
have
Nevermind, I figured it out. I just edited the $app to point to '/
home/domains/www.domain.com' and it worked.
On Feb 16, 3:03 pm, "nateklaiber" <[EMAIL PROTECTED]> wrote:
> My setup is a little different from the default setup for cake (1.2
> nightly).
>
&g
My setup is a little different from the default setup for cake (1.2
nightly).
I have the core cake library shared among several other domains. The
structure looks like:
/home/core/cake
/home/domains/www.domain1.com/webroot
/home/domains/www.domain2.com/webroot
The core holds files/aliases I nee
Definitely us an Element. I recently did a project and had the same
thing. Several shared navigation elements that I needed in all of my
layouts. I created a default layout - and then used renderElement to
render them in the layouts/views.
I think this is exactly what you are looking for.
Email
Textmate for the editor and Transmit for the FTP client (OS X). It's a
great combination, and very flexible with code bundles.
On Feb 12, 9:59 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> phpeclipse
>
> On Feb 12, 1:41 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > Top stuff. T
I believe its been moved to the helper class - but you can still
specify custom tags with a tags.ini.php file. I just did this last
week with cake 1.2.
On Feb 10, 10:15 pm, "NeilKelty" <[EMAIL PROTECTED]> wrote:
> I cannot find this file in the builds/nor my current installation -
> I've plowed t
I think it is clear. Validation rules are setup in the model. BUT -
what if he was making a contact form that never wrote to the database
(or even used a model) - but still needed to be validated before the
email was sent?
I think that is what he is saying - being able to have validation
rules ou
16 matches
Mail list logo