Uploading Image with MeioUpload and No Table

2011-01-31 Thread Arak Tai'Roth
Hey there, So, something I've been stumbling around for a little bit now and can't seem to find any references regarding. I am using MeioUpload for my image file upload behaviour. It's working great, no issues there. However, I am now using it on a form that isn't linked to a database, as no

Re: Paginate Multiple Models in the same view

2010-11-13 Thread Arak Tai'Roth
This can't be the first time this has been tried? On Nov 12, 5:12 pm, Arak Tai'Roth nielsen.dus...@gmail.com wrote: Anyone have any other ideas? On Nov 12, 12:56 am, Arak Tai'Roth nielsen.dus...@gmail.com wrote: That doesn't work, it actually disabled the working pagination on the Image

Re: Paginate Multiple Models in the same view

2010-11-12 Thread Arak Tai'Roth
Anyone have any other ideas? On Nov 12, 12:56 am, Arak Tai'Roth nielsen.dus...@gmail.com wrote: That doesn't work, it actually disabled the working pagination on the Image model. I know there is a model option that can be set in the Paginator options, I'm wondering if it can be used

Paginate Multiple Models in the same view

2010-11-11 Thread Arak Tai'Roth
Hey everyone, I have what I thought was a simple problem, but haven't been able to find anything regarding it. Everything I can find is based off of paginating different sets of data but all from the same model. I have two models that are related to the model that the view is based off of. So I

Re: Paginate Multiple Models in the same view

2010-11-11 Thread Arak Tai'Roth
' = .),                'Floorplan' = array('update' = .)        )); should work. Amit PHP Applications for E-Biz:http://www.sanisoft.com On Fri, Nov 12, 2010 at 8:00 AM, Arak Tai'Roth nielsen.dus...@gmail.comwrote: Hey everyone, I have what I thought was a simple

Re: Adding new items to a form dynamically

2010-11-01 Thread Arak Tai'Roth
part looks something like this, it simply updates the _Token input fields and appends the newly generated form elements if neccessary: http://pastebin.com/d9tYQUT3 Regards Arak Tai'Roth schrieb: So, here is my situation. I have a form that allows users (only admins) to upload images

Adding new items to a form dynamically

2010-10-31 Thread Arak Tai'Roth
So, here is my situation. I have a form that allows users (only admins) to upload images for a specific product. What I have created is a solution that when they load the add form initially it has one file upload and one caption text box. However, they can click a button lower down, that

Re: Password Protecting a Directory

2010-09-09 Thread Arak Tai'Roth
help as I am running this from a shared server on Dreamhost, I don't have access to changing anything in their apache configuration. On Sep 8, 6:34 am, Farah elia...@gmail.com wrote: See this documentation http://httpd.apache.org/docs/2.0/howto/auth.html On 7 set, 23:38, Arak Tai'Roth nielsen.dus

Re: Password Protecting a Directory

2010-09-09 Thread Arak Tai'Roth
Anyone have any other thoughts on this issue? On Sep 9, 12:43 pm, Arak Tai'Roth nielsen.dus...@gmail.com wrote: Thanks for the replies guys, but neither of those solutions work. Sorry, I didn't explain myself better. This directory doesn't necessarily need to be called admin, but I had

Re: Password Protecting a Directory

2010-09-07 Thread Arak Tai'Roth
Can anyone help me with this problem please? On Sep 6, 11:37 pm, Arak Tai'Roth nielsen.dus...@gmail.com wrote: So, I am aware this question has been asked and answered in a variety of different ways in a variety of different places. I have already spent way too much time trying to find

Password Protecting a Directory

2010-09-06 Thread Arak Tai'Roth
So, I am aware this question has been asked and answered in a variety of different ways in a variety of different places. I have already spent way too much time trying to find a solution, so I'm hoping to find a solution here by just asking myself. I am using CakePHP 1.2.5 in this case if that

Re: falsefalse

2010-02-28 Thread Arak Tai'Roth
to the end of the relationship/association definition. Enjoy,    John On Feb 28, 8:15 am, Arak Tai'Roth nielsen.dus...@gmail.com wrote: I did indeed do that when you had first asked me if I had made the model. It didn't change anything. On Feb 26, 12:43 am, John Andersen j.andersen

Showing selected values in a HABTM

2010-02-28 Thread Arak Tai'Roth
Hey everyone, I did try looking around here and on google for this issue, however I can only find data that relates to problems 3 years ago, which doesn't help as much as I'd like it to. I could likely use it, but I figured that by now, Cake must have a more elegant way of doing this. I want to

Re: falsefalse

2010-02-28 Thread Arak Tai'Roth
in the entirely wrong area. On Feb 28, 2:32 am, John Andersen j.andersen...@gmail.com wrote: Ok, if you don't use the Country model, then you are using the AppModel, how does it look like? Enjoy,    John On Feb 28, 10:31 am, Arak Tai'Roth nielsen.dus...@gmail.com wrote: They are all lowercase, I'm

Re: Showing selected values in a HABTM

2010-02-28 Thread Arak Tai'Roth
you on the way ;) Enjoy,    John On Feb 28, 10:37 am, Arak Tai'Roth nielsen.dus...@gmail.com wrote: Hey everyone, I did try looking around here and on google for this issue, however I can only find data that relates to problems 3 years ago, which doesn't help as much as I'd like it to. I

Re: falsefalse

2010-02-28 Thread Arak Tai'Roth
...@gmail.com wrote: Could be! I am trying to recreate your situation here at my place, to confirm that I too can't retrieve the Country. Will be back shortly :)    John On Feb 28, 10:40 am, Arak Tai'Roth nielsen.dus...@gmail.com wrote: This is the only thing that is even remotely

Re: Showing selected values in a HABTM

2010-02-28 Thread Arak Tai'Roth
Nevermind, I got it figured out, thank you for your help. On Feb 28, 9:24 pm, Arak Tai'Roth nielsen.dus...@gmail.com wrote: I'm not sure I am following. I see where you are setting the data that you have, but I am not seeing where you are using that data in the view at all? Or do you not need

Re: falsefalse

2010-02-27 Thread Arak Tai'Roth
,    John On Feb 25, 10:53 pm, Arak Tai'Roth nielsen.dus...@gmail.com wrote: I tried with just something simple: $dbpermit = $this-Permit-find('first', array(                                 'conditions' = array(                                         'Permit.id' = $id

Re: Problem with recursion and Containable

2010-02-25 Thread Arak Tai'Roth
, Arak Tai'Roth nielsen.dus...@gmail.com wrote: So I've been searching for a solution to my problem for a little while now. However everything I find seems to imply that what I am doing is correct, so I am rather confused about this at the moment. Likely it's something simple, but I'm sure

Re: falsefalse

2010-02-25 Thread Arak Tai'Roth
: Please show the code (copy/paste) from your models, where you define the relationships/associations. I suggest from the Permit, Leader, Country and ProvState models.    John On Feb 25, 8:04 pm, Arak Tai'Roth nielsen.dus...@gmail.com wrote: For the second one, I get data from the Leader model

Re: falsefalse

2010-02-25 Thread Arak Tai'Roth
to Permit (both) and to Leader (User). Also, when you are using Containable, it is usually a good idea that Fields include the foreign keys! At least that is what I have read here in the group. Hope this helps you on the way :)    John On Feb 25, 9:05 pm, Arak Tai'Roth nielsen.dus

Re: falsefalse

2010-02-25 Thread Arak Tai'Roth
by step - make a find from Permit with contain Leader and nothing more. If it works, expand the find with Country. If it still works, expand with ProvState. and so on. Then tell us your result of the step by step method :)    John On Feb 25, 10:24 pm, Arak Tai'Roth nielsen.dus...@gmail.com

Re: falsefalse

2010-02-25 Thread Arak Tai'Roth
I someone yet able to see where I am going wrong? On Feb 25, 2:53 pm, Arak Tai'Roth nielsen.dus...@gmail.com wrote: I tried with just something simple: $dbpermit = $this-Permit-find('first', array(                                 'conditions' = array

Problem with recursion and Containable

2010-02-24 Thread Arak Tai'Roth
So I've been searching for a solution to my problem for a little while now. However everything I find seems to imply that what I am doing is correct, so I am rather confused about this at the moment. Likely it's something simple, but I'm sure as heck not seeing it. I have a model named Leader,

Problem with editing in-validated messages

2009-10-06 Thread Arak Tai'Roth
So, my subject name might be misleading. This is why I'm posting on here because I don't have much of an idea of what to search for in order to find a solution. So here is my issue. I have a controller with an edit function. The page loads fine, it edits fine, and it invalidates fields fine, and

Re: Problem with editing in-validated messages

2009-10-06 Thread Arak Tai'Roth
; and adding parameters to read function at the bottom $this-data = $this-Message-read(null, $id); and placing a hidden input file in your form for message id echo $form-hidden('Message.id'); On Oct 6, 11:22 am, Arak Tai'Roth nielsen.dus...@gmail.com wrote: So, my subject name might

Re: Problem with editing in-validated messages

2009-10-06 Thread Arak Tai'Roth
will assume that you are inserting a new model when save() is called. So, you'd have to add that hidden field to your view in order this to work, but can leave the code in the controller as is On Oct 6, 12:40 pm, Arak Tai'Roth nielsen.dus...@gmail.com wrote: I see what you are saying, I

Re: Problem Uploading Flash

2009-06-05 Thread Arak Tai'Roth
Ummm it says on the page http://www.meiocodigo.com/projects/meioupload/ that it can upload any kind of file. I'm still checking those things that brian told me to check out, been super busy lately with other stuff to be able to get back into this. On May 31, 2:44 pm, gerhardsletten

Re: Problem Uploading Flash

2009-05-31 Thread Arak Tai'Roth
, 2009 at 3:07 PM, Arak Tai'Roth nielsen.dus...@gmail.com wrote: As far as I'm aware if the extension is .flv, then shouldn't the mimetype be video/x-flv? The behavior depends upon the whatever the browser says is the MIME type. You can see it in the data array. If you're not familiar

Re: Problem Uploading Flash

2009-05-30 Thread Arak Tai'Roth
I could still really use a hand on this problem if anyone can offer it. On May 29, 4:49 am, Arak Tai'Roth nielsen.dus...@gmail.com wrote: Anyone able to help with this? On May 28, 7:29 am, Arak Tai'Roth nielsen.dus...@gmail.com wrote: So I have a problem uploading a flash video using

Re: Problem Uploading Flash

2009-05-30 Thread Arak Tai'Roth
. And check the permissions on the dir where this should be stored. You don't have to set it to 0777, just make sure the webserver owns it. On Sat, May 30, 2009 at 6:40 AM, Arak Tai'Roth nielsen.dus...@gmail.com wrote: I could still really use a hand on this problem if anyone can offer

Re: Problem Uploading Flash

2009-05-29 Thread Arak Tai'Roth
Anyone able to help with this? On May 28, 7:29 am, Arak Tai'Roth nielsen.dus...@gmail.com wrote: So I have a problem uploading a flash video using MeioUpload in CakePHP. Here is my controller code for the add function:                 function add

Problem Uploading Flash

2009-05-28 Thread Arak Tai'Roth
So I have a problem uploading a flash video using MeioUpload in CakePHP. Here is my controller code for the add function: function add() { if (!empty($this-data['Video'])) { $mrClean =

Re: MeioUpload Problem

2009-04-27 Thread Arak Tai'Roth
at the same level as 'banner' 'poster' (ie. don't repeat it). On Sun, Apr 26, 2009 at 4:05 AM, Arak Tai'Roth nielsen.dus...@gmail.com wrote: I'm not going to touch on form-label, that isn't a part of my question. I have looked at the code and can't figure out what is breaking, hence why

Re: MeioUpload Problem

2009-04-27 Thread Arak Tai'Roth
. Perhaps you should add a bunch of debugging statements to the behavior: Debugger::log(...) On Mon, Apr 27, 2009 at 12:37 PM, Arak Tai'Roth nielsen.dus...@gmail.com wrote: Yea, that didn't help. I was pretty sure it wouldn't, MeioUpload doesn't actually require that you store filesize

Re: MeioUpload Problem

2009-04-26 Thread Arak Tai'Roth
that complicated :o Did you actually check for any errors in the behaviour itself? Try to debug parts of the code: start with small ones then go bigger and see where it breaks. Then you will definitely find an answer :) Cheers, Faifas On Sat, Apr 25, 2009 at 01:18, Arak Tai'Roth nielsen.dus

Re: MeioUpload Problem

2009-04-24 Thread Arak Tai'Roth
Anyone at all? I could really use some help on this. On Apr 21, 1:02 pm, Arak Tai'Roth nielsen.dus...@gmail.com wrote: Anyone have any ideas on this topic? On Apr 20, 5:16 pm, Arak Tai'Roth nielsen.dus...@gmail.com wrote: Yup, the exact same permissions as the banners directory On Apr

Re: MeioUpload Problem

2009-04-21 Thread Arak Tai'Roth
Anyone have any ideas on this topic? On Apr 20, 5:16 pm, Arak Tai'Roth nielsen.dus...@gmail.com wrote: Yup, the exact same permissions as the banners directory On Apr 20, 4:09 pm, brian bally.z...@gmail.com wrote: Are the permissions for the posters dir good? On Mon, Apr 20, 2009 at 4

MeioUpload Problem

2009-04-20 Thread Arak Tai'Roth
So I have my MeioUpload set up: var $actsAs = array( 'MeioUpload' = array( 'banner' = array( 'dir' = 'img/events/banners', 'create_directory' =

Re: MeioUpload Problem

2009-04-20 Thread Arak Tai'Roth
Yup, the exact same permissions as the banners directory On Apr 20, 4:09 pm, brian bally.z...@gmail.com wrote: Are the permissions for the posters dir good? On Mon, Apr 20, 2009 at 4:56 PM, Arak Tai'Roth nielsen.dus...@gmail.com wrote: So I have my MeioUpload set up:                var

Re: MooTools Ajax with Cake

2009-03-11 Thread Arak Tai'Roth
of power and features under the hood.  As for neat shortcuts, look at Element.implement() you can add on additional element shortcuts that trigger effects.  The Chain class is also a really powerful and interesting class. -Mark On Mar 10, 10:06 pm, Arak Tai'Roth nielsen.dus...@gmail.com wrote

Re: MooTools Ajax with Cake

2009-03-10 Thread Arak Tai'Roth
.  But if you are new to Ajax and Mootools, I would start with the docs, copy+pasting is going to lead to lots of these type issues. -Mark On Mar 9, 4:39 pm, Arak Tai'Roth nielsen.dus...@gmail.com wrote: Well it looks like I got it all working. Now I just need to figure out how to add some kind

Re: MooTools Ajax with Cake

2009-03-09 Thread Arak Tai'Roth
;) On Mar 9, 12:36 am, Arak Tai'Roth nielsen.dus...@gmail.com wrote: I tried that, and removed my autoRender and exit() lines and added in $this-render(index); It didn't work. The page is still loading, which it shouldn't be with an AJAX request as far as I know. In addition I added

Re: MooTools Ajax with Cake

2009-03-09 Thread Arak Tai'Roth
Also considering I am using multiple links I tried this as well: url: $$('a.ajax_replace').get('href'), and $$('a.ajax_replace').addEvent('click', function() and then changing the id's to classes. I was thinking this might work, but alas, it did not either. On Mar 9, 9:19 am, Arak Tai'Roth

Re: MooTools Ajax with Cake

2009-03-09 Thread Arak Tai'Roth
();     $('about_descriptioncontent').load(this.get('href'));   } }); Or you can keep your existing code, but you may want to prevent the default browser action anyways.  As you won't see the ajax result, as the default action will still happen. -Mark On Mar 9, 12:03 pm, Arak Tai'Roth nielsen.dus...@gmail.com wrote

Re: MooTools Ajax with Cake

2009-03-09 Thread Arak Tai'Roth
don't do anything at all. On Mar 9, 11:25 am, Arak Tai'Roth nielsen.dus...@gmail.com wrote: I don't want to do a simple GET request, I do want this as AJAX, that's just the code I found. I am extremely new to MooTools, never used it before this, in addition I am new to using AJAX period. One

Re: MooTools Ajax with Cake

2009-03-09 Thread Arak Tai'Roth
Well it looks like I got it all working. Now I just need to figure out how to add some kind of effect to it. If anyone has any advice on that, that would be perfect. On Mar 9, 11:43 am, Arak Tai'Roth nielsen.dus...@gmail.com wrote: So I completely revamped the code in my ajax file

Re: MooTools Ajax with Cake

2009-03-08 Thread Arak Tai'Roth
Anyone able to help me with this issue? I've tried googling anything where MooTools is used with CakePHP, but there is almost nothing that I can find, and nothing with Ajax. On Mar 7, 11:09 pm, Arak Tai'Roth nielsen.dus...@gmail.com wrote: I am trying to update a div via ajax, however I am

Re: MooTools Ajax with Cake

2009-03-08 Thread Arak Tai'Roth
of those lines altogether or if you want to forcibly render a specific view replace it with $this-render(myView); hth Paul On Mar 8, 6:09 pm, Arak Tai'Roth nielsen.dus...@gmail.com wrote: I am trying to update a div via ajax, however I am using MooTools, and not the normal Prototype

MooTools Ajax with Cake

2009-03-07 Thread Arak Tai'Roth
I am trying to update a div via ajax, however I am using MooTools, and not the normal Prototype and Scriptaculous. Here is the code that I have in my controller: function view($id) { if ($this-RequestHandler-isAjax()) {

Re: recursive 2 with fields problem

2009-02-17 Thread Arak Tai'Roth
That's cool. I had just assumed that it grabbed it automatically, but I guess we all know what assuming does. Thanks for the assistance though, I'm finally back on track with the project again. On Feb 16, 2:19 pm, brian bally.z...@gmail.com wrote: On Mon, Feb 16, 2009 at 1:50 PM, Arak Tai'Roth

Re: recursive 2 with fields problem

2009-02-16 Thread Arak Tai'Roth
Tai'Roth nielsen.dus...@gmail.com wrote: Anyone else have an idea? On Feb 13, 10:34 am, Arak Tai'Roth nielsen.dus...@gmail.com wrote: I don't think that would help, and adds more things to do when as far as I know, this should work fine. I will detail my problem a little more here

Re: recursive 2 with fields problem

2009-02-16 Thread Arak Tai'Roth
? On Feb 16, 2:12 am, Arak Tai'Roth nielsen.dus...@gmail.com wrote: Thta's great that the Containable behaviour works and all. However I shouldn't need to use it, this should work as far as I can see. My question is why isn't it working, the recursive = 2 option is there so that something like

Re: recursive 2 with fields problem

2009-02-16 Thread Arak Tai'Roth
Also, if you haven't been reading everything. The problem is the fact that I can obtain the data I need from the Status model, but I cannot obtain the data from the Phase model. On Feb 16, 4:21 am, Arak Tai'Roth nielsen.dus...@gmail.com wrote: So I went ahead and tried this Containable

Re: recursive 2 with fields problem

2009-02-16 Thread Arak Tai'Roth
Tai'Roth nielsen.dus...@gmail.com wrote: Also, if you haven't been reading everything. The problem is the fact that I can obtain the data I need from the Status model, but I cannot obtain the data from the Phase model. On Feb 16, 4:21 am, Arak Tai'Roth nielsen.dus...@gmail.com wrote: So I

Re: recursive 2 with fields problem

2009-02-13 Thread Arak Tai'Roth
@googlegroups.com [mailto:cake-...@googlegroups.com] Im Auftrag von Arak Tai'Roth Gesendet: Donnerstag, 12. Februar 2009 21:55 An: CakePHP Betreff: recursive 2 with fields problem So I have been looking around trying to figure out what my problem is and stumbled across this. http

Re: recursive 2 with fields problem

2009-02-13 Thread Arak Tai'Roth
Anyone else have an idea? On Feb 13, 10:34 am, Arak Tai'Roth nielsen.dus...@gmail.com wrote: I don't think that would help, and adds more things to do when as far as I know, this should work fine. I will detail my problem a little more here: I have three models, Build, Status, and Phase

recursive 2 with fields problem

2009-02-12 Thread Arak Tai'Roth
So I have been looking around trying to figure out what my problem is and stumbled across this. http://groups.google.com/group/cake-php/browse_thread/thread/3ded2f1b4bd71478/c36a5b0455a15fcb?lnk=gstq=recursive#c36a5b0455a15fcb It's my exact issue, however there is no answer, so I was wondering

Re: recursive 2 with fields problem

2009-02-12 Thread Arak Tai'Roth
Anyone able to help out with this? On Feb 12, 2:55 pm, Arak Tai'Roth nielsen.dus...@gmail.com wrote: So I have been looking around trying to figure out what my problem is and stumbled across this. http://groups.google.com/group/cake-php/browse_thread/thread/3ded2f1b... It's my exact issue

Re: MooTools Ajax Pagination

2009-02-10 Thread Arak Tai'Roth
cake index view http://pastebin.com/d43137c All you have to do is wrap your view code in a div and specify that id as your pagingDivId This is extremely basic and doesnt make allowance for request failure events etc - just the basics. HTH, Paul. On Feb 10, 11:45 am, Arak Tai'Roth

Re: MooTools Ajax Pagination

2009-02-10 Thread Arak Tai'Roth
10, 3:34 pm, Arak Tai'Roth nielsen.dus...@gmail.com wrote: Is there anything else out there? This is definitely an option, but it doesn't seem like the best option to me. On Feb 9, 6:59 pm, Websta* subscripti...@webprogression.co.nz wrote: Here is the code of a really basic mootools JS

MooTools Ajax Pagination

2009-02-09 Thread Arak Tai'Roth
The project that I am currently working on is constrained by the fact that I have to use MooTools for a few things we are using. I also don't really want to use Prototype as the load times in certain cases aren't exactly friendly. So I was wondering if there is anywhere I can learn how to

Re: Multiple Uploads with MeioUpload

2009-01-28 Thread Arak Tai'Roth
'];                                                                 }                                                         }                                 }                         }                 }         } Hope this helps. John On Jan 25, 10:57 pm, Arak Tai'Roth nielsen.dus...@gmail.com wrote: I just recently started using the MeioUpload behaviour that I found and I love it. However I am struggling to figure out how I

Re: Multiple Uploads with MeioUpload

2009-01-28 Thread Arak Tai'Roth
',             'foreignKey' = 'foreign_id',             'conditions' = array('Upload.class' = 'Product'),             'dependent' = true         )     ); } John On Jan 28, 2:11 pm, Arak Tai'Roth nielsen.dus...@gmail.com wrote: That should help actually, as I am also using a seperate table

Re: Multiple Uploads with MeioUpload

2009-01-26 Thread Arak Tai'Roth
I already have the code and everything working to upload one image, that is not the issue at hand. I want to be able to upload multiple images with MeioUpload. I wish to use this method because it can automatically create thumbnails for me, and there is very minimal amount of code that I need to

Multiple Uploads with MeioUpload

2009-01-25 Thread Arak Tai'Roth
I just recently started using the MeioUpload behaviour that I found and I love it. However I am struggling to figure out how I can be using it to do multiple file uploads. I have a table and a seperate model and controller just for uploading images, so one row in said table is equal to one

Re: usage of mapActions()

2008-12-29 Thread Arak Tai'Roth
TYPE_OF_THE_ACTION is 'create', 'read', 'update' or 'delete'. also, AFAIK, mapActions will have effect only if you are using Acl with Auth in actions/crud auth mode. On Dec 29, 4:49 am, Arak Tai'Roth nielsen.dus...@gmail.com wrote: So I also looked over the api and everything that I am

usage of mapActions()

2008-12-28 Thread Arak Tai'Roth
So I have this problem. I have a controller called BuildsController, I have multiple edit pages within this controller as I have to edit multiple data through it, but the data comes from multiple models, not just the Build model. Anyways, so I have an edit() function, but also an

Re: usage of mapActions()

2008-12-28 Thread Arak Tai'Roth
I guess I should probably note that the line I gave that I am using is in my beforeFilter function in my Builds Controller. I also tried it in the App Controller, but that didn't make a difference either. On Dec 28, 2:55 pm, Arak Tai'Roth nielsen.dus...@gmail.com wrote: So I have this problem

Re: usage of mapActions()

2008-12-28 Thread Arak Tai'Roth
. On Dec 28, 7:24 pm, Arak Tai'Roth nielsen.dus...@gmail.com wrote: I guess I should probably note that the line I gave that I am using is in my beforeFilter function in my Builds Controller. I also tried it in the App Controller, but that didn't make a difference either. On Dec 28, 2:55 pm, Arak

Re: Using Gzip

2008-12-10 Thread Arak Tai'Roth
Is anybody able to help me with this? I've seen other ways of doing Gzip, such as mod_gzip, but I'm not sure if those ways gzip javascript files as well or just delivered html. So if there is a better way to do this then I am doing, please let me know. On Dec 9, 3:58 pm, Arak Tai'Roth [EMAIL

Re: Using Gzip

2008-12-10 Thread Arak Tai'Roth
. On Dec 9, 3:58 pm, Arak Tai'Roth [EMAIL PROTECTED] wrote: So I have tried to gzip some of my javascript files (primarily prototype.js) and using that instead of the normal. However for some reason, it's not working. What I used to have and is working is: $javascript-link(array('prototype

Re: Using Gzip

2008-12-10 Thread Arak Tai'Roth
Okay, with all of your help I believe I have been able to piece together a solution that will work for me. Thank you everyone for your help, it was greatly appreciated. On Dec 10, 1:48 pm, Jon Bennett [EMAIL PROTECTED] wrote: you could use a .htaccess file to achieve this I have the

Using Gzip

2008-12-09 Thread Arak Tai'Roth
So I have tried to gzip some of my javascript files (primarily prototype.js) and using that instead of the normal. However for some reason, it's not working. What I used to have and is working is: $javascript-link(array('prototype', 'scriptaculous.js?load=effects', 'fade_appear'), false); Then

Re: Multiple Instances of TinyMCE

2008-12-07 Thread Arak Tai'Roth
anyone able to help? On Dec 6, 9:04 am, Arak Tai'Roth [EMAIL PROTECTED] wrote: So I've been playing around with the TinyMCE Helper located in the bakery and so far it's been pretty awesome. However I do have one problem. In one of my areas there are two text boxes that need editing, and so I

Re: Multiple Instances of TinyMCE

2008-12-07 Thread Arak Tai'Roth
=mceSimple style=width:100%         /textarea         textarea name=content2 class=mceAdvanced style=width:100%         /textarea /form (Fromhttp://tinymce.moxiecode.com/examples/example_04.php) On Dec 7, 5:35 am, Arak Tai'Roth [EMAIL PROTECTED] wrote: anyone able to help? On Dec 6, 9:04 am

Re: Multiple Instances of TinyMCE

2008-12-07 Thread Arak Tai'Roth
It appears to have worked, so I guess I will just end up doing it this way. Thanks for your help. On Dec 7, 10:24 am, Arak Tai'Roth [EMAIL PROTECTED] wrote: yea, I was just hoping for something that would use the helper, as that's the entire reason why I have it. But if I have to do

Multiple Instances of TinyMCE

2008-12-06 Thread Arak Tai'Roth
So I've been playing around with the TinyMCE Helper located in the bakery and so far it's been pretty awesome. However I do have one problem. In one of my areas there are two text boxes that need editing, and so I would like TinyMCE to control both text boxes. This is my code for that part of the

JQuery and AjaxHelper

2008-11-27 Thread Arak Tai'Roth
So, from what I have learned in order to use the Ajax Helper in CakePHP I have to include the Prorotype and Scriptaculous libraries. However I have a lot of things I would like to be able to do, all that use JQuery, and I don't really want to have to include all 3 libraries if I don't have to. I

Re: Effect.Fade and Effect.Appear

2008-10-17 Thread Arak Tai'Roth
the only person around that has wanted to fade something out and then fade it back in again with one link clicked. On Oct 3, 10:28 pm, Arak Tai'Roth [EMAIL PROTECTED] wrote: I did read those, and realize that Effect.Appear only works on a style declared within the div tag, I have done that. However

Re: Effect.Fade and Effect.Appear

2008-10-17 Thread Arak Tai'Roth
I am not sure, I have never seen that function or know its use. I will look into it though. On Oct 17, 10:40 am, scs [EMAIL PROTECTED] wrote: Could you use a setTimeout() to get what you want? On Oct 17, 12:17 pm, Arak Tai'Roth [EMAIL PROTECTED] wrote: Okay, so I've been going back

Re: Effect.Fade and Effect.Appear

2008-10-03 Thread Arak Tai'Roth
I did read those, and realize that Effect.Appear only works on a style declared within the div tag, I have done that. However beyond that I don't see anything on those pages that relate to this problem. Unless Effect.Fade doesn't work on styles that are set in that matter. I figured it was a

Re: Effect.Fade and Effect.Appear

2008-09-30 Thread Arak Tai'Roth
Anyone able to assist in this matter? Not a big deal, as like I said, it works, I just wouldn't mind better. On Sep 29, 3:27 am, Arak Tai'Roth [EMAIL PROTECTED] wrote: This is my ajax link that I am using: echo $ajax-link($html-image('/img/portfolio/small/' . $portfolio['Portfolio

Effect.Fade and Effect.Appear

2008-09-29 Thread Arak Tai'Roth
This is my ajax link that I am using: echo $ajax-link($html-image('/img/portfolio/small/' . $portfolio['Portfolio']['picture'], array('alt' = $portfolio['Portfolio']['title'])), '/portfolios/view/' . $portfolio['Portfolio']['id'], array('update'= 'case_study', 'complete' =

Re: Newlines with the Email component

2008-09-08 Thread Arak Tai'Roth
at 5:38 PM, Arak Tai'Roth [EMAIL PROTECTED] wrote: I believe I said I had tried that in my above explanation. On Sep 3, 6:03 pm, Marcin Domanski [EMAIL PROTECTED] wrote: try $data .= 'Business: ' . $this-data['Contact']['business'] . \n -- Marcin Domanskihttp://kabturek.info On Wed

Re: Newlines with the Email component

2008-09-05 Thread Arak Tai'Roth
I believe I said I had tried that in my above explanation. On Sep 3, 6:03 pm, Marcin Domanski [EMAIL PROTECTED] wrote: try $data .= 'Business: ' . $this-data['Contact']['business'] . \n -- Marcin Domanskihttp://kabturek.info On Wed, Sep 3, 2008 at 9:17 PM, Arak Tai'Roth [EMAIL PROTECTED

Newlines with the Email component

2008-09-03 Thread Arak Tai'Roth
I have been spending some time with this problem as of late trying to figure out the solution but I haven't gotten anywhere, so I thought I would ask on here. I am trying to put newlines into the data I am sending via the email component. My code is as follows:

Cake + WAMP

2008-08-22 Thread Arak Tai'Roth
So I decided I would try using WAMP for my development setup. But for some reason I go to localhost and get the WAMP homepage fine, yet when I try to access my project I get this The requested URL /app/webroot/ was not found on this server.. I did edit the httpd.conf file to load mod_rewrite and

Re: Cake + WAMP

2008-08-22 Thread Arak Tai'Roth
Is anyone able to help me with this issue please? On Aug 22, 11:14 am, Arak Tai'Roth [EMAIL PROTECTED] wrote: So I decided I would try using WAMP for my development setup. But for some reason I go to localhost and get the WAMP homepage fine, yet when I try to access my project I get

Specific Directories

2008-08-18 Thread Arak Tai'Roth
So, I have this problem and wasn't even sure what to search for to find a solution, so I thought I would ask here. In my main directory, I have the normal cake folders app, cake, docs, and vendors. However, I also have a directory called portfolio. What I want is when a user types in

Re: Specific Directories

2008-08-18 Thread Arak Tai'Roth
to this problem? On Aug 18, 12:06 pm, Kalt [EMAIL PROTECTED] wrote: Simply add a rule to your www/.htaccess, so everything starting with portfolio/ is NOT redirected to index.php On 18 août, 19:44, Arak Tai'Roth [EMAIL PROTECTED] wrote: So, I have this problem and wasn't even sure what

Re: Specific Directories

2008-08-18 Thread Arak Tai'Roth
show that directory first insted of trying to find a controller for it HTH, -- Marcin Domanskihttp://kabturek.info On Mon, Aug 18, 2008 at 9:49 PM, Arak Tai'Roth [EMAIL PROTECTED] wrote: I thought that might be the solution. I was looking around at how to write RewriteRules in .htaccess

Re: tinymce not working

2008-07-21 Thread Arak Tai'Roth
hmmm, apparently it is looking for a tiny_mce controller from what I can see. On Jul 21, 2:11 pm, Arak Tai'Roth [EMAIL PROTECTED] wrote: Wow, can't believe I forgot to check that. But yes I am, tinyMCE is not defined in my coded included up above in / views/news/edit.ctp As well syntax

Re: tinymce not working

2008-07-21 Thread Arak Tai'Roth
And I get the same error with it as well. tinyMCE is not defined. On Jul 21, 2:59 pm, Arak Tai'Roth [EMAIL PROTECTED] wrote: Okay and I just tried that tinyMCE helper, pretty simple apparently. However it does not work either. And I did exactly as they have in the tut, including copying

Re: tinymce not working

2008-07-21 Thread Arak Tai'Roth
And if it wasn't clear. Still the same error tinyMCE in tinyMCE.init is undefined On Jul 21, 3:15 pm, Arak Tai'Roth [EMAIL PROTECTED] wrote: I just removed everything and decided to try again from scratch in case I messed up a step. Here are my steps in order as I did them: 1. Download

Re: tinymce not working

2008-07-21 Thread Arak Tai'Roth
? On Jul 22, 9:01 am, Arak Tai'Roth [EMAIL PROTECTED] wrote: And I get the same error with it as well. tinyMCE is not defined. On Jul 21, 2:59 pm, Arak Tai'Roth [EMAIL PROTECTED] wrote: Okay and I just tried that tinyMCE helper, pretty simple apparently. However it does not work either

Re: tinymce not working

2008-07-21 Thread Arak Tai'Roth
for the next :) 2008/7/21 Arak Tai'Roth [EMAIL PROTECTED]: hmmm, using firebug I can't seem to find any reference to it. On Jul 21, 3:18 pm, KingJackaL [EMAIL PROTECTED] wrote: Is the TinyMCE code actually being included (client side)? Check using Web Developer addon for Firefox or whatever

Re: tinymce not working

2008-07-21 Thread Arak Tai'Roth
}); /script The $javascript part is wrapped in php tags, the other is not. I have also included echo $scripts_for_layout; in my layout so that I can reference jscripts in my views instead. On Jul 21, 3:01 pm, Arak Tai'Roth [EMAIL PROTECTED] wrote: And I get the same error

Re: tinymce not working

2008-07-21 Thread Arak Tai'Roth
-transitional.dtd On Jul 21, 2:07 pm, Sam Sherlock [EMAIL PROTECTED] wrote: are you getting any javascript errors at all? 2008/7/21 Arak Tai'Roth [EMAIL PROTECTED]: So I read over in the bakery how to install TinyMCE and use it with CakePHP. However, it's not working for me even though

Re: tinymce not working

2008-07-21 Thread Arak Tai'Roth
-with-cakephp-an... 2008/7/21 Arak Tai'Roth [EMAIL PROTECTED]: hmmm, apparently it is looking for a tiny_mce controller from what I can see. On Jul 21, 2:11 pm, Arak Tai'Roth [EMAIL PROTECTED] wrote: Wow, can't believe I forgot to check that. But yes I am, tinyMCE is not defined in my

  1   2   >