... Hey Kurt, Javascript is client-side, PHP is server-side. You need to put javascript inside the dsp_main.php - in the display area, not inside the fusebox...
Not knowing the specifics of your project and assuming your javascripts are required site-wide, I'd place the javascript includes in the layout file. Open ...
I am wondering, how I can use htaccess while running fusebox. Busy with designing an admin tool for several different users. I made 1 menu for all users,...
... I don't use the htaccess (not even sure what that is to be honest) but I have done things like this in php many times: if($_SESSION["userlevel"]=="1"){ ...
Thanks Geoffrey, will have a look at it with a friend. I am not really experienced with PHP unfortunately, but my friend knows much more about it. Regards, Rob...
Htaccess is controlled by the webserver. It really has nothing to do with php. Theoretically, if were using htaccess files, you would have them inside a...
Rolling your own security system, or at least using one someone else built, is really the best way to have the most control over the situation. However, there...
hello, I'm new to php fusebox and I'm making a news-system (using mysql). It's all going smooth, until I wanted to split the layout and the code. Because I'm...
... This is a HUGE topic. I would advise you to have a look at smarty, http://smarty.php.net/ since it offers probably the best and most widely used ways of...
With all due respect to Geoff's opinion, I think that Smarty is not needed, and is only redundantly doing what PHP already IS. You can never get totally away...
Thanks, for your suggestions! I think that fusebox already is "some sort of" template-system. Has anybody an example of using while-loops with qry_'s, dsp_'s...
... It is needed if you want to separate logic from presentation. O'Reason said he wants to split the layout and the code. Smarty does this, Fusebox doesn't. I...
I don't think we need to get drowned in a debate about the merits of Smarty vs. Fusebox (and I think they can coexist, though I don't use Smarty). But I'll...
For most of my layouts I have a big table with two colums. The left column is the menu and the right column is the "stuff". The layout file has the body,...
Hi Geoff, ... By using a Smarty template to render a dataset (for example 5 rows of data in a table), you *need* to use the Smarty looping construct - which is...
... Speaking of which, isn't there now a Fusebox 4.0 for CF? I haven't looked at it closely, but I got the impression from Hal Helms' newsletter that it was ...
There are two versions coming: FB4 AND FBMX for ColdFusion. I think the Beta release is scheduled for May 7. There should be a PHP version for the FB4 by...
Hi, I'm "making" a member-system using php, mysql and fusebox but I can't get to seperate the phpcode (act_) en queries (qry_). I use the following script: ...
... Hey O- I'm a little confused by your post - not sure what you're asking. Here's what I do: I have a dsp_login.php that puts up a form. The action of the...
] I'm "making" a member-system using php, mysql and fusebox but I ] can't get to seperate the phpcode (act_) en queries (qry_). ] ] I now make qry_'s with...
In fusebox, when you write your dsp_ pages, you are somewhat splitting the logic and presentation. Yes, it is not entirely the separation of html and php. 100%...
Hello, I am planning on using PEAR along side Fusebox (primarily for the DB and Auth packages). I've been working with FB for a little while, but I'm pretty...
Pear is simply a library of classes. If you are familiar with Java Foundation Classes or the Microsoft Foundation Classes you could basically think of the...
I took a look at the Pear DB stuff a while back and it seemed very daunting, so I wrote my own DB abstraction class. Maybe I should have a look again. I would...
<unlurk> I'd recommend that anyone interested in database abstraction look at ADOdb (http://php.weblogs.com/ADODB). I've looked at PEAR before and it's not...
If you're talking specifically about DB, to get started I would do the following to set up PEAR DB (the database abstraction layer) in PHP Fusebox. Keep in...
Thanks Mike and all the others who responded. I appreciate the dialogue and information. Does anyone have any experience with the PEAR Auth package and FB?...