Search found 27 matches

by carsten888
Mon Mar 24, 2008 5:24 pm
Forum: Joomla! Coding 101
Topic: JToolbar Questions in Comp. Development
Replies: 3
Views: 1504

Re: JToolbar Questions in Comp. Development

also in table 'components' there is a column where you can specify the image-icon used in the Joomla toolbar for your component. You can use the install() function in the installer-file to update this column.
by carsten888
Mon Mar 24, 2008 3:23 pm
Forum: Joombie Coding Q/A
Topic: Altering com_content
Replies: 1
Views: 681

Re: Altering com_content

sure you can just grab the content from table jos_content and output it any way you like.

the great thing about that is that you can search on the fly.

I don't know about the wiki-editor. never seen it.
by carsten888
Fri Mar 21, 2008 3:11 pm
Forum: Joombie Coding Q/A
Topic: mosReadDirectory equivalent for Joomla 1.5 ?
Replies: 2
Views: 541

Re: mosReadDirectory equivalent for Joomla 1.5 ?

Thank you! that was what I was looking for. to read languages from a folder for all versions of Joomla: if( defined('_JEXEC') ){ //joomla 1.5 jimport( 'joomla.filesystem.folder' ); $languages = JFolder::files(dirname(__FILE__).'/../language'); }else{ //joomla 1.0.x $languages = mosReadDirectory(dirn...
by carsten888
Fri Mar 21, 2008 8:32 am
Forum: Joombie Coding Q/A
Topic: mosReadDirectory equivalent for Joomla 1.5 ?
Replies: 2
Views: 541

mosReadDirectory equivalent for Joomla 1.5 ?

does anyone know the mosReadDirectory equivalent for Joomla 1.5 ?
by carsten888
Sun Mar 16, 2008 8:50 am
Forum: Joombie Coding Q/A
Topic: $my in Joomla 1.5 ? if($my->usertype=='Super Administrator')
Replies: 2
Views: 606

$my in Joomla 1.5 ? if($my->usertype=='Super Administrator')

How to get the usertype in Joomla 1.5?
In Joomla 1.0.x $my->usertype works fine, it also works in Joomla 1.5 in legacy mode.

How to do this?
by carsten888
Sat Mar 15, 2008 6:32 pm
Forum: Joombie Coding Q/A
Topic: no mysql_insert_id() after $this->db->setQuery( "INSERT
Replies: 3
Views: 629

Re: no mysql_insert_id() after $this->db->setQuery( "INSERT

solved! thanks to turbosaab.

Code: Select all

$id = $this->db->insertid(); 
works on Joomla 1.5 as well as on Joomla 1.0.x!


this was the only thing that kept my components from code running on both 1.0.x as well as 1.5!
by carsten888
Sat Mar 15, 2008 1:10 pm
Forum: Joombie Coding Q/A
Topic: Need a trick to override template in 1 page
Replies: 2
Views: 600

Re: Need a trick to override template in 1 page

your problem has more to do with that you want (if I understand you well) have on one page a componetn outputting in a position (which can be hacked in your template, no prob) but ALSO have other content in the 3 columns layout underneath. having 2 content-outputs on one page is something Joomla can...
by carsten888
Fri Mar 14, 2008 6:57 am
Forum: Joombie Coding Q/A
Topic: no mysql_insert_id() after $this->db->setQuery( "INSERT
Replies: 3
Views: 629

Re: no mysql_insert_id() after $this->db->setQuery( "INSERT

Judging by the code you have posted you are not executing the query.
sorry i didn't include that line, but as i said it all works.
insert/update/select all work fine like this excvept for mysql_insert_id()
by carsten888
Thu Mar 13, 2008 2:59 pm
Forum: Joombie Coding Q/A
Topic: no mysql_insert_id() after $this->db->setQuery( "INSERT
Replies: 3
Views: 629

no mysql_insert_id() after $this->db->setQuery( "INSERT

To make my components work in both Joomla 1.5 and older versions I made in the constructor of my class the $db into a var. All works except for when I make an insert, because I can't get the id any more. make the var: var $db; constructor: function class_pi(){ //constructor global $database; //get d...
by carsten888
Sat Mar 01, 2008 2:17 pm
Forum: Joombie Coding Q/A
Topic: component-title next to toolbar like 'Category Manager'
Replies: 4
Views: 533

Re: component-title next to toolbar like 'Category Manager'

thanks a lot. I was looking way deeper in the core-code then that :D
by carsten888
Sat Mar 01, 2008 9:58 am
Forum: Joombie Coding Q/A
Topic: component-title next to toolbar like 'Category Manager'
Replies: 4
Views: 533

Re: component-title next to toolbar like 'Category Manager'

thanks! brilliant.

would you happen to know it's Joomla 1.0.x equivalent ?
by carsten888
Sat Mar 01, 2008 9:30 am
Forum: Joombie Coding Q/A
Topic: component-title next to toolbar like 'Category Manager'
Replies: 4
Views: 533

component-title next to toolbar like 'Category Manager'

How do I make my component so I get the component's title on the admin-page (under Joomla-toolbar, left of components-toolbar) like in 'Category Manager' the big blue header (with icon) ?

can't find anything about this in tut's.

anyone?
by carsten888
Thu Feb 28, 2008 12:33 pm
Forum: Joombie Coding Q/A
Topic: $mainframe->getCfg('live_site'); https:// ?
Replies: 0
Views: 257

$mainframe->getCfg('live_site'); https:// ?

(AAAAgh! why o why are the number of characters in the subject never enough for my posts.) $mainframe->getCfg('live_site'); is this reliable to use for a admin component even if site uses secure socket https:// ? what I mean is, does it alway return the same value? can the value returned ever be any...
by carsten888
Mon Feb 25, 2008 7:25 pm
Forum: Joombie Coding Q/A
Topic: how to get $_POST['text'] from editor without JREQUEST_ALLOW
Replies: 0
Views: 261

how to get $_POST['text'] from editor without JREQUEST_ALLOW

(also in this new forum the subject line is just way too short) how to get $_POST['text'] from editor without JJREQUEST_ALLOWRAW and still be able to split it up in 2 strings, before and after the hr <hr id="system-readmore" /> so far I got this, but it's not save with the raw-data and it ...
by carsten888
Sun Feb 24, 2008 2:20 pm
Forum: Sites & Infrastructure - Feedback/Information
Topic: realy dont like the new forum
Replies: 8
Views: 799

Re: realy dont like the new forum

Google search has nothing to do with money, and more to do with helping people as best we can until we get our own search installed and working. the forum-search works, so why use the not yet indexed Google-search? in Google adds there is an option to put a google search on your site. If visitors c...
by carsten888
Sun Feb 24, 2008 7:45 am
Forum: Sites & Infrastructure - Feedback/Information
Topic: realy dont like the new forum
Replies: 8
Views: 799

Re: realy dont like the new forum

Why does it bug you that much? You don't have to click it. just more clutter in a layout where its hard to tell the difference between different posts (on my laptop the colour contrasts are not strong enough). People will just have to be a bit patient with Joomla! until everything is re-indexed tru...
by carsten888
Sat Feb 23, 2008 9:45 am
Forum: Sites & Infrastructure - Feedback/Information
Topic: realy dont like the new forum
Replies: 8
Views: 799

Re: realy dont like the new forum

and "Code: Select all" should go!
or at least lets make this a optional thing in profile.
by carsten888
Sat Feb 23, 2008 9:37 am
Forum: Sites & Infrastructure - Feedback/Information
Topic: realy dont like the new forum
Replies: 8
Views: 799

realy dont like the new forum

sorry to say this, but I realy don't like the new forum. One can't argue about taste, but the layout-change did not improve readability at all. on a laptop the colour-constrasts are too vague. :-[ and search functionality through google does not seem to be indexed yet, so that doesn't work. to get t...
by carsten888
Wed Mar 14, 2007 1:30 pm
Forum: JoomlaCode - Feedback/Information
Topic: one can not submit a snippet without a selecting a licence (like GPL). There is
Replies: 1
Views: 831

one can not submit a snippet without a selecting a licence (like GPL). There is

one can not submit a snippet without a selecting a licence (like GPL). There is no explanation (just in short) of what the licence means, and a link to the the full licence-text would be nice.
by carsten888
Wed Mar 14, 2007 1:06 pm
Forum: JoomlaCode - Feedback/Information
Topic: after submitting a snippet, you can not edit or delete it.
Replies: 1
Views: 814

after submitting a snippet, you can not edit or delete it.

after submitting a snippet, you can not edit or delete it.
by carsten888
Wed Mar 14, 2007 12:48 pm
Forum: JoomlaCode - Feedback/Information
Topic: the categories of snippets have no relation to the snippets of 3rd party develop
Replies: 1
Views: 857

the categories of snippets have no relation to the snippets of 3rd party develop

the categories of snippets have no relation to the snippets of 3rd party developers-code.
by carsten888
Wed Mar 14, 2007 12:18 pm
Forum: JoomlaCode - Feedback/Information
Topic: email-adresses of users show in profile! There is no way in "my account" to und
Replies: 1
Views: 876

email-adresses of users show in profile! There is no way in "my account" to und

email-adresses of users show in profile! There is no way  in "my account" to undo this.
by carsten888
Wed Mar 14, 2007 10:52 am
Forum: Announcements Discussions
Topic: Discuss: JoomlaCode.org Shifts Forge's Gears
Replies: 39
Views: 14432

Re: Discuss: JoomlaCode.org Shifts Forge's Gears

Please follow the directions and ask questions like this in the correct forum.

where is the correct forum if not here?
by carsten888
Wed Mar 14, 2007 9:44 am
Forum: Announcements Discussions
Topic: Discuss: JoomlaCode.org Shifts Forge's Gears
Replies: 39
Views: 14432

Re: Discuss: JoomlaCode.org Shifts Forge's Gears

nice new environment! however: - email-adresses of users show in profile! There is no way  in "my account" to undo this. - the categories of snippets have no relation to the snippets of 3rd party developers-code. - after submitting a snippet, you can not edit or delete it. - one can not submit ...
by carsten888
Tue Jun 06, 2006 7:00 am
Forum: Submit Your Suggested Tips & Tricks Here
Topic: Components and modules tutorials
Replies: 6
Views: 7086

Re: Components and modules tutorials

thank you, that really helps.
by carsten888
Mon May 29, 2006 7:39 am
Forum: Submit Your Suggested Tips & Tricks Here
Topic: Components and modules tutorials
Replies: 6
Views: 7086

Re: Components and modules tutorials

where to download an example-component with commented code?

like "hello world" on:
http://help.joomla.org/content/view/773/125/
but then a complete install and uninstallable com.