Re: CAKEPHP Job

2008-10-16 Thread techiguy
Hello Marcus I am intrested to work for you let me know how much you offer if have done all the features for you? On Oct 15, 2:48 pm, marcusgoede [EMAIL PROTECTED] wrote: Hi there, we are a young startup in Germany and develope an internet plattform for flights. we started already

Re: Dynamic model names in loop - possible?

2008-10-08 Thread techiguy
you can do it in this way. in your controller just call the function $this-set('values', $this-Hotelinfo-findList('Hotel')); and in AppController write the function function findList($modelname) { return $this-Hotelinfo-$modelname-find('list'); } thats it what ever model u want to call

Re: newbie question

2008-10-08 Thread techiguy
yes ofcource u can use with XAMPP on windows. i am also working on that with out any problem. before u start make sure u have checked the configuration of your local server http://book.cakephp.org/view/333/A-Note-on-mod_rewrite hope this helps you On Oct 9, 7:14 am, JRough [EMAIL PROTECTED]

Re: 'schema generate' and different connections (was: help with YAML pls basic syntax...etc)

2008-10-01 Thread techiguy
Dear forrestgump, u can do 2,3,4 things which u mentioned using schema.php file except that u cannot insert data from a schema file i.e the default data into the table. other than that every thing will work fine On Oct 1, 10:01 am, forrestgump [EMAIL PROTECTED] wrote: Hey,  So ive been

Re: Accessing Multiple database

2008-10-01 Thread techiguy
y dont u make table in a common database instead of separate databases? like u have one common table and have city1,city2,city3 as its tables. On Oct 1, 12:31 pm, bookme [EMAIL PROTECTED] wrote: Hi, I am working on a highly dynamic web content site. This website have two types of data

Re: Accessing Multiple database

2008-10-01 Thread techiguy
sorry i mean to say one common database and have tables city1,city2,city3 instead of separate databases?? On Oct 1, 12:31 pm, bookme [EMAIL PROTECTED] wrote: Hi, I am working on a highly dynamic web content site. This website have two types of data one is common data and second is city

Re: about the controller insert data into two tables

2008-10-01 Thread techiguy
flyingfish, y dont y do like this way var $uses = array('User', 'Userfield'); function add() { $this-User-save($this-data); $this-Userfield-insertData($this-data); and in your Userfield model write the query to insert data into the database like this.. function insertData($arr) {

Re: pushing my luck -- complete pm system?

2008-10-01 Thread techiguy
Dear rocket, if you found the PM system online pls let me know the download link On Sep 30, 9:26 pm, rocket [EMAIL PROTECTED] wrote: I'm about to write a PM system for users... but why invent the wheel? Anyone know of a good prebuilt cake pm system, or a vendor I can use? thanks

Re: how to save twice??

2008-10-01 Thread techiguy
Dear rocket, why dont u loop it. when u make a loop for the data then u can insert 'N' Number of records not limited to 1 or 2? did u got my point? On Sep 30, 9:24 pm, rocket [EMAIL PROTECTED] wrote: perfect the -create() works i'd also like to tell others it unsets $this-data On Sep 30,

Re: Using model without a database for form

2008-10-01 Thread techiguy
sniper, you are saying u dont want 2 use database/tables and ur using a method to save the data. then where it will save? any how i am thinking that u have missed one parameter in... $helpers = array('Form','Html'); Html is missing? hope it works. On Sep 30, 7:15 pm, sniper [EMAIL

$hasandbelongstomany is working cake 1.1.x but not in 1.2.x ? pls help??

2008-09-26 Thread techiguy
Hi Guys, I have one problem pls help. i have 3 tables users,roles,users_roles and thier models are (User,Role,UsersRole) a user has and belongs to many roles for that i have done intersecting the other models in user model(user.php) in this way. var $hasAndBelongsToMany = array(

will this voilates MVC Rule??

2008-09-24 Thread techiguy
hi guys, if we have written queries directly in to the controller (users) will this voilates the MVC architecture?? i have written in my users_controller.php like this $this-set('users',$this-User-query(select * from users)); or if i use like this $this-User-query(insert into users(id,name)

Re: How to update a model with save method?

2008-09-23 Thread techiguy
just drop ur table and re create it with id as a primary key with an auto_increment. On Sep 23, 2:37 pm, forrestgump [EMAIL PROTECTED] wrote: I had a similar problem ORCC...check if the table you are inserting your data into has the primary key properly set...it appears you are using TYPE

Re: To model or not to model

2008-09-23 Thread techiguy
hi forrestgump, using $this-find() in controller doesn't voilate the MVC architecture even if you use $this-find('all') but i heared if you direct query in controller will violate the MVC rule i.e if you use $this-Model-query(select * from models); the above query will violate the MVC rule.

Re: Multi lingual label fieldname table

2008-09-23 Thread techiguy
i think ur question is not so clear in the above ur saying u have blog table(id,'name') and later u r showing the data stored in database?? id table_name field_namedisplay1 display2 1 blog name people name person name du hav

where is my post

2008-09-18 Thread techiguy
Hey posted the same message twice but its not appearing why damn its not working properly what to do? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to

Re: where is my post

2008-09-18 Thread techiguy
Hi Gwoo, good to see my message as well as your reply.i think i got to see my message becz u reply it. but still my previous message was not appeared. the message u replied was my 3rd time post. On Sep 18, 6:27 pm, Gwoo [EMAIL PROTECTED] wrote: Maybe you forgot to read the part about this