Search found 20 matches

by madsamurai
Fri Mar 14, 2008 7:14 am
Forum: Joombie Coding Q/A
Topic: helper files in component
Replies: 0
Views: 315

helper files in component

I can't seem to find any documentation about how to properly include helper files in J1.5 components. Is it as simple as a require_once() statement? Do the classes in the helper file require any special naming convention, and can there be more than one class in a helper file, or do I need a helper f...
by madsamurai
Sun Mar 09, 2008 7:30 am
Forum: Joomla! Extensions Directory Forum
Topic: Separate Extensions by 1.0 and 1.5
Replies: 11
Views: 2344

Re: Separate Extensions by 1.0 and 1.5

It would also help if the 1.5 extensions included ONLY those that worked without using legacy mode. yes, please. legacy mode add-ons annoy me to death when I'm searching for 1.5 adds. I personally feel legacy-mode adds shouldn't get the 1.5 icon (maybe should have their own icon) as many don't ment...
by madsamurai
Sun Mar 09, 2008 6:55 am
Forum: Sites & Infrastructure - Feedback/Information
Topic: framework wiki discussion forms close to useless
Replies: 1
Views: 423

framework wiki discussion forms close to useless

the code example on http://dev.joomla.org/component/option,com_jd-wiki/Itemid,/id,references:joomla.framework:filesystem:jfile-upload/ doesn't work... the author even says it won't work. so once I figured out how to make it work, I thought I'd be helpful and post a working example in the discussion ...
by madsamurai
Thu Mar 06, 2008 4:33 am
Forum: Joombie Coding Q/A
Topic: How to manually override the pathway
Replies: 0
Views: 356

How to manually override the pathway

I'm writing a fairly complex custom component, and I'm having trouble managing my breadcrumbs. Joomla (1.5.1) seems to want to add things I don't want, and doesn't seem to consistently include the base component link. Seems much more dependent on the menus than it does on the component structure. An...
by madsamurai
Tue Mar 04, 2008 3:21 pm
Forum: Joombie Coding Q/A
Topic: png transparency in J1.5
Replies: 5
Views: 1320

Re: png transparency in J1.5

I have found a js fix called SuperSleight (http://24ways.org/2007/supersleight-transparent-png-in-ie6) that looks like it will do the trick, but I haven't had time to try it yet... looks like it should be simple enough to just include in the head of a template. It says it does both foreground and ba...
by madsamurai
Thu Feb 28, 2008 10:44 pm
Forum: Joombie Coding Q/A
Topic: sanitizing field inputs
Replies: 3
Views: 538

Re: sanitizing field inputs

Rogue4ngel wrote:What version of Joomla are you working with??
working in J1.5.1
by madsamurai
Thu Feb 28, 2008 3:22 pm
Forum: Joombie Coding Q/A
Topic: sanitizing field inputs
Replies: 3
Views: 538

Re: sanitizing field inputs

OK... maybe I'm asking this the wrong way.

What is the proper way to clean a post array from form inputs? maybe JFilter is what I'm looking for? I keep trying stuff, and just keep getting errors.
by madsamurai
Tue Feb 26, 2008 10:15 pm
Forum: Joombie Coding Q/A
Topic: sanitizing field inputs
Replies: 3
Views: 538

sanitizing field inputs

I was wondering about the usage of JRequest::clean() vs JRequest::cleanVar()... what is the difference, and when to use which? I want to sanitize my form input data before I save it to the database, so in my save function would I use something like: $data = JRequest::cleanVar( 'post' ); or do I need...
by madsamurai
Sat Jan 05, 2008 7:32 pm
Forum: Joombie Coding Q/A
Topic: Adding to page from component view
Replies: 0
Views: 366

Adding to page from component view

How can I add stuff (in this case I need to add a few extra css styles) to the head of the output html from within a component view? I'm sure I'm missing something simple here... --- update ---- I found the answer... just hadn't looked hard enough. JDocumentHTML::addCustomTag as described here: m
by madsamurai
Sat Jan 05, 2008 6:39 pm
Forum: Joombie Coding Q/A
Topic: Questions about Mootools inclusion in J1.5
Replies: 0
Views: 453

Questions about Mootools inclusion in J1.5

I've been using mootools in various areas of my J1.5 development site, and have some questions as to exactly how mootools is incorporated into the base Joomla setup. 1) I've noticed if I use mootools funtions in my template, it works without implicitly includiing the mootools JS, which says to me th...
by madsamurai
Tue Nov 13, 2007 6:35 pm
Forum: Joombie Tools of the Trade
Topic: Building the Ship - IDE
Replies: 116
Views: 45042

Re: Building the Ship - IDE

Sorry if I missed it, but has anyone written a how-to for OSX yet?  Hope you all don't forget us mac guys...  What do you mean "you all?" Aren't you one of us?  I'm serious here - please consider contributing an OSx guide to the community. You could use the Windows or Linux one to he...
by madsamurai
Tue Nov 13, 2007 5:50 pm
Forum: Joombie Tools of the Trade
Topic: Building the Ship - IDE
Replies: 116
Views: 45042

Re: Building the Ship - IDE

Sorry if I missed it, but has anyone written a how-to for OSX yet?  Hope you all don't forget us mac guys...  :)
by madsamurai
Wed Nov 07, 2007 4:50 pm
Forum: Joombie Coding Q/A
Topic: Weird main content issue
Replies: 1
Views: 482

Re: Weird main content issue

Your problem isn't with joomla, it's in your template/css. Instead of floating everything left and right, you'd probably be a lot better off to create two columns and just use relative positioning. Floats can get really messy. You can google search for 'css 2 column layouts' or something like that a...
by madsamurai
Wed Nov 07, 2007 4:10 pm
Forum: Joombie Coding Q/A
Topic: Modifying mod_mainmenu output
Replies: 0
Views: 405

Modifying mod_mainmenu output

I've been trying for weeks to get a decent dropline menu happening that works across all browsers. I've tried a few different methods, each of which works to some extent, but generally fails one browser or another. My new hero, Stu Nicholls at cssplay.co.uk has got one that works beautifully, but it...
by madsamurai
Wed Nov 07, 2007 3:50 pm
Forum: Joombie Coding Q/A
Topic: MVC confusion
Replies: 2
Views: 635

Re: MVC confusion

Hi houby, That was very helpful... not sure why it didn't show up in my search for MVC. It at least clarifies the relationships between the various files. I think the most confusing part for me is understanding how those files reference each other. I'm beginning to understand that if things are name...
by madsamurai
Tue Nov 06, 2007 7:25 pm
Forum: Joombie Coding Q/A
Topic: png transparency in J1.5
Replies: 5
Views: 1320

Re: png transparency in J1.5

Thanks, ford. Actually my problem is with css background images with transparency. Foreground images are good using the scripts out of the ultimatePNG fix plugin for J1.0, but the background png fix script doesn't work with J1.5. Unfortunately the developers aren't interested in fixing it until J1.5...
by madsamurai
Tue Nov 06, 2007 7:18 pm
Forum: Joombie Coding Q/A
Topic: MVC confusion
Replies: 2
Views: 635

MVC confusion

I'm trying to develop my first Joomla component, and am developing for 1.5. I've been thru the tutorials on the 1.5 MVC model, and am getting confused trying to understand other existing components in relation to the tuturials, and how my own should be structured. The tutorials demonstrate using mod...
by madsamurai
Wed Oct 03, 2007 4:51 pm
Forum: Joombie Coding Q/A
Topic: mootools effects in component view
Replies: 1
Views: 557

Re: mootools effects in component view

ok, got that working... just hadn't closed my tag right. stupid wasted day...  Better question: I'm looking at the admin com_cpanel, and I see there is a built-in 'pane' library used to set up the accordion on the control panel. Would I be better off using that instead? Can someone give me a qu...
by madsamurai
Tue Oct 02, 2007 8:18 pm
Forum: Joombie Coding Q/A
Topic: png transparency in J1.5
Replies: 5
Views: 1320

png transparency in J1.5

I'm upgrading a site from J1.0.12 to J1.5. The template uses a bunch of PNGs with transparency, and with the old J1.0.12 site, I was using the Ultimate PNG Fix mambot from JoomlaWorks.  This no longer works with 1.5 (in legacy mode).

Any suggestions?
by madsamurai
Tue Oct 02, 2007 6:52 pm
Forum: Joombie Coding Q/A
Topic: mootools effects in component view
Replies: 1
Views: 557

mootools effects in component view

Hi. sorry for double posting this, but this seems the more appropriate area for this question. I'm developing my first component from scratch, and am having problems using mootools accordion in my view. I just can't make it work, and don't know what I'm missing. Here's the code in my default view te...