Re: why my project doesn't split a png archive

2011-07-25 Thread O.J. Tibi
Hi! I guess the problem here is where you put your CSS declarations/definitions. It's considered better to put these definitions in a separate CSS file in your `webroot/css` directory, rather than placing them inline in your CakePHP page. Some notes to consider: - Use CSS background image

Re: Regarding First Data Global Gateway

2011-07-25 Thread Nitin Hittalamani
Hi, Initially i want to use the connect 2.0.please give me instruction that how i should get connect to FDGG. ? On 7/26/11, Jens Dittrich wrote: > They provide a webservice api, is it that you want to use? To me it looks > like you want to read and write data to the webservice so you should conn

why my project doesn't split a png archive

2011-07-25 Thread shk_bud
Hi folks, I can't understand why a PNG file can't be splitted. That is, I have a PNG file which has some icons, and these icons are used with CSS selectors. For example, I have a this selector: #cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{position:absolute; bottom:-29px; background:url(img

Re: CakeFest 2011 schedule announced (and discount tickets are ending soon!)

2011-07-25 Thread Graham Weldon
Just a reminder to everyone that the "early bird" pricing that is in place on the CakeFest[1] website right now will come to and end at the end of the month. The event is shaping up to be an awesome one, and the CakePHP team and I are really excited to bring the event to Manchester. We're seeing a

CakeFest 2011 Update : SANIsoft becomes a sponsor!

2011-07-25 Thread Graham Weldon
CakeFest has always been only as good as the support that we get from the community. We're excited to announce that SANIsoft[1] has come on board as a Silver Sponsor! SANIsoft have shown extensive support for the CakePHP framework through sponsorship in the past, and we welcome them back for anothe

Re: how to convert data from controller to xml format in view

2011-07-25 Thread Matt Murphy
Good find! On Mon, Jul 25, 2011 at 8:17 PM, taq wrote: > this is answer > > http://www.ninjacodermonkey.co.uk/2010/11/cakephp-array-to-xml-from-within-controller/ > > On Jul 26, 6:56 am, taqman filler wrote: > > hello I'm new of cake > > I need snippet to display data form controller in xml for

Re: how to convert data from controller to xml format in view

2011-07-25 Thread taq
this is answer http://www.ninjacodermonkey.co.uk/2010/11/cakephp-array-to-xml-from-within-controller/ On Jul 26, 6:56 am, taqman filler wrote: > hello I'm new of cake > I need snippet to display data form controller in xml format > I  know is use xml helper but I don't understand example in book

how to convert data from controller to xml format in view

2011-07-25 Thread taqman filler
hello I'm new of cake I need snippet to display data form controller in xml format I know is use xml helper but I don't understand example in book some body can example to teach me pls -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP

Re: legacy database, not able to set my own primary key for a view

2011-07-25 Thread McBuck DGAF
What I meant to say is does the model file use "site" and not "sites." On Jul 25, 4:49 pm, McBuck DGAF wrote: > You said your table name is "Sites," not "Site."  Was that just a typo > or is your controller wrong? > > On Jul 25, 4:28 pm, Jamie wrote: > > > > > > > > > Way to not read the first p

Re: Multilanguage in CakePHP 1.3

2011-07-25 Thread gloop
Sorry, i forgett the S in my post. It doesn't work with LC_MESSAGES On 25 Jul., 21:38, euromark wrote: > your double post has already been answered in the german > grouphttp://www.cakephp-forum.com/installation-und-konfiguration/multilang... > > LC_MESSAGES instead of LC_MESSAGE > will most li

Re: legacy database, not able to set my own primary key for a view

2011-07-25 Thread McBuck DGAF
You said your table name is "Sites," not "Site." Was that just a typo or is your controller wrong? On Jul 25, 4:28 pm, Jamie wrote: > Way to not read the first post, like, at all. It's always a good idea > to read a post before replying. :) > > Anyway, that's strange. Model::read() uses $this->p

Re: legacy database, not able to set my own primary key for a view

2011-07-25 Thread Jamie
Way to not read the first post, like, at all. It's always a good idea to read a post before replying. :) Anyway, that's strange. Model::read() uses $this->primaryKey to generate the condition. Can you show us your Site model class? On Jul 25, 12:41 pm, Jens Dittrich wrote: > CakePHP follows conv

Re: Multilanguage in CakePHP 1.3

2011-07-25 Thread Davor Ilic
ui didn´t see it 2011/7/25 euromark > your double post has already been answered in the german group > > http://www.cakephp-forum.com/installation-und-konfiguration/multilanguage-in-cakephp-1-3-t1044.html > > LC_MESSAGES instead of LC_MESSAGE > will most likely this fix your problem > > > On 25

Re: legacy database, not able to set my own primary key for a view

2011-07-25 Thread Ryan Schmidt
On Jul 25, 2011, at 14:41, Jens Dittrich wrote: > CakePHP follows convention by default but you can always configure > everything. It just expects a column "id" in your table which is not there so > all you have to do is configure it in the model file. Just set the > $primaryKey variable in yo

Re: legacy database, not able to set my own primary key for a view

2011-07-25 Thread Jens Dittrich
CakePHP follows convention by default but you can always configure everything. It just expects a column "id" in your table which is not there so all you have to do is configure it in the model file. Just set the $primaryKey variable in your model file to the name of the primary key. It is always

Re: Multilanguage in CakePHP 1.3

2011-07-25 Thread euromark
your double post has already been answered in the german group http://www.cakephp-forum.com/installation-und-konfiguration/multilanguage-in-cakephp-1-3-t1044.html LC_MESSAGES instead of LC_MESSAGE will most likely this fix your problem On 25 Jul., 21:10, Davor Ilic wrote: > sry habe wohl eine z

Re: Regarding First Data Global Gateway

2011-07-25 Thread Jens Dittrich
They provide a webservice api, is it that you want to use? To me it looks like you want to read and write data to the webservice so you should connect to it in a model. Wrap your calls to the API there, this is how I would do it. If you want to reuse it then write a plugin... -- Our newest si

Re: Multilanguage in CakePHP 1.3

2011-07-25 Thread Davor Ilic
sry habe wohl eine zeile nicht gelöscht $this->set('home', $this->Setting->field('set_kat_id'));// das hier rausnehmen weil dieses model kommt aus meinem controller sry hab gedacht ich hätte sachen gelöscht die du nicht benötigst bzw nicht hast Am 25. Juli 2011 21:07 schrieb gloop : > CORE --

Re: Multilanguage in CakePHP 1.3

2011-07-25 Thread gloop
Hallöchen, habs nun doch ausprobiert und bekomme sowohl bei /cake/libs/controller/ app_controller.php | pages_controller.php folgende fehlermeldung: Notice (8): Undefined property: PagesController::$Setting [CORE\cake \libs\controller\app_controller.php, line 68] Fatal error: Call to a member

Re: Multilanguage in CakePHP 1.3

2011-07-25 Thread Davor Ilic
du kannst natürlich die ganze language sache statt in den pages_controller.php in dein app_controller.php reinhauen ich hab das nicht gebraucht deswegen nur in dem controller Am 25. Juli 2011 20:46 schrieb gloop : > Danke ich werde das morgen mal ausprobieren. > > LG Steffen > > On 25 Jul., 20:25

Re: Multilanguage in CakePHP 1.3

2011-07-25 Thread gloop
Danke ich werde das morgen mal ausprobieren. LG Steffen On 25 Jul., 20:25, Davor Ilic wrote: > du brauchst nur die $pageLang varibale die unteren sind special languages > für die überstungen von widgets wie facebook und co > > 2011/7/25 Davor Ilic > > > > > > > > > ok zuerst definiere im router

Re: Multilanguage in CakePHP 1.3

2011-07-25 Thread Davor Ilic
du brauchst nur die $pageLang varibale die unteren sind special languages für die überstungen von widgets wie facebook und co 2011/7/25 Davor Ilic > ok zuerst definiere im router deine lang parameter. > ich hab folgendes: > > > Router::connect('/:lang', > array('controller'=>'pages','action'=>'

Re: Multilanguage in CakePHP 1.3

2011-07-25 Thread gloop
Im from germany ;) Die englische übersetzung klappt, aber auch nur, weil englisch die voreinstellung von cake php ist. mit __('id', true); klappt es nicht, aber ich habe auch gelesen, dass dies für die rückgabe einer variable ist und nicht die ausgabe direkt. Configure::write('Config.language',

Re: Multilanguage in CakePHP 1.3

2011-07-25 Thread Davor Ilic
in your default.po you write this msgid "Anfrage Senden" msgstr "Send request" and with the gloabl func __('Anfrage Senden', true); be sure to write it corectly or your translate won´t work or did you mean some other stuff where you from? i´m from austria... if it´s easier for you to writ

Re: Multilanguage in CakePHP 1.3

2011-07-25 Thread gloop
Hello Davor, i try to write in the controller: Configure::write('Config.language', 'de'); en and de it doesnt work :( On 25 Jul., 17:03, Davor Ilic wrote: > i´ve use it like that __('test', true); > > but also you have to define some vars to switch did from en to other lang > you? > > 2011/7/25

Re: Multilanguage in CakePHP 1.3

2011-07-25 Thread gloop
OH i try it again and with Configure::write('Config.language', 'en'); it works fine! How can i include the german language? On 25 Jul., 17:03, Davor Ilic wrote: > i´ve use it like that __('test', true); > > but also you have to define some vars to switch did from en to other lang > you? > > 2011

Re: Multilanguage in CakePHP 1.3

2011-07-25 Thread Davor Ilic
i´ve use it like that __('test', true); but also you have to define some vars to switch did from en to other lang you? 2011/7/25 gloop > Hello, > > i search a whole time in the web for multilanguage in CakePHP. I found > that must create a folder in /app/locale/deu/LC_MESSAGE with a file > defa

Re: step by step how to implement ALAXOS plugins

2011-07-25 Thread Maulana Sidik
hi Nico , thank you very much for your great responses. especially your code script and ready to download i still have a problem on localhost with xampp. and you already answer my questions on your blog. until now i have no idea to change permission tmp folder on windows. this to be my issue becaus

Multilanguage in CakePHP 1.3

2011-07-25 Thread gloop
Hello, i search a whole time in the web for multilanguage in CakePHP. I found that must create a folder in /app/locale/deu/LC_MESSAGE with a file default.po. These musst filled with: msgid "test" msgstr "here the text" that could use in the *.ctp with: if the entry not found it would writ

View->model() and ->modelID()

2011-07-25 Thread DougR
Hello, I'm rolling my own helper and noticed that Helper has these functions: Helper->model() // Gets the currently-used model of the rendering context. Helper->modelID() // Gets the ID of the currently-used model of the rendering context. It would be handy to get the model name and model ID in t

legacy database, not able to set my own primary key for a view

2011-07-25 Thread nscaker
First day checking out cake, but can't get what seems like the simplest of things to work. My old database table named 'sites' has a primary key of 'SiteID'. I read that in order to tell cake to use that instead of 'id', I should use this in the model file. var $primaryKey = 'SiteID'; In my cont

Regarding First Data Global Gateway

2011-07-25 Thread Nitin Hittalamani
Hi every one. This is nitin.I want to use the First Data Global Gateway in cake php but i am unable to find out how to configure the payment gateway.Like which file to put where ? Please reply soon. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out

Unable to display Image or logo in an excel file.

2011-07-25 Thread Ambika Kulkarni
Hi folks, I am exporting data to xls file. All the data is coming, but only image or logo is not exporting to the xls file. Here is the code that I have used. 1 ) function campaignxls($campaignId = '0') { 2) $this->layout = 'export_xls'; 3) -- data manipulation -- 4)

Re: Internationalizing Validation Rules Messages in 2.0

2011-07-25 Thread majna
Extract task now uses Reflection on models to extract validation messages ($validate array) -- 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.