Notice (8): Undefined variable: xml
[APP/View/StandardIndustrialClassificationCodes/xml/index.ctp, line 6]
Code Context
serialize($standard_industrial_classification_codes); ?>
$___viewFn =
"/var/www/cake_2_0/app/View/StandardIndustrialClassificationCodes/xml/index.ctp"
$___data
I wouldn't use flash ( I just can't ignore iOS ) , but I would use this one
http://valums.com/ajax-upload/
On Tue, Nov 8, 2011 at 9:25 PM, Greg Skerman wrote:
> to upload multiple files, there is a flash gadget which can be used called
> SWFUpload
>
> here is a demo showing a classic multi-sel
Oh, Here's the script that I want to input the content into:
http://www.sec.gov/info/edgar/siccodes.htm
*/
$sic_codes = file_get_contents('./sic_codes.txt');
$sic_lines = explode("\n", $sic_codes);
$sic = array();
foreach ($sic_lines as $cnt => $sic_code) {
$tmp = trim($sic_code);
$tmp
to upload multiple files, there is a flash gadget which can be used called
SWFUpload
here is a demo showing a classic multi-select file browser:
http://demo.swfupload.org/v220/formsdemo/index.php
Its not a complete media plugin, you'll need to either write a back end or
massage an existing back
thank you Justin Edwards
for your help I have already programmed a php project with pure javascript
and have the same problem two lists that are linked together in php and
javascript and ajax, but when I faced the same problem again I 'I could not
how.
I'm looking for a tutorial that can help me
You will really want to learn javascript. It should only be a day of
learning to get through this free course.
http://www.w3schools.com/js/default.asp
You can do tests with javascript libraries (including with ajax) here
http://fiddle.jshell.net/ You can see what goes on and easily test there.
On Wed, Nov 9, 2011 at 8:54 AM, kika wrote:
> Hello everyone!
>
> at the beginning I posted my question before but none could give me
> the answer
> my problem had the choice lists:
> I want to make two lists of choices that are related:
> when I change the option from the first the second will a
Hello everyone!
at the beginning I posted my question before but none could give me
the answer
my problem had the choice lists:
I want to make two lists of choices that are related:
when I change the option from the first the second will automatically
change with ajax in cakephp.
so far I have not
> Hello everyone!
>
> at the beginning I posted my question before but none could give me the
> answer
> my problem had the choice lists:
> I want to make two lists of choices that are related:
> when I change the option from the first the second will automatically
> change with ajax in cakephp.
It doesn't appear that it's working yet. I've followed the Cookbook
verbatim and I'm receiving the same error as the OP.
On Oct 29, 5:46 am, fly2279 wrote:
> The cookbook has been updated to include the actionPath in theAuth
> initialization. All works well now.
>
> On Oct 28, 9:10 am, fly2279 w
I have been using the media plugin for quite some time on multiple
sites. I absolutely love it and it has always worked well for any
application I might need it on. However I have run into a situation
and would like to use this plugin, but cannot seem to find any
resources concerning this. I did fi
> Has anybody seen any good tutorials for group based permission under
> ACL with cakephp 2.0? I have been trying to get my code to work, but I
> appear to be doing something wrong.
http://book.cakephp.org/2.0/en/tutorials-and-examples/simple-acl-controlled-application/simple-acl-controlled-applic
Hello everyone!
at the beginning I posted my question before but none could give me the
answer
my problem had the choice lists:
I want to make two lists of choices that are related:
when I change the option from the first the second will automatically
change with ajax in cakephp.
so far I have not
But... the only thing that I did was remove pagination and tried to add a
bunch of buttons. Should I include more files?
app\
controllers\
providers_controller.php [ http://bin.cakephp.org/view/1461038734 ]
models\
provider.php [ http://bin.cakephp.org/view/39326804 ]
views\
pro
On 8 Nov 2011, at 18:16, "Yves S. Garret" wrote:
> That large button is the original search button created by this:
> echo $this->Form->submit('Search');
>
> It used to be quite small, green with black text in the middle stating just
> "Search".
Looks like your submit button has picked up some
That large button is the original search button created by this:
echo $this->Form->submit('Search');
It used to be quite small, green with black text in the middle stating just
"Search".
On Tue, Nov 8, 2011 at 1:12 PM, Jeremy Burns | Class Outfit <
jeremybu...@classoutfit.com> wrote:
> See my re
See my response re links. You can style the links to look like buttons.
What is that huge button across the screen?
Jeremy Burns
Class Outfit
http://www.classoutfit.com
On 8 Nov 2011, at 18:09, Yves S. Garret wrote:
> I'm going to better illustrate this issue by just posting a pic of what I
>
What we are trying to show you is that you don't need to go to the overhead of
using loads of forms; simple links will work. They also have the advantage that
you can distribute the link.
echo $this->Html->link(
'A',
array(
'controller' => 'widgets',
I'm going to better illustrate this issue by just posting a pic of what I
have.
http://i1194.photobucket.com/albums/aa375/ysg444/print_out.png
The text-box contains the word Smith in it... buried...
On Tue, Nov 8, 2011 at 11:24 AM, Jeremy Burns | Class Outfit <
jeremybu...@classoutfit.com> wrote
what was the solution
On 8 Nov., 11:30, Mamdoohi wrote:
> thanks AD7 for your answer.
> cake controllers loads correctly and everythings is ok.
> my css files exists and when write /app/webroot/css/style.css in address
> bar, it showing css.
> but when write /css/style.css .cake send missing cont
i guess that makes me a pioneer then :)
cause none of it worked i abandoned the contain solution here and used
the fields param instead. works perfectly. no idea why it came to me
sooo damn late
thanks for your help guys :)
On 8 Nov., 09:32, WebbedIT wrote:
> @Tomfox: I've not seen people
I'm not following. $letters has just the names of the buttons and their
identification (can't really word this any better, basically the idea is
that once I click on a link/button, the identity of that button gets passed
to the controller and it does something specific for it).
It would seem $wid
does this helped you Serkan?
2011/11/7 Jeremy Burns | Class Outfit
> What if you try $this->Auth->login -- small 'l' in login?
>
> Jeremy Burns
> Class Outfit
>
> http://www.classoutfit.com
>
> On 7 Nov 2011, at 18:55, Serkan Sipahi wrote:
>
>
> hi again,
>
> the password is hashed in the databa
Has anybody seen any good tutorials for group based permission under
ACL with cakephp 2.0? I have been trying to get my code to work, but I
appear to be doing something wrong.
I have renamed Users -> Accounts and don't have "id" as my primary key
but rather "acct_id" which might be throwing it off
Have a controller action, something like:
function filter($letter) {
$widgets = $this->Widget->find(
'all',
array(
'conditions' => array(
substr('Widget.name', 0, 1) => $letter
)
Yup - totally agree - was just trying to keep it in context and demonstrate a
point to the OP.
Jeremy Burns
Class Outfit
http://www.classoutfit.com
On 8 Nov 2011, at 15:43, Mike Karthauser wrote:
>
> On 8 Nov 2011, at 15:28, Jeremy Burns | Class Outfit wrote:
>
>> Ought to be a class
>>
What do you mean? wrote:
> Hi there,
>
> Before someone tells you how to do what you want, let me ask you: Why
> don't you use a simple link instead of a form-button? That would make
> less markup and more sense to me. And with a certain amount of css you
> could easily make the link look like a
To get back to your point, it's as if CSS is only partially loading. I
know, that sounds weird. I turned on Google Developer Tools in Chrome and
it seems to be loading. I just don't understand why the originally green
search button is now the regular button... and very wide...
On Tue, Nov 8,
Hi there,
Before someone tells you how to do what you want, let me ask you: Why
don't you use a simple link instead of a form-button? That would make
less markup and more sense to me. And with a certain amount of css you
could easily make the link look like a button just to please your
executives
Before I even go on, here is what I have:
View:
http://bin.cakephp.org/view/404159005
Controller:
http://bin.cakephp.org/view/21698870
The idea that I'm trying to do is have a row of buttons spanning the
alphabet. The user clicks on the button and then it lists all of the
people with their last
Done.
Thanks for your help on centering, didn't know that I was going about the
wrong way.
On Tue, Nov 8, 2011 at 10:28 AM, Jeremy Burns | Class Outfit <
jeremybu...@classoutfit.com> wrote:
> Ought to be a class
>
>
> The css class is:
> div.center { text-align: center;} (which Is what I gu
On 8 Nov 2011, at 15:28, Jeremy Burns | Class Outfit wrote:
> Ought to be a class
>
>
> The css class is:
> div.center { text-align: center;} (which Is what I guess you are trying to
> do?)
bad form calling a class .center. Classes are supposed to describe the element
in some way.
wha
I just saw an awesome idea in github:
https://github.com/Hyra/PHPUnit-Cake2
If I was him I would make a it a os independent cake2 shell though..
"cake PhpUnit install" (or even upgrade one day)
would be a self installing shell then.
On 25 Okt., 18:45, andrewperk wrote:
> Thanks everyone.
>
> M
I would expect an "AppModel.php file exitst in \Model do you want to
overwrite" prompt for every file in skeleton that is being copied or a
message that the app directory you're trying to use already contains
folders so no files will be copied from skeleton, or something in the
docs saying that it
Ought to be a class
The css class is:
div.center { text-align: center;} (which Is what I guess you are trying to do?)
Jeremy Burns
Class Outfit
http://www.classoutfit.com
On 8 Nov 2011, at 15:05, Yves S. Garret wrote:
> Thanks for the tip about the center tag. I've removed it. I put a
On Nov 8, 3:36 pm, John wrote:
> > in what way is suggesting "myapp" - a string you can (and should)
> > change, and is unlikely to conflict with any existing applications
> > you've got - strange?
> > > while it should be just \app according to the doc suggestions:
>
> Strange (to me) as I wou
Thanks for the tip about the center tag. I've removed it. I put a where the center tag was.
This is my CSS file:
http://bin.cakephp.org/view/803687574
The relevant lines are from 306 to 336 and 407 to 425.
On Tue, Nov 8, 2011 at 3:19 AM, WebbedIT wrote:
> This is not a CakePHP query, it's a
On Nov 8, 1:08 pm, shmeg wrote:
> Can anyone tell my why this works:
>
> if($facebook_user)
> echo $this->Facebook->logout();
> else
> echo $this->Facebook->login();
> ?>
>
>
>
> but this produces the an error (Parse error: syntax error, unexpected
> T_ELSE in /home/worldtri/p
Because in the second example you have two commands, so when it gets to the
else it has lost track with the if.
This is ok:
if (something)
do this;
This is ok:
if (something)
do this;
else
do that;
This is how you nest more than one command:
if (something) {
do
you should never use if/else without {}
the first one works because php accepts if/else without {} for one
line statements
but as I said, its really ugly and bad practice.
On 8 Nov., 13:08, shmeg wrote:
> Can anyone tell my why this works:
>
> if($facebook_user)
> echo $this->Facebook-
> in what way is suggesting "myapp" - a string you can (and should)
> change, and is unlikely to conflict with any existing applications
> you've got - strange?
> > while it should be just \app according to the doc suggestions:
Strange (to me) as I would expect /app folder to be suggested for a
Nope.
On Mon, Nov 7, 2011 at 5:28 PM, zuha wrote:
> does it make any difference if you use echo $this->Form->end('Search');
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> ot
Can anyone tell my why this works:
Facebook->logout();
else
echo $this->Facebook->login();
?>
but this produces the an error (Parse error: syntax error, unexpected
T_ELSE in /home/worldtri/public_html/testapp/views/pages/home.ctp on
line 8)
Facebook->logout();
echo debug($fa
Hello!
It seems like the version of ISAPI_Rewrite you are using is old. This
problem should not appear in new version of ISAPI_Rewrite 3. Your code
should work with no modifications.
Please try to upgrade your ISAPI_Rewrite installation.
On Nov 8, 3:58 am, Matt Murphy wrote:
> I think you're l
indeed, pretty cocky :)
nothing against making some profit using software made with cake.
but this is not a place to put advertising and THEN profit from it.
pretty soon everybody puts some ads in here. and it ain't gonna be no
help forum anymore..
On 8 Nov., 05:52, "Larry E. Masters" wrote:
>
Hi!
I didn't make any changes to the routing-configuration - it's a pretty
basic app with 3 controllers and mainly scaffolding (newly baked from
2.0.2).
I didn't even try to access a controller, since the default page
(which should render /pages/home) already threw the error ;-). But I
just tried
Is there any plugin for podcast in cakephp?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
you should always navigate to your app - or at least - its parent
folder (for a new app) before executing the cake console:
http://www.dereuromark.de/2011/10/31/freshly-baked-cake2-0-tips/
On 8 Nov., 08:49, Andras Kende wrote:
> Try cake bake from inside the app folder...
>
> cd /richardfiles/pr
Jeremy, sorry but the Session->check no found it in the 'if else', i
mean i use for read the user active that is all.
i dont now why you say "rash of peaple doing it wrong"??? or what
said webbedit !!! have i take it as sarcasm???..
I'm reading a lot of cake and I'm no expert .. but I'm getti
Hi,
I would like to send a newsletter with a link like "domain.com/n/
12345"
I added a route like Router::connect('/n/*', array('controller' =>
'newsletter', 'action' => 'index')); where I count the click.
Now I want to redirect the user to the homepage together with a new
parameter passed, as I
thanks AD7 for your answer.
cake controllers loads correctly and everythings is ok.
my css files exists and when write /app/webroot/css/style.css in address
bar, it showing css.
but when write /css/style.css .cake send missing controller.
--
Our newest site for the community: CakePHP Video Tutor
Thanks for the effort, i solved this way:
- in both articles/add and pieces/add users can enter just code and
description, no related model data
- after a successfull add() both Article and Piece models add every
possible combination between them and the other model. The app then
redirects dir
Is it possible to get controllers name and action to javascript
without passing as variable in cake PHP
Like in cake controllers : $this->params will get for controllers name
etc..
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Qu
On Nov 8, 6:55 am, Mamdoohi wrote:
> the css() method from html class work not correctly and when I use this
> method for my subdomain it cant load css file correctly
Have a talk to this guy:
http://groups.google.com/group/cake-php/browse_thread/thread/570451b0cc1b1b3e#
AD
--
Our newest sit
On Nov 6, 4:17 am, John wrote:
> Let's take an empty folder, hereafter as... (!) and extract a
> fresh cake 2.0 download.
>
> That leaves you with files in \app, \lib etc.
>
> Run "cake bake project" inside . Cake understands your app
> name as and path as .
>
> Then strangely it offers \myapp
> How can i load an article, with ALL the pieces, even if they haven't a >
> relationship, using Cake's find function?
You can't do this with one find query, this is not a limitation of
CakePHP you simply can't do one database call that will find one
article and all pieces related or not.
> This
Lately there seems to be a rash of people doing it wrong, ignoring good advice
and then continuing to have problems (aka "Cake is buggy/rubbish").
Jeremy Burns
Class Outfit
http://www.classoutfit.com
On 8 Nov 2011, at 08:39, WebbedIT wrote:
>> Jeremy. thank for you answer.. (but I am going to
> Jeremy. thank for you answer.. (but I am going to ignore it)
You've got to laugh, Paul
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
Call the join model/table whatever you want and create associations
like:
Freelancer hasMany CompanyFreelancer
Company hasMany CompanyFreelancer
CompanyFreelancer belongsTo Freelancer
CompanyFreelancer belongsTo Company
HTH, Paul.
On Nov 7, 4:29 pm, Justin Edwards wrote:
> I meant a freelancer
@Tomfox: I've not seen people specify conditions and order params in
that way before. It should be:
$this->Link->find('all', array(
'conditions'=>array('Link.created'=>$lastLink, 'Link.fk_user_id'=>
$id),
'order'=>array('Link.created DESC'),
'limit'=>2,
'contain'=>array('Icon')
));
Do yo
This is not a CakePHP query, it's a simple HTML/CSS query, unless Cake
is failing to load your CSS all together, in which case I would expect
your thread to say so.
Would be nice to see the line(s) in your CSS that style the submit
button.
Are you running FireBug (or Developer Tools in Chrome), i
61 matches
Mail list logo