Re: how to execute this query with cakephp
Is there another way? On Jan 18, 4:46 am, Jon Bennett wrote: > > how to execute this query with cakephp : > > > update table_name set hit = hit+1 > > $this->Table->query('update table set hit = hit+1); > > j > > -- > jon bennett -www.jben.net- blog.jben.net Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: how to execute this query with cakephp
> how to execute this query with cakephp : > > update table_name set hit = hit+1 $this->Table->query('update table set hit = hit+1); j -- jon bennett - www.jben.net - blog.jben.net Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
how to execute this query with cakephp
how to execute this query with cakephp : update table_name set hit = hit+1 Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: CakePHP 1.3-beta has landed
> The CakePHP development team is happy to announce the release the > CakePHP 1.3-beta. We've been hard at work implementing new features > and fixing issues in existing features in the 1.3 branch. Since 1.3- > alpha there have been more than 600 commits and more than 43 tickets > have been closed. A number of new features have been implemented most > notably, Model virtualFields[1], changes to the plugin and theme assets > [2], improvements to TimeHelpers ability to output i18n friendly > formats, and a refactored test suite harness[3]. When upgrading to > 1.3-beta it is recommended that you replace app/webroot/test.php with > the one in the repository and check out the Migration Guide[4] as well > as the new features guides [5] for changed and new features in 1.3. Great news, even better was I switched a project from 1.2 stable to 1.3-beta and had no warnings or errors anywhere, guess that means upgrading should be pretty easy - happy days :) J -- jon bennett - www.jben.net - blog.jben.net Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: FormHelper select without hidden field
Found out what it was. I used attribute 'multiple' with my select. Removing this attribute makes what I wanted.. 2010/1/17 fralik > Hi! > > I want to make a GET form with a select field. If I write for example > $form->select('language', ...), then I will have an output like this: > > >one >two > > So, I selected the first value and submit the form. I will get > something like this in the address bar "http://example.com/controller/ > action?language=&language%5B%5D=1" > > However, I would like it to be like this: "http://example.com/ > controller/action?language=1". Did anybody run into this issue? Until > now I have only one possible solution. That is not to use FormHelper > to create select control and to create it manually. > > Thank you in advance! > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to cake-php@googlegroups.com > To unsubscribe from this group, send email to > cake-php+unsubscr...@googlegroups.comFor > more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > > Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Foreach loop help
No go. Did not work at all. Will keep trying Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Foreach loop help
$i = 0; $rowmax = 3; $rowcount = 0; echo ''; foreach ($properties as $property) { echo $property[$i]; i++; $rowcount++; if ($rowcount == $rowmax) { echo ''; $rowcount =1; } } echo ''; something like this would work - untested.. may need tweaking or even better ways to do it Jonathon On Sun, Jan 17, 2010 at 6:38 PM, Dave wrote: > I have a > > where I would like to put 3 $property in a row. > > So something like this would be the end result: > > $property[0] data, $property[1] data, $property[2] data, > > $property[3] data, $property[4] data, $property[5] data, and > so on until its run thru them all. > > Any ideas how to do something like this? > > Thanks, > > Dave > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to cake-php@googlegroups.com > To unsubscribe from this group, send email to > cake-php+unsubscr...@googlegroups.comFor > more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > > Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Foreach loop help
I have a where I would like to put 3 $property in a row. So something like this would be the end result: $property[0] data, $property[1] data, $property[2] data, $property[3] data, $property[4] data, $property[5] data, and so on until its run thru them all. Any ideas how to do something like this? Thanks, Dave Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: CakePHP 1.3-beta has landed
It takes very few minutes to upgrade from 1.3-alfa to 1.3-beta. On Jan 17, 3:15 pm, red wrote: > As always, thank you and keep up good work! > > On 17 Sty, 05:25, mark_story wrote: > > > The CakePHP development team is happy to announce the release the > > CakePHP 1.3-beta. We've been hard at work implementing new features > > and fixing issues in existing features in the 1.3 branch. Since 1.3- > > alpha there have been more than 600 commits and more than 43 tickets > > have been closed. A number of new features have been implemented most > > notably, Model virtualFields[1], changes to the plugin and theme assets > > [2], improvements to TimeHelpers ability to output i18n friendly > > formats, and a refactored test suite harness[3]. When upgrading to > > 1.3-beta it is recommended that you replace app/webroot/test.php with > > the one in the repository and check out the Migration Guide[4] as well > > as the new features guides [5] for changed and new features in 1.3. > > > In other project news, all the previous stable release points for 1.2 > > have been retagged and are available in github. We've brought on two > > new team members in the past few months as well, both ADmad, and > > jose_zap have joined the CakePHP team and are helping with all aspects > > of the project. Moving forward with 1.3 we are not planning on adding > > changes that break backwards compatibility. Any methods currently > > generating errors will be removed in the first Release Candidate. It > > is important that you listen to the warnings, as they will become > > fatal errors in the future. > > > If you would like to help with the ongoing development of 1.3, you can > > do so in a number of ways. Firstly, filing clear and concise tickets > > for any issues helps get the issues resolved quickly. Secondly, you > > can also contribute by forking the CakePHP project on github and > > implementing fixes, tests cases and features on your forks. You can > > use pull requests or tickets to notify core team members about your > > changes. > > > Finally, we'd like to thank you the community for the their greatly > > increased and ongoing support and contributions. Since our move to > > github and lighthouse the volume of community contributions has had a > > dramatic increase, and we'd like to thank the many contributors for > > their help in improving CakePHP. > > > Download a packaged release [6] > > > View the changelog [7] > > > [1]http://cakephp.lighthouseapp.com/projects/42648/13-new-features-virtu... > > [2]http://cakephp.lighthouseapp.com/projects/42648/13-new-features-plugi... > > [3]http://cakephp.lighthouseapp.com/projects/42648/1-3-new-features-test... > > [4]http://cakephp.lighthouseapp.com/projects/42648/13-migration-guide > > [5]http://cakephp.lighthouseapp.com/projects/42648/13-new-features > > [6]http://github.com/cakephp/cakephp1x/downloads > > [7]http://cakephp.lighthouse.com/projects/42648/changelog-1-3-0-beta Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
cake1.3 error logging
since logging is now available even in debug=0 there are now many errors and debug notices in my cake log files (/tmp/logs/) like: 2010-01-16 18:01:04 Warning: Warning (2): htmlspecialchars() [function.htmlspecialchars]: Invalid multibyte sequence in argument in [/.../cake/basics.php, line 213] and: 2010-01-15 13:26:09 Warning: Warning (2): mkdir() [function.mkdir]: Permission denied in [/.../ cake/libs/folder.php, line 495] + some minor ones they almost flood my log files now error.log and debug.log grow every day by at least 1 MB now the question: is there any way to find out which of the hundret or thousand possible functions invoke them to cause this error? i though about using the Debugger::trace() or whatever i am thinking: i need to somehow catch this error - like modying the core at this specific line in order to write a full trace to some debug.txt is there any more convinient way of doing this? mark Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: weird bug with database field called "date" for a normal date (yyyy-mm-dd)
darn i was too quick after removing the model "Date" and all related models the same problem still occured so it must be something else maybe some conflict with the php date() function? the above link about "data" cant be the solution because this person had a conflict with $model->data in my case $model->date does not exist, though On 17 Jan., 20:11, John Andersen wrote: > Your issue may be related to the one that was discussed > in:http://groups.google.com/group/cake-php/browse_thread/thread/759c93f0... > > There it was a table named "data" that gave problems! > Your using of "date" may give issues of the same kind - kind of > reserved word :) > Enjoy, > John > > On Jan 16, 6:02 pm, euromark wrote: > > > Baked in my current app, the field called "date" results in the > > following array: > > > Array > > ( > > [Ride] => Array > > ( > > [id] => > > [datetime] => Array > > ( > > [day] => > > [month] => > > [year] => > > ) > > [event_date] => Array > > ( > > [day] => > > [month] => > > [year] => > > ) > > ) > > [date] => Array > > ( > > [date] => Array > > ( > > [day] => > > [month] => > > [year] => > > ) > > > ) > > ) > > > as you can see, datetime and event_date etc (added for debugging) dont > > get mixed up here > > > the form is as simple as possible: > > > echo $this->Form->input('date'); > > echo $this->Form->input('datetime'); > > echo $this->Form->input('event_date'); > > > but even modifying does not change anything: > > > echo $this->Form->input('date', array > > ('type'=>'date','dateFormat'=>'DMY','empty'=>'--')); > > echo $this->Form->input('datetime', array > > ('type'=>'date','dateFormat'=>'DMY','empty'=>'--')); > > echo $this->Form->input('event_date', array > > ('type'=>'date','dateFormat'=>'DMY','empty'=>'--')); > > > and the weirdest thing: > > creating a totally new app on the same level as my current up (using > > the same 1.3 HEAD core files) with the same view, controller and model > > does it correctly: > > > Array > > ( > > [Ride] => Array > > ( > > [date] => Array > > ( > > [day] => > > [month] => > > [year] => > > ) > > > > ) > > > ) > > > there is no beforeFilter() in the controller doing anything out of the > > ordinary > > no beforeValidate() in the model > > > the debug output above is from right at the beginning of beforeFilter > > () in the app_controller > > so there is not much that could have happened before - except for the > > bootstrapping process > > which does not do anything else than in the new freshly created > > project. > > > so how can this happen? what did i miss?... > > anybody an idea where i could take a look at? > > i am running out of ideas - thank you > > > the alternative would be to just rename the field > > but there has to be a logical explanation for this :) somwhere Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: weird bug with database field called "date" for a normal date (yyyy-mm-dd)
you are so right just found the problem, i guess: I have a file date.php with a class "Date" in the models folder this model works, though (thats why i never though about this model name resulting in any upcoming trouble) its just the current model and the post functionatily which screws up... does PHP5.3 or even 6 finally support classes like Date etc (case sensitive compared to lowercase functions?) On 17 Jan., 20:11, John Andersen wrote: > Your issue may be related to the one that was discussed > in:http://groups.google.com/group/cake-php/browse_thread/thread/759c93f0... > > There it was a table named "data" that gave problems! > Your using of "date" may give issues of the same kind - kind of > reserved word :) > Enjoy, > John > > On Jan 16, 6:02 pm, euromark wrote: > > > Baked in my current app, the field called "date" results in the > > following array: > > > Array > > ( > > [Ride] => Array > > ( > > [id] => > > [datetime] => Array > > ( > > [day] => > > [month] => > > [year] => > > ) > > [event_date] => Array > > ( > > [day] => > > [month] => > > [year] => > > ) > > ) > > [date] => Array > > ( > > [date] => Array > > ( > > [day] => > > [month] => > > [year] => > > ) > > > ) > > ) > > > as you can see, datetime and event_date etc (added for debugging) dont > > get mixed up here > > > the form is as simple as possible: > > > echo $this->Form->input('date'); > > echo $this->Form->input('datetime'); > > echo $this->Form->input('event_date'); > > > but even modifying does not change anything: > > > echo $this->Form->input('date', array > > ('type'=>'date','dateFormat'=>'DMY','empty'=>'--')); > > echo $this->Form->input('datetime', array > > ('type'=>'date','dateFormat'=>'DMY','empty'=>'--')); > > echo $this->Form->input('event_date', array > > ('type'=>'date','dateFormat'=>'DMY','empty'=>'--')); > > > and the weirdest thing: > > creating a totally new app on the same level as my current up (using > > the same 1.3 HEAD core files) with the same view, controller and model > > does it correctly: > > > Array > > ( > > [Ride] => Array > > ( > > [date] => Array > > ( > > [day] => > > [month] => > > [year] => > > ) > > > > ) > > > ) > > > there is no beforeFilter() in the controller doing anything out of the > > ordinary > > no beforeValidate() in the model > > > the debug output above is from right at the beginning of beforeFilter > > () in the app_controller > > so there is not much that could have happened before - except for the > > bootstrapping process > > which does not do anything else than in the new freshly created > > project. > > > so how can this happen? what did i miss?... > > anybody an idea where i could take a look at? > > i am running out of ideas - thank you > > > the alternative would be to just rename the field > > but there has to be a logical explanation for this :) somwhere Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Replacing an select/option drop down in views to a specific value.
Have a look at the controller action "add" you are calling. Note the name of the variable being set from the find (or read). At the top of your add.ctp add the line Relaunch the page again and have a look at the array produced from the find. Then on the line input form options you can set the employees' name with something like $variablenamesetincontroller ['Employee']['name'] On Jan 15, 11:37 am, Guran wrote: > John; > Thanks for the response. > I am sorry I did not understand. I am a newbee. the code $form->input('employee_id'); ?> generated by cake produces a drop down > of all employee names in the database. > Instead I want to present only the name of the logged in employee > since the expense statement will be filed under the employees name/id. > I believe there will be a hidden field but there will also be some > kind of label that will show the employee name. I don't know how to > put this together. > ...guran > > On Jan 15, 1:46 pm, John Andersen wrote: > > > Can the employee choose another employee id in the select list? If the > > employee is not allowed to choose another employee id, then just show > > the existing employee id as a label, not a list. > > > For preselecting the employees id in the select list, add the > > employees id to the controllers data variable, example: > > > [code] > > $this->data['Employee']['id'] = $this->Auth->user('employee_id'); > > [/code] > > Replace the respective parts according to your data structures. > > > Enjoy, > > John > > > On Jan 15, 8:37 pm, Guran wrote: > > > > I am building a expense submitter system. I have employees who have a > > > "name field" and an "employee_id field". > > > In the view - views/expenses/add.ctp Cake has generated the following > > > code: > > > input('employee_id'); ?>. This results in a select/ > > > option drop down listing all the employees. > > > Through a login process I have an employee_id. I would like the field > > > employee name to be the name of the current logged in employee that > > > will be a part of the submit when I hit the submit button. > > > as against the whole list. I have tried various approaches without any > > > success. Any help is appreciated. > > > thanks > > > /guran Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
External API aggregation - The Best Approach
Hi, I have a project that requires me to integrate with 2 REST APIs and then aggregate the results. My basic approach is: Product (model) Products (controller) API1 (datasource) API2 (datasource) Aggregation (behaviour) The basic flow is: 1. User enters a product name into a search form /products/search i.e 'DVD' 2. search() action on controller calls model->find() passing search term 3. search term is then passed to each datasource and the APIs return results 4. behaviour cleans, aggregates and reorders the results into a single dataset 5. model passes data back to controller, that then passes data onto the view 6. paginated results displayed on the search results page This is where I get stuck... Can a single model use 2 datasources and then use a behaviour to perform aggregation tasks. I have only ever created a model that uses a single custom datasource. Any ideas about the best way to do this would be really appreciated. The project scope is that the number of APIs integrated could grow to 10+ depending upon the success of this prototype project. Thanks, Paul Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: highest traffic cakePHP 1.2 sites?
just trust cake... because it deserves On Jan 17, 7:38 am, keymaster wrote: > So far, the short list of cake's absolutely largest known sites, is: > > addons.mozilla.com > ==> ranked 308 worldwide by > alexa:http://www.alexa.com/siteinfo/mozilla.org#trafficstats > (rumored to be changing to a python based platform). > > hotscripts.com > ==> ranked 2,022 worldwide by > alexa:http://www.alexa.com/siteinfo/hotscripts.com > > mitfahrgelegenheit.de > ==> averaging over 1.1 million page views/day- not ranked by alexa > since it's in Germany > > rekentuin.nl > ==> averaging over 600K page views/day > > Any other takers? > > On Jan 15, 12:58 am, Miles J wrote: > > > Oh I also forgot, Hotscripts runs Cake. > > >http://hotscripts.com > > > On Jan 14, 12:19 am, Matt Bianco wrote: > > > > It's a German car pooling / ride sharing > > > platform:www.mitfahrgelegenheit.de > > > Thanks to cake we can easily do our roll outs to other countries > > > (e.g.www.pamemazi.grwhereweare already live), others will follow in the > > > next weeks. > > > > On 13 Jan., 13:41, Jon Bennett wrote: > > > > > > We serve >35M PVs (>2M visits) per month. > > > > > Who/what is 'we'? > > > > > j > > > > > -- > > > > jon bennett -www.jben.net-blog.jben.net Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: weird bug with database field called "date" for a normal date (yyyy-mm-dd)
Your issue may be related to the one that was discussed in: http://groups.google.com/group/cake-php/browse_thread/thread/759c93f04a626c5b# There it was a table named "data" that gave problems! Your using of "date" may give issues of the same kind - kind of reserved word :) Enjoy, John On Jan 16, 6:02 pm, euromark wrote: > Baked in my current app, the field called "date" results in the > following array: > > Array > ( > [Ride] => Array > ( > [id] => > [datetime] => Array > ( > [day] => > [month] => > [year] => > ) > [event_date] => Array > ( > [day] => > [month] => > [year] => > ) > ) > [date] => Array > ( > [date] => Array > ( > [day] => > [month] => > [year] => > ) > > ) > ) > > as you can see, datetime and event_date etc (added for debugging) dont > get mixed up here > > the form is as simple as possible: > > echo $this->Form->input('date'); > echo $this->Form->input('datetime'); > echo $this->Form->input('event_date'); > > but even modifying does not change anything: > > echo $this->Form->input('date', array > ('type'=>'date','dateFormat'=>'DMY','empty'=>'--')); > echo $this->Form->input('datetime', array > ('type'=>'date','dateFormat'=>'DMY','empty'=>'--')); > echo $this->Form->input('event_date', array > ('type'=>'date','dateFormat'=>'DMY','empty'=>'--')); > > and the weirdest thing: > creating a totally new app on the same level as my current up (using > the same 1.3 HEAD core files) with the same view, controller and model > does it correctly: > > Array > ( > [Ride] => Array > ( > [date] => Array > ( > [day] => > [month] => > [year] => > ) > > ) > > ) > > there is no beforeFilter() in the controller doing anything out of the > ordinary > no beforeValidate() in the model > > the debug output above is from right at the beginning of beforeFilter > () in the app_controller > so there is not much that could have happened before - except for the > bootstrapping process > which does not do anything else than in the new freshly created > project. > > so how can this happen? what did i miss?... > anybody an idea where i could take a look at? > i am running out of ideas - thank you > > the alternative would be to just rename the field > but there has to be a logical explanation for this :) somwhere Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Path not found
Please confirm that you are writing about a CakePHP issue with the X7 Chat package, that you are using together with CakePHP. Based on what you wrote, I would think that you would receive more answers in the comp.lang.php group! Enjoy, John On Jan 17, 5:05 pm, tamer hatoum wrote: > Dear All; > I am using a theme logic in the chat rooms. > I am using the X7Chat package. I try it on the local host it is > working very fine, but when I uploaded it to our servers I have faced > this problem : > Warning: file(./themes//window.tpl) [function.file]: failed to open > stream: No such file or directory in C:\inetpub\vhosts\abiayubmodel.com > \httpdocs\chat\lib\output.php on line 221Warning: implode() > [function.implode]: Invalid arguments passed in C:\inetpub\vhosts > \abiayubmodel.com\httpdocs\chat\lib\output.php on line 222Warning: > load_skin::include(./themes//theme.info) [load-skin.include]: failed > to open stream: No such file or directory in C:\inetpub\vhosts > \abiayubmodel.com\httpdocs\chat\lib\output.php on line 159Warning: > load_skin::include(./themes//theme.info) [load-skin.include]: failed > to open stream: No such file or directory in C:\inetpub\vhosts > \abiayubmodel.com\httpdocs\chat\lib\output.php on line 159Warning: > load_skin::include() [function.include]: Failed opening './themes// > theme.info' for inclusion (include_path='C:\Program Files > (x86)\Parallels\Plesk\Additional\PleskPHP5\pear;./;./includes;./pear') > in C:\inetpub\vhosts\abiayubmodel.com\httpdocs\chat\lib\output.php on > line 159 > MY folders List are Like that : > -chat > -index.php > |-lib > |--output.php > |theme > |-MY themes are here > so in the index.php there is include('output.php'); > and in output.php there is : > // Load the theme information include("./themes/$skin/ > theme.info"); // This variable helps images find their way > $this->image_path = "./themes/$skin/"; // Advanced theme (it has > all its style sheets) if($theme_type == 2){ > // Load the Global Style Sheets $theme_ss = file("./themes/ > $skin/$style_sheet"); $theme_ss = implode("",$theme_ss); > $theme_ss = eregi_replace("url\(","url(./themes/$skin/",$theme_ss); > $this->style_sheet = $theme_ss; > I have tried to give the physical path but not working , I have tried > to update my php.ini to Allow_url change it to on but not working , > can any body help? Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Problems with fetching associated data
Please verify that both your application uses the same model definitions! Maybe show how the models are defined (code) - so that we also may verify that the associations/realationships are defined correctly. That you have not defined the recursive somewhere in your models. Also show the code that you use to retrieve the data. Enjoy, John On Jan 17, 10:02 am, powderfinger wrote: > I have a weird problem that i don't seem to be able to fix on my > own... > > I have three models(let's call them A,B and C to keep it short) and > they are connected as follows: > > A "belongsTo"> B > B "hasMany"-> A > B "belongsTo"> C > C "hasMany"-> B > > when i fetch data from A i get this regardless of what i set recursive > to in the a_controller.ctp : > > Array > ( > [A] => Array > ( > [id] => 1 > [b_id] => 1 > ... > ) > > [B] => Array > ( > [id] => 1 > [c_id] => 1 > ... > ) > > I have another app under development and there i have the same model > associations and there i get this data when recursive is set to 2 : > > Array > ( > [A] => Array > ( > [id] => 1 > [b_id] => 1 > ... > ) > > [B] => Array > ( > [id] => 1 > [c_id] => 1 > [C] => Array > ( > [id] => 1 > [field] => value > ) > ... > ) > > the only difference between these two is that in the later scenario i > use cake 1.2.0.7962 and in the first 1.2.5 > > What i want to do is just to fetch B and C from A so that i can > present all data in A's view without having to present C as just an > numeric index. > > A > -- > id: A['id'] > b: B['C']['field'] > > A > -- > id: A['id'] > b: B['c_id'] > > Is there anyone that could help me with this before it drives me > crazy? :) > > thanks in advance! Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Generate valid path like "directory-name-where-the-file-exists/file-name" in view
i tried adding image using following code. below code generates "directory-name/add-more.png" path. e($html->image("add-more.png")); I want to add above image using tag through src attribute for some reason and i do not want to use the directory name where the file exists, hardcoded as the directory name might change in future. So i m looking for a better option. $html->link generates along with tag. Please help... Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Path not found
Dear All; I am using a theme logic in the chat rooms. I am using the X7Chat package. I try it on the local host it is working very fine, but when I uploaded it to our servers I have faced this problem : Warning: file(./themes//window.tpl) [function.file]: failed to open stream: No such file or directory in C:\inetpub\vhosts\abiayubmodel.com \httpdocs\chat\lib\output.php on line 221Warning: implode() [function.implode]: Invalid arguments passed in C:\inetpub\vhosts \abiayubmodel.com\httpdocs\chat\lib\output.php on line 222Warning: load_skin::include(./themes//theme.info) [load-skin.include]: failed to open stream: No such file or directory in C:\inetpub\vhosts \abiayubmodel.com\httpdocs\chat\lib\output.php on line 159Warning: load_skin::include(./themes//theme.info) [load-skin.include]: failed to open stream: No such file or directory in C:\inetpub\vhosts \abiayubmodel.com\httpdocs\chat\lib\output.php on line 159Warning: load_skin::include() [function.include]: Failed opening './themes// theme.info' for inclusion (include_path='C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\pear;./;./includes;./pear') in C:\inetpub\vhosts\abiayubmodel.com\httpdocs\chat\lib\output.php on line 159 MY folders List are Like that : -chat -index.php |-lib |--output.php |theme |-MY themes are here so in the index.php there is include('output.php'); and in output.php there is : // Load the theme information include("./themes/$skin/ theme.info"); // This variable helps images find their way $this->image_path = "./themes/$skin/"; // Advanced theme (it has all its style sheets) if($theme_type == 2){ // Load the Global Style Sheets$theme_ss = file("./themes/ $skin/$style_sheet");$theme_ss = implode("",$theme_ss); $theme_ss = eregi_replace("url\(","url(./themes/$skin/",$theme_ss); $this->style_sheet = $theme_ss; I have tried to give the physical path but not working , I have tried to update my php.ini to Allow_url change it to on but not working , can any body help? Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: CakePHP 1.3-beta has landed
As always, thank you and keep up good work! On 17 Sty, 05:25, mark_story wrote: > The CakePHP development team is happy to announce the release the > CakePHP 1.3-beta. We've been hard at work implementing new features > and fixing issues in existing features in the 1.3 branch. Since 1.3- > alpha there have been more than 600 commits and more than 43 tickets > have been closed. A number of new features have been implemented most > notably, Model virtualFields[1], changes to the plugin and theme assets > [2], improvements to TimeHelpers ability to output i18n friendly > formats, and a refactored test suite harness[3]. When upgrading to > 1.3-beta it is recommended that you replace app/webroot/test.php with > the one in the repository and check out the Migration Guide[4] as well > as the new features guides [5] for changed and new features in 1.3. > > In other project news, all the previous stable release points for 1.2 > have been retagged and are available in github. We've brought on two > new team members in the past few months as well, both ADmad, and > jose_zap have joined the CakePHP team and are helping with all aspects > of the project. Moving forward with 1.3 we are not planning on adding > changes that break backwards compatibility. Any methods currently > generating errors will be removed in the first Release Candidate. It > is important that you listen to the warnings, as they will become > fatal errors in the future. > > If you would like to help with the ongoing development of 1.3, you can > do so in a number of ways. Firstly, filing clear and concise tickets > for any issues helps get the issues resolved quickly. Secondly, you > can also contribute by forking the CakePHP project on github and > implementing fixes, tests cases and features on your forks. You can > use pull requests or tickets to notify core team members about your > changes. > > Finally, we'd like to thank you the community for the their greatly > increased and ongoing support and contributions. Since our move to > github and lighthouse the volume of community contributions has had a > dramatic increase, and we'd like to thank the many contributors for > their help in improving CakePHP. > > Download a packaged release [6] > > View the changelog [7] > > [1]http://cakephp.lighthouseapp.com/projects/42648/13-new-features-virtu... > [2]http://cakephp.lighthouseapp.com/projects/42648/13-new-features-plugi... > [3]http://cakephp.lighthouseapp.com/projects/42648/1-3-new-features-test... > [4]http://cakephp.lighthouseapp.com/projects/42648/13-migration-guide > [5]http://cakephp.lighthouseapp.com/projects/42648/13-new-features > [6]http://github.com/cakephp/cakephp1x/downloads > [7]http://cakephp.lighthouse.com/projects/42648/changelog-1-3-0-beta Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Page 404 not found
I am no expert on routes, but as far as I understand, you don't need a route for the /post/view route, as CakePHP will do it normal "magic" and assign it to the posts controller with the action view. So try to remove the /post/view/* route and see what you get. Enjoy, John On Jan 17, 8:33 am, abhiraj wrote: > Hi > > Router.php > Router::connect('/', array('controller' => 'posts', 'action' => > 'index')); > Router::connect('/posts/view/*', array('controller' => 'posts', > 'action' => 'view')); > > I am able to open urlhttp://localhost/cakephpwherein cakephp is my > root directory. This is opening fine according to the first > Router::Connect(...) as shown above. For the second Router::Connect > (...) when i hithttp://localhost/cakephp/posts/view/1on my browser it does > not opens > up and shows error > > The requested URL /cakephp/posts/view/1 was not found on this server > > Kindly help me as i am stuck up with this long. > > Thank You Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Create nofollow text link?
Hi, Try something as $html->link('yourlink', 'www.yourlink.com', array ('rel' => 'nofollow')); Good luck! On 17 jan, 00:13, thankyou wrote: > Hello, > Having problems creating a nofollow link. > > I currently have the code below: > > link('mylink', 'http://www.mylink.com'); ?> > > What can I do to this to make it nofollow? > > Thank you :) Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
FormHelper select without hidden field
Hi! I want to make a GET form with a select field. If I write for example $form->select('language', ...), then I will have an output like this: one two So, I selected the first value and submit the form. I will get something like this in the address bar "http://example.com/controller/ action?language=&language%5B%5D=1" However, I would like it to be like this: "http://example.com/ controller/action?language=1". Did anybody run into this issue? Until now I have only one possible solution. That is not to use FormHelper to create select control and to create it manually. Thank you in advance! Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Problems with fetching associated data
I have a weird problem that i don't seem to be able to fix on my own... I have three models(let's call them A,B and C to keep it short) and they are connected as follows: A "belongsTo"> B B "hasMany"-> A B "belongsTo"> C C "hasMany"-> B when i fetch data from A i get this regardless of what i set recursive to in the a_controller.ctp : Array ( [A] => Array ( [id] => 1 [b_id] => 1 ... ) [B] => Array ( [id] => 1 [c_id] => 1 ... ) I have another app under development and there i have the same model associations and there i get this data when recursive is set to 2 : Array ( [A] => Array ( [id] => 1 [b_id] => 1 ... ) [B] => Array ( [id] => 1 [c_id] => 1 [C] => Array ( [id] => 1 [field] => value ) ... ) the only difference between these two is that in the later scenario i use cake 1.2.0.7962 and in the first 1.2.5 What i want to do is just to fetch B and C from A so that i can present all data in A's view without having to present C as just an numeric index. A -- id: A['id'] b: B['C']['field'] A -- id: A['id'] b: B['c_id'] Is there anyone that could help me with this before it drives me crazy? :) thanks in advance! Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Page 404 not found
Hi Router.php Router::connect('/', array('controller' => 'posts', 'action' => 'index')); Router::connect('/posts/view/*', array('controller' => 'posts', 'action' => 'view')); I am able to open url http://localhost/cakephp wherein cakephp is my root directory. This is opening fine according to the first Router::Connect(...) as shown above. For the second Router::Connect (...) when i hit http://localhost/cakephp/posts/view/1 on my browser it does not opens up and shows error The requested URL /cakephp/posts/view/1 was not found on this server Kindly help me as i am stuck up with this long. Thank You Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Create nofollow text link?
So is this correct implementation of making a link nofollow? link('mylink', 'http://www.mylink.com', array ('rel'=>'nofollow') ); ?> On Jan 17, 7:02 am, euromark wrote: > add in the third parameter as options array: > array('rel'=>'nofollow') > > On 17 Jan., 09:11, John Andersen wrote: > > > The nofollow is an additional attribute to the link. > > See:http://en.wikipedia.org/wiki/Nofollow > > for an explanation and how to implement. > > Enjoy, > > John > > > On Jan 17, 4:13 am, thankyou wrote: > > > > Hello, > > > Having problems creating a nofollow link. > > > > I currently have the code below: > > > > link('mylink', 'http://www.mylink.com'); ?> > > > > What can I do to this to make it nofollow? > > > > Thank you :) Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: suggestion for deployment
Hey Lorenzo, One idea would be to have an installer where they answer a few basic questions and then it will make some configuration files. What you could do is have your database.php file read the settings file that is made by the installer. Then they can keep all their configurations they set. You could also have your app_controller read in the settings file as well. I'm in the process of rewriting the http://dam.gd system and it will utilize cakePHP in version 2.0. We will be releasing version 1.1 in the new week or so and it will incorporate a great new system from http://theeasyapi.com ... now they haven't fully launched but they let us in on the code so we could start to build it in. It's pretty freaking cool. Accessing multiple API's with just one API and everything is fully controlled and documented. The developers are really nice as well. Take care. On Jan 16, 12:13 pm, Lorenzo Bettini wrote: > Hi > > I'd like to distribute a package which uses cakephp, so I'm distributing > both app and cake directories. > > Now I'd like to know what the right way of distributing files is, in > particular in such a way that when I distribute another version the user > does not loose his own configurations. > > For instance, for database configuration cakephp already ships > database.php.default so that the user can copy it to his own > database.php. Should I do the same for core.php? And what about the > .htaccess files? > > thanks in advance > Lorenzo > > -- > Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino > HOME:http://www.lorenzobettini.itMUSIC:http://www.purplesucker.com > BLOGS:http://tronprog.blogspot.com http://longlivemusic.blogspot.com Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Create nofollow text link?
add in the third parameter as options array: array('rel'=>'nofollow') On 17 Jan., 09:11, John Andersen wrote: > The nofollow is an additional attribute to the link. > See:http://en.wikipedia.org/wiki/Nofollow > for an explanation and how to implement. > Enjoy, > John > > On Jan 17, 4:13 am, thankyou wrote: > > > Hello, > > Having problems creating a nofollow link. > > > I currently have the code below: > > > link('mylink', 'http://www.mylink.com'); ?> > > > What can I do to this to make it nofollow? > > > Thank you :) Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: CakePHP 1.3-beta has landed
Thank you very much, This is truly an amazing framework in all the terms, specially the nice community and the developers of the project, again, Thanks a million times for all the effort and time you spend to create the greatest PHP framework in the world! On Sun, Jan 17, 2010 at 12:18 PM, Miles J wrote: > This looks absolutely amazing guys. Cannot wait to upgrade my 1.3 :] > > On Jan 16, 8:37 pm, mark_story wrote: > > Link [7] should behttp:// > cakephp.lighthouseapp.com/projects/42648/changelog-1-3-0-beta > > > > On Jan 16, 11:25 pm, mark_story wrote: > > > > > The CakePHP development team is happy to announce the release the > > > CakePHP 1.3-beta. We've been hard at work implementing new features > > > and fixing issues in existing features in the 1.3 branch. Since 1.3- > > > alpha there have been more than 600 commits and more than 43 tickets > > > have been closed. A number of new features have been implemented most > > > notably, Model virtualFields[1], changes to the plugin and theme assets > > > [2], improvements to TimeHelpers ability to output i18n friendly > > > formats, and a refactored test suite harness[3]. When upgrading to > > > 1.3-beta it is recommended that you replace app/webroot/test.php with > > > the one in the repository and check out the Migration Guide[4] as well > > > as the new features guides [5] for changed and new features in 1.3. > > > > > In other project news, all the previous stable release points for 1.2 > > > have been retagged and are available in github. We've brought on two > > > new team members in the past few months as well, both ADmad, and > > > jose_zap have joined the CakePHP team and are helping with all aspects > > > of the project. Moving forward with 1.3 we are not planning on adding > > > changes that break backwards compatibility. Any methods currently > > > generating errors will be removed in the first Release Candidate. It > > > is important that you listen to the warnings, as they will become > > > fatal errors in the future. > > > > > If you would like to help with the ongoing development of 1.3, you can > > > do so in a number of ways. Firstly, filing clear and concise tickets > > > for any issues helps get the issues resolved quickly. Secondly, you > > > can also contribute by forking the CakePHP project on github and > > > implementing fixes, tests cases and features on your forks. You can > > > use pull requests or tickets to notify core team members about your > > > changes. > > > > > Finally, we'd like to thank you the community for the their greatly > > > increased and ongoing support and contributions. Since our move to > > > github and lighthouse the volume of community contributions has had a > > > dramatic increase, and we'd like to thank the many contributors for > > > their help in improving CakePHP. > > > > > Download a packaged release [6] > > > > > View the changelog [7] > > > > > [1] > http://cakephp.lighthouseapp.com/projects/42648/13-new-features-virtu... > > > [2] > http://cakephp.lighthouseapp.com/projects/42648/13-new-features-plugi... > > > [3] > http://cakephp.lighthouseapp.com/projects/42648/1-3-new-features-test... > > > [4]http://cakephp.lighthouseapp.com/projects/42648/13-migration-guide > > > [5]http://cakephp.lighthouseapp.com/projects/42648/13-new-features > > > [6]http://github.com/cakephp/cakephp1x/downloads > > > [7]http://cakephp.lighthouse.com/projects/42648/changelog-1-3-0-beta > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to cake-php@googlegroups.com > To unsubscribe from this group, send email to > cake-php+unsubscr...@googlegroups.comFor > more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > > -- http://phpirate.net Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: CakePHP 1.3-beta has landed
This looks absolutely amazing guys. Cannot wait to upgrade my 1.3 :] On Jan 16, 8:37 pm, mark_story wrote: > Link [7] should > behttp://cakephp.lighthouseapp.com/projects/42648/changelog-1-3-0-beta > > On Jan 16, 11:25 pm, mark_story wrote: > > > The CakePHP development team is happy to announce the release the > > CakePHP 1.3-beta. We've been hard at work implementing new features > > and fixing issues in existing features in the 1.3 branch. Since 1.3- > > alpha there have been more than 600 commits and more than 43 tickets > > have been closed. A number of new features have been implemented most > > notably, Model virtualFields[1], changes to the plugin and theme assets > > [2], improvements to TimeHelpers ability to output i18n friendly > > formats, and a refactored test suite harness[3]. When upgrading to > > 1.3-beta it is recommended that you replace app/webroot/test.php with > > the one in the repository and check out the Migration Guide[4] as well > > as the new features guides [5] for changed and new features in 1.3. > > > In other project news, all the previous stable release points for 1.2 > > have been retagged and are available in github. We've brought on two > > new team members in the past few months as well, both ADmad, and > > jose_zap have joined the CakePHP team and are helping with all aspects > > of the project. Moving forward with 1.3 we are not planning on adding > > changes that break backwards compatibility. Any methods currently > > generating errors will be removed in the first Release Candidate. It > > is important that you listen to the warnings, as they will become > > fatal errors in the future. > > > If you would like to help with the ongoing development of 1.3, you can > > do so in a number of ways. Firstly, filing clear and concise tickets > > for any issues helps get the issues resolved quickly. Secondly, you > > can also contribute by forking the CakePHP project on github and > > implementing fixes, tests cases and features on your forks. You can > > use pull requests or tickets to notify core team members about your > > changes. > > > Finally, we'd like to thank you the community for the their greatly > > increased and ongoing support and contributions. Since our move to > > github and lighthouse the volume of community contributions has had a > > dramatic increase, and we'd like to thank the many contributors for > > their help in improving CakePHP. > > > Download a packaged release [6] > > > View the changelog [7] > > > [1]http://cakephp.lighthouseapp.com/projects/42648/13-new-features-virtu... > > [2]http://cakephp.lighthouseapp.com/projects/42648/13-new-features-plugi... > > [3]http://cakephp.lighthouseapp.com/projects/42648/1-3-new-features-test... > > [4]http://cakephp.lighthouseapp.com/projects/42648/13-migration-guide > > [5]http://cakephp.lighthouseapp.com/projects/42648/13-new-features > > [6]http://github.com/cakephp/cakephp1x/downloads > > [7]http://cakephp.lighthouse.com/projects/42648/changelog-1-3-0-beta Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: how to call Model1->find("all") from Model2 Controller
thx guys. Finally, it worked :) Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Create nofollow text link?
The nofollow is an additional attribute to the link. See: http://en.wikipedia.org/wiki/Nofollow for an explanation and how to implement. Enjoy, John On Jan 17, 4:13 am, thankyou wrote: > Hello, > Having problems creating a nofollow link. > > I currently have the code below: > > link('mylink', 'http://www.mylink.com'); ?> > > What can I do to this to make it nofollow? > > Thank you :) Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en