From bz-gmort at beezifies.com Wed Aug 1 13:12:03 2007
From: bz-gmort at beezifies.com (Gary Mort)
Date: Wed, 01 Aug 2007 13:12:03 -0400
Subject: [joomla] Meetings
Message-ID: <46B0BEE3.6080602@beezifies.com>
I was wondering if any NYC area Joomla users would be interested in
having a monthly meeting or occassional adhoc meetups.
Been discussing this over on the Joomla forums, finally figured I'd bite
the bullet and see what sort of interest there is, and what sort of
space can be arranged.
If your interested, please fill out my polls at http://www.beezifies.com
If I'm reinventing the wheel here and there is a monthly meeting, please
let me know!
-Gary
From rothmail at comcast.net Thu Aug 2 00:08:03 2007
From: rothmail at comcast.net (David A. Roth)
Date: Thu, 2 Aug 2007 00:08:03 -0400
Subject: [joomla] Meetings
In-Reply-To: <46B0BEE3.6080602@beezifies.com>
References: <46B0BEE3.6080602@beezifies.com>
Message-ID: <8032668E-EC1F-45EB-80D7-C4BDC24151F2@comcast.net>
This is an excellent idea!
David
On Aug 1, 2007, at 1:12 PM, Gary Mort wrote:
> I was wondering if any NYC area Joomla users would be interested in
> having a monthly meeting or occassional adhoc meetups.
>
> Been discussing this over on the Joomla forums, finally figured I'd
> bite the bullet and see what sort of interest there is, and what
> sort of space can be arranged.
>
> If your interested, please fill out my polls at http://
> www.beezifies.com
>
> If I'm reinventing the wheel here and there is a monthly meeting,
> please let me know!
>
> -Gary
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
From rolan at omnistep.com Thu Aug 2 13:04:00 2007
From: rolan at omnistep.com (Rolan Yang)
Date: Thu, 02 Aug 2007 13:04:00 -0400
Subject: [joomla] is there a better way to accomplish this?
Message-ID: <46B20E80.6080306@omnistep.com>
I implemented a design such that my com_content articles are enclosed in
a lighter shade rounded-corners style box as can be seen in this example:
http://www.omnistep.com/joomlamods/
The css and html code to generate the rounded corners box was taken from
http://www.spiffycorners.com/
To make this work across for the joomla content, I modified
/content/com_content.html.php by hardcoding the css into the "function
show()" script as can be seen below.
I thought this was kind of a dirty way to accomplish the task. Can
anyone offer a better suggestion? I don't want to have to manually
insert the rounded corner box html code when creating the articles. That
would be too complicated for the end user content managers. Is there
some sort of postfilter or mambot that can be used to accomplish this in
more simple manner, perhaps one that would not require modifying the
joomla source?
modified content.html.php:
515
516
517
518
519
520
521
522
523
524
525 text );
531 ?>
532
533
534
535
536
537
538
539
540
541 |
542
543
References: <200708021600.l72G0nqQ014879@beth.svots.edu>
Message-ID: <87C130F0-7338-4038-A710-BAD7207CEEDB@svots.edu>
I would be interested, too. I don't know where people are situated,
but if Westchester County is convenient, we could offer space (at
least occasionally) at St Vladimir's Orthodox Theological Seminary
(www.svots.edu).
Rev. Protodeacon Kirill Sokolov
Director of Systems
St. Vladimir's Orthodox Theological Seminary
From bz-gmort at beezifies.com Thu Aug 2 14:25:00 2007
From: bz-gmort at beezifies.com (Gary Mort)
Date: Thu, 02 Aug 2007 14:25:00 -0400
Subject: [joomla] is there a better way to accomplish this?
In-Reply-To: <46B20E80.6080306@omnistep.com>
References: <46B20E80.6080306@omnistep.com>
Message-ID: <46B2217C.6020109@beezifies.com>
Rolan Yang wrote:
> I thought this was kind of a dirty way to accomplish the task. Can
> anyone offer a better suggestion?
I'm not too familiar with it, but on a per content basis, you can go to
Parameters and set a CSS suffix to be used for the page when the content
item is displayed.
So if you set that suffix on a content item, you should be able to
compare the source of content with and without it and locate the class
that is set for the content item itself and style that with your rounded
corners.
From rolan at omnistep.com Thu Aug 2 14:53:17 2007
From: rolan at omnistep.com (Rolan Yang)
Date: Thu, 02 Aug 2007 14:53:17 -0400
Subject: [joomla] is there a better way to accomplish this?
In-Reply-To: <46B2217C.6020109@beezifies.com>
References: <46B20E80.6080306@omnistep.com> <46B2217C.6020109@beezifies.com>
Message-ID: <46B2281D.5080007@omnistep.com>
Gary Mort wrote:
> Rolan Yang wrote:
>> I thought this was kind of a dirty way to accomplish the task. Can
>> anyone offer a better suggestion?
>
> I'm not too familiar with it, but on a per content basis, you can go
> to Parameters and set a CSS suffix to be used for the page when the
> content item is displayed.
>
> So if you set that suffix on a content item, you should be able to
> compare the source of content with and without it and locate the class
> that is set for the content item itself and style that with your
> rounded corners.
> _
The difficulty is in the fact that the rounded corners can not be
created purely in a css class, it requires insertion of some html
objects (assigned the css classes) before and after the content to
create the top and bottom of the rounder corner effect.
From bz-gmort at beezifies.com Thu Aug 2 15:08:40 2007
From: bz-gmort at beezifies.com (Gary Mort)
Date: Thu, 02 Aug 2007 15:08:40 -0400
Subject: [joomla] is there a better way to accomplish this?
In-Reply-To: <46B2281D.5080007@omnistep.com>
References: <46B20E80.6080306@omnistep.com> <46B2217C.6020109@beezifies.com>
<46B2281D.5080007@omnistep.com>
Message-ID: <46B22BB8.4010209@beezifies.com>
Rolan Yang wrote:
> The difficulty is in the fact that the rounded corners can not be
> created purely in a css class, it requires insertion of some html
> objects (assigned the css classes) before and after the content to
> create the top and bottom of the rounder corner effect.
Ahh.. As I recall there are a number of javascript solutions for rounded
corners that work on the class. So you just need to give your content
the appropriate class and have the javascript run onload(easily added to
index.php) and it will go out and update all those content items for you.
If you really like this particular implementation of rounded corners for
the way it looks, than I'd recommend modifying one of the java script
solutions to implement this one.
From jthomas at stinkbug.net Thu Aug 2 17:05:31 2007
From: jthomas at stinkbug.net (Justin Thomas)
Date: Thu, 2 Aug 2007 16:05:31 -0500
Subject: [joomla] fatal error
Message-ID:
I'm trying to modify the JConfig class to look up some the values from
the database.
My code is triping up on this line.
$db =& JFactory::getDBO();
The error I'm receiving is:
Fatal error: Class 'JFactory' not found in
C:\projects\htdocs\cms_stuff\joomla\configuration.php on line 72
Can anyone help me out? I thought this library was being called in
the framework.php file.
--
Justin Thomas
Stinkbug Design
http://www.stinkbug.net/design/
From bz-gmort at beezifies.com Sat Aug 4 15:10:09 2007
From: bz-gmort at beezifies.com (Gary Mort)
Date: Sat, 04 Aug 2007 15:10:09 -0400
Subject: [joomla] Joomla meetings
Message-ID: <46B4CF11.9070003@beezifies.com>
Just a reminder, if your in or can come to NYC and are interested in
having a monthly meeting, please vote in my poll so I can find out how
many people are interested.
http://www.beezifies.com - Select the meeting poll at least, and if your
interested in an adhoc get together, let me know what days are best.
So far only 7 people, including myself, have voted. Thursday seems to
be the best day.
Hans Zaunere from the NY PHP group was kind enough to reply to my post
finding out about space to say the PHP group had office space available
that we could meet at. So it looks to me like a strong possibility that
we can get a meeting going.
I'll run the current poll for a few more days to see if we can drum up
any more interest, than run the top days past Hans for availability, and
then put up a couple new polls to see which week is best for meeting for
the top days(I guess it would go first Xday of the month, 2nd Xday of
the month, 3rd Xday of the month and last Xday of the month?)
Also if the space is available, I'll see if we can go ahead and have an
ad hoc meeting sooner so those who want to get together sooner can while
we wait to settle on a day.
From bz-gmort at beezifies.com Sun Aug 5 19:38:49 2007
From: bz-gmort at beezifies.com (Gary Mort)
Date: Sun, 05 Aug 2007 19:38:49 -0400
Subject: [joomla] Joomla Meetings
Message-ID: <46B65F89.7000403@beezifies.com>
Well, there is definitely enough interest to have a meeting. Right now
after looking at the polls, Thursdays look best. I've talked with Hans
over at the NY PHP group
and they have generously agreed to give us space on Thursdays evenings
to host a meeting, so it's a good deal all around.(I'm sorry to those of
you who indicated Thursday wasn't the best day. The next best day seems
to be Saturday, so maybe once we are up and running we can have the
occasional Saturday meeting somewhere as well. Hosting space is more
problematic for Saturdays. And my daughter would kill me if I committed
to give up one her days every month.so it will have to be occassional -
or a family friendly locale)
The next poll is up to find out which week is best! So go fill it out!
http://www.beezifies.com
If you have a suggestion on a place to meet informally, shoot me a
contact using the contact
form. If there are no suggestions, my own inclination would either
be the lobby at the IBM Building (590 Madison Ave) or the Barnes and
Noble in Union Square.
We will plan for our first official meeting to be next month, however
THIS month is a summer party being hosted by the PHP Group!
"At 6:30pm on August 23rd, we'll be getting together on the roof-top
lounge of The Delancey, in the Lower-East Side. The roof-top is a small
piece of tropic serenity in Manhattan, with a relaxing fountain, lush
plants, and a great view - and of course WiFi."
See their website, http://www.nyphp.org/index.php for more details. This
seems like an excellent time for us to get together and have an initial
meeting, as well as finalize the results from the next poll and see what
day we want to meet.
From bz-gmort at beezifies.com Sat Aug 11 06:07:47 2007
From: bz-gmort at beezifies.com (Gary Mort)
Date: Sat, 11 Aug 2007 06:07:47 -0400
Subject: [joomla] Meeting on the 23rd
Message-ID: <46BD8A73.1000706@beezifies.com>
Just a reminder everyone, we will be holding our first meeting on
Thursday the 23rd to get to see others face to face at the NY PHP event,
as well as decide on a week of the month to meet.
If you can't make it, please vote in my poll so I have feedback from
everyone(poll is on my site, http://www.beezifies.com)
I'd like to meet Joomla users of all skill levels, not just PHP geeks!
I figure it is a good way for all of us to learn something, if nothing
else the geeks can learn why our overlycomplicated little tools and
snippets aren't used by anyone else, and the users can get an idea of
just how complicated changes are.
From anna_ppalm at yahoo.com Sat Aug 11 13:39:25 2007
From: anna_ppalm at yahoo.com (Anna Palm)
Date: Sat, 11 Aug 2007 10:39:25 -0700 (PDT)
Subject: [joomla] Re: joomla Digest, Vol 8, Issue 3
Message-ID: <439640.72003.qm@web34708.mail.mud.yahoo.com>
I would like to go too, but I am currently out of the country. Will be back end of the month.
Let me know if it will happen next month as well.
Anna
joomla-request at lists.nyphp.org wrote: Send joomla mailing list submissions to
joomla at lists.nyphp.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.nyphp.org/mailman/listinfo/joomla
or, via email, send a message with subject or body 'help' to
joomla-request at lists.nyphp.org
You can reach the person managing the list at
joomla-owner at lists.nyphp.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of joomla digest..."
Today's Topics:
1. Joomla meetings (Gary Mort)
----------------------------------------------------------------------
Message: 1
Date: Sat, 04 Aug 2007 15:10:09 -0400
From: Gary Mort
Subject: [joomla] Joomla meetings
To: NYPHP SIG: Joomla
Message-ID: <46B4CF11.9070003 at beezifies.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Just a reminder, if your in or can come to NYC and are interested in
having a monthly meeting, please vote in my poll so I can find out how
many people are interested.
http://www.beezifies.com - Select the meeting poll at least, and if your
interested in an adhoc get together, let me know what days are best.
So far only 7 people, including myself, have voted. Thursday seems to
be the best day.
Hans Zaunere from the NY PHP group was kind enough to reply to my post
finding out about space to say the PHP group had office space available
that we could meet at. So it looks to me like a strong possibility that
we can get a meeting going.
I'll run the current poll for a few more days to see if we can drum up
any more interest, than run the top days past Hans for availability, and
then put up a couple new polls to see which week is best for meeting for
the top days(I guess it would go first Xday of the month, 2nd Xday of
the month, 3rd Xday of the month and last Xday of the month?)
Also if the space is available, I'll see if we can go ahead and have an
ad hoc meeting sooner so those who want to get together sooner can while
we wait to settle on a day.
------------------------------
_______________________________________________
joomla mailing list
joomla at lists.nyphp.org
http://lists.nyphp.org/mailman/listinfo/joomla
End of joomla Digest, Vol 8, Issue 3
************************************
---------------------------------
Need a vacation? Get great deals to amazing places on Yahoo! Travel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From bz-gmort at beezifies.com Sat Aug 11 20:48:38 2007
From: bz-gmort at beezifies.com (Gary Mort)
Date: Sat, 11 Aug 2007 20:48:38 -0400
Subject: [joomla] Joomla meetings, your feedback needed
Message-ID: <46BE58E6.80805@beezifies.com>
As some of you may be aware, I'm trying to get Joomla meetings going in NYC.
NYPHP will be providing space for us for a monthly Thursday meeting.
I've been running polls on my website(I have been setting it up lately
for my independent consulting work, since I have the space there anyway,
I figured might as well use it.)
From the poll feedback, it looks like either the second or third week
of the month is likely to be the week of choice.
I will be at the NYPHP event on the 23rd of this month to meet people
interested in going to monthly meetings so we can finalize a week.
I have also setup a new poll, slightly longer this time, to get some
feedback on what types of presentations people are interested in. For
the most part, I've listed things I have done, or am in the process of
doing, so if no one else wants to present I can at least plan on
reviewing something of interest to the people coming to the meeting(just
don't expect a "professional" presentation - I'll try to be informative
and not withhold "secrets" - as I've found most Joomla books seem to do.)
The polls are under NYC Joomla SIG on the menubar, and active polls are
displayed in the right hand menubar. My website is http://www.beezifies.com
So go ahead an give me some feedback - the only way we can do things
you find interesting is if you tell me what you want.
From dan at muchospanish.com Sun Aug 12 17:40:38 2007
From: dan at muchospanish.com (Dan)
Date: Sun, 12 Aug 2007 17:40:38 -0400
Subject: [joomla] Joomla meetings, your feedback needed
In-Reply-To: <46BE58E6.80805@beezifies.com>
References: <46BE58E6.80805@beezifies.com>
Message-ID:
Hi,
I fell in love with Joomla about 10 months ago. I'd love to meet on the
23rd. I'm a non-PHP type. I went to a few NY-PHP meetings just to meet
Joomla people, but I didn't meet any. Where are we meeting? The Delancy at
6:30?
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From bz-gmort at beezifies.com Mon Aug 13 02:20:13 2007
From: bz-gmort at beezifies.com (bz-gmort at beezifies.com)
Date: Mon, 13 Aug 2007 02:20:13 -0400
Subject: [joomla] Joomla meetings, your feedback needed
In-Reply-To:
References: <46BE58E6.80805@beezifies.com>
Message-ID: <46BFF81D.6000400@beezifies.com>
Dan wrote:
> Hi,
>
> I fell in love with Joomla about 10 months ago. I'd love to meet on
> the 23rd. I'm a non-PHP type. I went to a few NY-PHP meetings just to
> meet Joomla people, but I didn't meet any. Where are we meeting? The
> Delancy at 6:30?
>
>
Yes, we will be combining the summer party with a meeting to get to meet
other Joomla users and determine which week of the month we want to meet on.
Right now it looks like any week but the fourth. My own leaning would
be the second or third week of the month, only so that there will be at
least a 3 week gap between the 23rd and the first official stand alone
meeting. In fact, I will try to send Hans a message later tonight to
find out if any of those weeks would be a problem for starting in
September(I'd like to start ASAP to keep the ball rolling)
I'd like to have some sort of presentation for the first independent
meeting, so I'm soliciting feedback now for the types of presentations
people are interested in.
I've primarily listed choices for items that I can speak to directly
since I figure the chances of our getting anyone more experienced at
speaking and willing to do so for the first month or two to be slim.
From my own focus, the main idea would be to discuss how/what I did
related to the topic with an existing website. As what I've done there
has covered the gamut of setting up a theme club template, modifying the
template to accomodate specific needs(generally adding at least 2, if
not more, module positions to the layout, as well as removing some
"features" I am not enamored with myself, and making some changes to the
layout of some of the module positions), installing and configuring a
number of modules and components, debranding said modules(and setting up
a credits page), integrating components together(primarily making a
component aware/use the secrurity settings of a subscription module as
well as making custom components and integrating them with the original
components), and creating a component.
I've found that with Joomla, while all of the above might sound like a
lot of work, it tends to be a lot less as you only have to deal with
small, manageable bites at a time - as well as being able to borrow at
least 75% of my code from existing modules(this does have copyrwrite
implications)
I'm not sure how other people feel about theme clubs, my own feeling is
that while I COULD do the same thing, provided I wanted to spend the
time doing it(over a week to do for a decent layout). At the end, I'd
have a decent Generic template tuned for a specific need. With an
established template club, I get at least half a dozen templates for
different purposes, for minimal cost(there is the issue of picking a
template club, though. As there is a great amount of reuse from
template to template. I've seen sites with over 50 templates, that when
I really look at them turn out to be variations on 2 or 3 templates with
different graphics and color schemes. I don't want 50 templates, but I
do want at least 5 unique templates that are generic enough to be used
on many different sites). I still end up modifying and changing it
quite a bit, but time wise it turns a large project into a manageable
one. (and to be honest, their ui design skills are better than my own,
so why not leverage it?)
I've only dealt with 1 theme club, so how that compares to others I
don't know. I do find the community of the theme club has been very
helpful when it comes to layout and presentation. Moreso than the
general Joomla community . I can understand the difference, as a
programmer, I find layout and presentation to be mindnumbingly boring
and I have little interest in making minor positioning changes. What's
worse, is when someone comes along who is clearly getting paid to do all
this and than demands free help on a forum. With the theme club,
everyone there is doing it commercially so they lack the general
attitudes you find on GPL focused forums. And the employees of the club
itself are amazingly helpful in handling things outside the scope of the
template itself.
If I want coding help regarding a component, I ask on a component
forum/ If I want layout help, I ask on a theme club forum. If I want
general coding help, I ask on the Joomla forums and don't get any replies.
(and keep in mind, when I say help, I don't mean "write my code for
me". I mean: I would like integrate this component/extend some
functionality. What is the API or function call for the base function I
should be using/modifying.)
From dan at muchospanish.com Mon Aug 13 09:06:15 2007
From: dan at muchospanish.com (Dan)
Date: Mon, 13 Aug 2007 09:06:15 -0400
Subject: [joomla] Joomla meetings, your feedback needed
In-Reply-To: <46BFF81D.6000400@beezifies.com>
References: <46BE58E6.80805@beezifies.com>
<46BFF81D.6000400@beezifies.com>
Message-ID:
Thanks for all the info. I filled out your survey about presentations. I use
a template club, just because I don't know how to write a template. I've
learned enough to make some adjustments to templates. It's true that there
end up being sites that look very similar.
Anyway, I'll see you on the 23rd, then.
Dan
On 8/13/07, bz-gmort at beezifies.com wrote:
>
> Dan wrote:
> > Hi,
> >
> > I fell in love with Joomla about 10 months ago. I'd love to meet on
> > the 23rd. I'm a non-PHP type. I went to a few NY-PHP meetings just to
> > meet Joomla people, but I didn't meet any. Where are we meeting? The
> > Delancy at 6:30?
> >
> >
>
> Yes, we will be combining the summer party with a meeting to get to meet
> other Joomla users and determine which week of the month we want to meet
> on.
>
> Right now it looks like any week but the fourth. My own leaning would
> be the second or third week of the month, only so that there will be at
> least a 3 week gap between the 23rd and the first official stand alone
> meeting. In fact, I will try to send Hans a message later tonight to
> find out if any of those weeks would be a problem for starting in
> September(I'd like to start ASAP to keep the ball rolling)
>
> I'd like to have some sort of presentation for the first independent
> meeting, so I'm soliciting feedback now for the types of presentations
> people are interested in.
>
> I've primarily listed choices for items that I can speak to directly
> since I figure the chances of our getting anyone more experienced at
> speaking and willing to do so for the first month or two to be slim.
>
> From my own focus, the main idea would be to discuss how/what I did
> related to the topic with an existing website. As what I've done there
> has covered the gamut of setting up a theme club template, modifying the
> template to accomodate specific needs(generally adding at least 2, if
> not more, module positions to the layout, as well as removing some
> "features" I am not enamored with myself, and making some changes to the
> layout of some of the module positions), installing and configuring a
> number of modules and components, debranding said modules(and setting up
> a credits page), integrating components together(primarily making a
> component aware/use the secrurity settings of a subscription module as
> well as making custom components and integrating them with the original
> components), and creating a component.
>
> I've found that with Joomla, while all of the above might sound like a
> lot of work, it tends to be a lot less as you only have to deal with
> small, manageable bites at a time - as well as being able to borrow at
> least 75% of my code from existing modules(this does have copyrwrite
> implications)
>
>
> I'm not sure how other people feel about theme clubs, my own feeling is
> that while I COULD do the same thing, provided I wanted to spend the
> time doing it(over a week to do for a decent layout). At the end, I'd
> have a decent Generic template tuned for a specific need. With an
> established template club, I get at least half a dozen templates for
> different purposes, for minimal cost(there is the issue of picking a
> template club, though. As there is a great amount of reuse from
> template to template. I've seen sites with over 50 templates, that when
> I really look at them turn out to be variations on 2 or 3 templates with
> different graphics and color schemes. I don't want 50 templates, but I
> do want at least 5 unique templates that are generic enough to be used
> on many different sites). I still end up modifying and changing it
> quite a bit, but time wise it turns a large project into a manageable
> one. (and to be honest, their ui design skills are better than my own,
> so why not leverage it?)
>
> I've only dealt with 1 theme club, so how that compares to others I
> don't know. I do find the community of the theme club has been very
> helpful when it comes to layout and presentation. Moreso than the
> general Joomla community . I can understand the difference, as a
> programmer, I find layout and presentation to be mindnumbingly boring
> and I have little interest in making minor positioning changes. What's
> worse, is when someone comes along who is clearly getting paid to do all
> this and than demands free help on a forum. With the theme club,
> everyone there is doing it commercially so they lack the general
> attitudes you find on GPL focused forums. And the employees of the club
> itself are amazingly helpful in handling things outside the scope of the
> template itself.
>
>
> If I want coding help regarding a component, I ask on a component
> forum/ If I want layout help, I ask on a theme club forum. If I want
> general coding help, I ask on the Joomla forums and don't get any replies.
>
> (and keep in mind, when I say help, I don't mean "write my code for
> me". I mean: I would like integrate this component/extend some
> functionality. What is the API or function call for the base function I
> should be using/modifying.)
>
>
>
>
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From bz-gmort at beezifies.com Tue Aug 14 17:07:26 2007
From: bz-gmort at beezifies.com (Gary Mort)
Date: Tue, 14 Aug 2007 17:07:26 -0400
Subject: [joomla] Dev issues
Message-ID: <46C2198E.9030803@beezifies.com>
One thing I'm finding increasingly frustrating with Joomla is the lack
of documentation on how to code for Joomla.
I spend half an hour hunting through the Joomla site, and then I
remember that Joomla(ver 1.0.x) is a fork of Mambo - so most of the
documentation is on Mambo, not Joomla.
Though even there, documentation seems pretty sparse at times.
Am I missing the obvious or is there just no good Joomla dev docs?
(This does appear to be rectified with 1.5, but I just started with
Joomla and I had a few must have components that weren't even going to
try to make 1.5 versions untill the API got finalized. Justifiably
since they had spent time working towards one API that was scrapped.)
Right now, I'm not even bothering to look at 1.5 untill it reaches
maturity and is out for while. It has a lot of gee whiz features I
like, but I don't want to be the one to find the bugs on production
client sites.
From ajai at bitblit.net Tue Aug 14 17:44:11 2007
From: ajai at bitblit.net (Ajai Khattri)
Date: Tue, 14 Aug 2007 17:44:11 -0400 (EDT)
Subject: [joomla] Dev issues
In-Reply-To: <46C2198E.9030803@beezifies.com>
Message-ID:
On Tue, 14 Aug 2007, Gary Mort wrote:
> One thing I'm finding increasingly frustrating with Joomla is the lack
> of documentation on how to code for Joomla.
>
> I spend half an hour hunting through the Joomla site, and then I
> remember that Joomla(ver 1.0.x) is a fork of Mambo - so most of the
> documentation is on Mambo, not Joomla.
>
> Though even there, documentation seems pretty sparse at times.
I have to totally agree here, the docs are basically awful.
Also, up until now there were no decent books either... Apress have
recently published a book which is a good start.
--
Aj.
From benny at hornedo.com Tue Aug 14 19:57:10 2007
From: benny at hornedo.com (Ben Hornedo)
Date: Wed, 15 Aug 2007 02:57:10 +0300
Subject: [joomla] Dev issues
In-Reply-To: <46C2198E.9030803@beezifies.com>
Message-ID: <001f01c7dece$d6e6d5f0$b3394605@monsterxp>
There is a new Forum on the Joomla site specifically for developers who are
starting to code for Joomla called Joomla coding 101.
http://forum.joomla.org/index.php?board=452.0
Lot's of people willing to help.
Ben
www.uptown4.com
-----Original Message-----
From: Gary Mort [mailto:bz-gmort at beezifies.com]
Sent: Wednesday, August 15, 2007 12:07 AM
To: NYPHP SIG: Joomla
Subject: [joomla] Dev issues
One thing I'm finding increasingly frustrating with Joomla is the lack
of documentation on how to code for Joomla.
I spend half an hour hunting through the Joomla site, and then I
remember that Joomla(ver 1.0.x) is a fork of Mambo - so most of the
documentation is on Mambo, not Joomla.
Though even there, documentation seems pretty sparse at times.
Am I missing the obvious or is there just no good Joomla dev docs?
(This does appear to be rectified with 1.5, but I just started with
Joomla and I had a few must have components that weren't even going to
try to make 1.5 versions untill the API got finalized. Justifiably
since they had spent time working towards one API that was scrapped.)
Right now, I'm not even bothering to look at 1.5 untill it reaches
maturity and is out for while. It has a lot of gee whiz features I
like, but I don't want to be the one to find the bugs on production
client sites.
_______________________________________________
New York PHP SIG: Joomla! Mailing List
http://lists.nyphp.org/mailman/listinfo/joomla
NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com
Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php
From mitch.pirtle at gmail.com Wed Aug 15 01:42:02 2007
From: mitch.pirtle at gmail.com (Mitch Pirtle)
Date: Wed, 15 Aug 2007 01:42:02 -0400
Subject: [joomla] Dev issues
In-Reply-To: <001f01c7dece$d6e6d5f0$b3394605@monsterxp>
References: <46C2198E.9030803@beezifies.com>
<001f01c7dece$d6e6d5f0$b3394605@monsterxp>
Message-ID: <330532b60708142242h4e310c3alc84dee63194ef924@mail.gmail.com>
On 8/14/07, Ben Hornedo wrote:
> There is a new Forum on the Joomla site specifically for developers who are
> starting to code for Joomla called Joomla coding 101.
>
> http://forum.joomla.org/index.php?board=452.0
>
> Lot's of people willing to help.
Signing up myself to help with 1.5 specific stuff. (hint, hint)
-- Mitch
From bz-gmort at beezifies.com Wed Aug 15 04:54:33 2007
From: bz-gmort at beezifies.com (Gary Mort)
Date: Wed, 15 Aug 2007 04:54:33 -0400
Subject: [joomla] Dev issues
In-Reply-To: <001f01c7dece$d6e6d5f0$b3394605@monsterxp>
References: <001f01c7dece$d6e6d5f0$b3394605@monsterxp>
Message-ID: <46C2BF49.5060206@beezifies.com>
Ben Hornedo wrote:
> There is a new Forum on the Joomla site specifically for developers who are
> starting to code for Joomla called Joomla coding 101.
>
> http://forum.joomla.org/index.php?board=452.0
>
> Lot's of people willing to help.
>
>
I get the impression that the people on that forum are really interested
in discussing 1.5, not 1.0.x
Don't get me wrong, 1.5 is a massive leap forward in terms of making
Joomla developer friendly, so I can see why a lot of people are jumping
there.
But I tend towards cautiousness, 1.0.12 works and is well supported. I
see no reason to upgrade until the 3rd party extentions are there for it.
However, that does lead to a problem as the tips exchanged for 1.5 won't
work for 1.0.12 - and writing code in a 1.0.x format for 1.5 is a
monumental waste of time.
From donnamarievincent at yahoo.com Wed Aug 15 06:09:23 2007
From: donnamarievincent at yahoo.com (Donna Marie Vincent)
Date: Wed, 15 Aug 2007 03:09:23 -0700 (PDT)
Subject: [joomla] Dev issues
Message-ID: <808582.61679.qm@web35605.mail.mud.yahoo.com>
Mitch, how about a workshop on writing extensions?
----- Original Message ----
From: Mitch Pirtle
To: NYPHP SIG: Joomla
Sent: Wednesday, August 15, 2007 1:42:02 AM
Subject: Re: [joomla] Dev issues
On 8/14/07, Ben Hornedo wrote:
> There is a new Forum on the Joomla site specifically for developers who are
> starting to code for Joomla called Joomla coding 101.
>
> http://forum.joomla.org/index.php?board=452.0
>
> Lot's of people willing to help.
Signing up myself to help with 1.5 specific stuff. (hint, hint)
-- Mitch
_______________________________________________
New York PHP SIG: Joomla! Mailing List
http://lists.nyphp.org/mailman/listinfo/joomla
NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com
Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From bz-gmort at beezifies.com Wed Aug 15 06:43:29 2007
From: bz-gmort at beezifies.com (Gary Mort)
Date: Wed, 15 Aug 2007 06:43:29 -0400
Subject: [joomla] Where to post new extentions?
Message-ID: <46C2D8D1.5030200@beezifies.com>
I'm just curious, what are the good places to post news about new
components?
On my own plate, I've got the following I'm working on:
A Smarty Mambot library(to use smarty in other components)
An extensive set of modifications for the AdsManager component
***Using Smarty to display ads to give me more control over layout
***Enhancing the search functions
***Using Smarty to display search results
***Better Community Builder integration(AdsManager to CB)
***Better CB integration(CB to AdsManager)
A CB Plugin(this one is really really stupid)
A function to register userids(basically, all I'm doing is taking the
userid creation function and rewriting it so it can be called from
outside CB itself. As an example, AdsManager will create a userid when
they post an ad if the user doesn't have one - if you enable it. But
the way it does it sucks, it bypassing all the CB functions and just
creates an approved user profile. If I can get the user reg functions
seperated, I can then call them and use all that good functionality.
A Virtuemart shipping calculation module
(speciality Australian shipper using a web API)
A Lightbox mambot
(see recent post to the Joomla forums. Lightbox/Slimbox in Joomla is a
stupid way of implementing lightbox. Don't get me wrong, I think it's
great that developers added this function to different bits of code, but
they keep repeating themselves and stepping on each others toes - plus
they push work the server is perfectly capable of doing onto the client)
An alt text mambot(a lot of modules post images with no alt text. From
SEO professionals, I've been told alt text is a good place to shove
keywords for search engines. So why not post process the page and
update your keywords?)
An ecards component(I'm really hoping to find a good one that I can use
so I don't need to fiddle with this one)
A page cleanup mambot(just a general mambot to run to clean up the
source of the page before it goes out. Configurable by the user for
what to clean. I'm thinking things like:
Check for duplicate javascript libraries and remove the duplicates.
Check for specified tags and remove them(like a certain extentions ugly
little ads)
Strip HTML comments and compress the page down in size.
Configure it to replace lines of CSS code with a combined file(ie if
your using 5 CSS stylesheets in a page, have a configuration where you
enter those 5 sheets and the mambot will replace the include with 1
include of a file which combines all 5 sheets, in the order you specify,
and compresses them)
Most of the big items I'm doing for a project anyway. The little items
just look good to do. I think someone else posted an idea here for a
mambot that looked pretty simple that I was thinking of doing as time
allows.
From contact at compassdesigns.net Wed Aug 15 13:16:48 2007
From: contact at compassdesigns.net (Barrie North)
Date: Wed, 15 Aug 2007 13:16:48 -0400
Subject: [joomla] Dev/documentation issues
In-Reply-To:
References:
Message-ID: <46C33500.2000001@compassdesigns.net>
Most devs like coding... documentation is boring :)
Its also a very different skill/brain set.
This seems to be a symptom of a volunteer project that is still in its
infancy....
Regards,
Barrie North
****************************
Read the Joomla Blog
www.compassdesigns.net/joomla-blog
World Class Templates
www.joomlashack.com
****************************
From mitch.pirtle at gmail.com Wed Aug 15 16:20:29 2007
From: mitch.pirtle at gmail.com (Mitch Pirtle)
Date: Wed, 15 Aug 2007 16:20:29 -0400
Subject: [joomla] Dev issues
In-Reply-To: <808582.61679.qm@web35605.mail.mud.yahoo.com>
References: <808582.61679.qm@web35605.mail.mud.yahoo.com>
Message-ID: <330532b60708151320sff74731na19e36313b6c539a@mail.gmail.com>
Wow, look at all these responses, the list comes back to life!
On 8/15/07, Donna Marie Vincent wrote:
>
> Mitch, how about a workshop on writing extensions?
I would love to do that but would have to focus on 1.5. I haven't
really worked with 1.0 in quite a long time, and also think that once
folks understand what 1.5 brings to the table everyone will adopt it
as the series of choice.
On 8/15/07, David A. Roth wrote:
> By the way, Spacemonkey (still don't know the origins of that name
> for you), I didn't get a chance to thank you for your helpful Joomla
> post that answered my inquiry about capacity issues of Joomla a month
> ago or so. It helped convince a Webmaster to totally leave a Windows
> Server and go 100% with Joomla on Linux. Two weeks later after
> successfully running his conference web site with Joomla, he sent me
> a message saying "What geniuses came up with Joomla? Wow!!!".
>
> See you at the first Joomla meeting in NYC!
Heh. Well, many years ago, when Ronald Reagan was still president, the
techs that worked in the server room were referred to as "monkeys". As
I was the strangest of the bunch, they claimed I was a "monkey from
space", which eventually simplified itself to "spacemonkey". I haven't
lived it down since.
Nice to hear my tip helped you out, and welcome your webmaster to the
linux world :-)
On 8/15/07, Gary Mort wrote:
> I get the impression that the people on that forum are really interested
> in discussing 1.5, not 1.0.x
>
> Don't get me wrong, 1.5 is a massive leap forward in terms of making
> Joomla developer friendly, so I can see why a lot of people are jumping
> there.
>
> But I tend towards cautiousness, 1.0.12 works and is well supported. I
> see no reason to upgrade until the 3rd party extentions are there for it.
>
> However, that does lead to a problem as the tips exchanged for 1.5 won't
> work for 1.0.12 - and writing code in a 1.0.x format for 1.5 is a
> monumental waste of time.
Chicken! Ok, seriously, this is going to be a somewhat painful period
for some folks as there will of course be a delay between the
extensions being available for 1.5, coupled with the unbridled
enthusiasm of the developer community wanting to work solely on the
1.5 series. I can only hope that we can channel that unbridled
enthusiasm to get those extensions ported (or even better) ASAP.
I'm also wanting to do a workshop on framework application
development, as I'm currently involved in creating a high-traffic
website based on the 1.5 framework that gets 40+ million page views
every week. Not only is this a great candidate to discuss development
of framework applications, but it also makes a great subject for
high-scaling Joomla websites in general.
I hope to attend the first Joomla/NYPHP meet but I will be coming back
from playing a concert and don't know if I will be able to make it :-(
If it is at all possible, I'll be there though :-)
-- Mitch
From mitch.pirtle at gmail.com Wed Aug 15 16:27:27 2007
From: mitch.pirtle at gmail.com (Mitch Pirtle)
Date: Wed, 15 Aug 2007 16:27:27 -0400
Subject: [joomla] Where to post new extentions?
In-Reply-To: <46C2D8D1.5030200@beezifies.com>
References: <46C2D8D1.5030200@beezifies.com>
Message-ID: <330532b60708151327x338fa9ecv760e821fd5ea668b@mail.gmail.com>
On 8/15/07, Gary Mort wrote:
> I'm just curious, what are the good places to post news about new
> components?
If you host your development on JoomlaCode, you can make an
announcement there, as well as making an announcement on the Joomla
News site, the Joomla Extensions Directory, and (depending on your
license) the Joomla forums.
I could announce it on my blog as well, but other than my Mom it won't
generate too much traffic for you ;-)
-- Mitch
From mitch.pirtle at gmail.com Wed Aug 15 16:29:46 2007
From: mitch.pirtle at gmail.com (Mitch Pirtle)
Date: Wed, 15 Aug 2007 16:29:46 -0400
Subject: [joomla] Dev/documentation issues
In-Reply-To: <46C33500.2000001@compassdesigns.net>
References:
<46C33500.2000001@compassdesigns.net>
Message-ID: <330532b60708151329gcc33461s4111db12561fd342@mail.gmail.com>
On 8/15/07, Barrie North wrote:
> Most devs like coding... documentation is boring :)
>
> Its also a very different skill/brain set.
>
> This seems to be a symptom of a volunteer project that is still in its
> infancy....
Honestly I can only think of a very few projects that have adequate
documentation, let alone great documentation. The biggest problems are
compounded:
* The code changes quickly
* The people that write documentation are usually not developers, and
therefore the last people to learn about the stuff they are trying to
document
By the time the writers have a decent draft written up, it's time to
start all over again. That's a huge demotivator.
-- Mitch, wondering if he just invented a new word
From bz-gmort at beezifies.com Wed Aug 15 16:40:23 2007
From: bz-gmort at beezifies.com (Gary Mort)
Date: Wed, 15 Aug 2007 16:40:23 -0400
Subject: [joomla] Dev/documentation issues
In-Reply-To: <330532b60708151329gcc33461s4111db12561fd342@mail.gmail.com>
References: <46C33500.2000001@compassdesigns.net>
<330532b60708151329gcc33461s4111db12561fd342@mail.gmail.com>
Message-ID: <46C364B7.7050100@beezifies.com>
Mitch Pirtle wrote:
> By the time the writers have a decent draft written up, it's time to
> start all over again. That's a huge demotivator.
>
> -- Mitch, wondering if he just invented a new word
>
http://www.despair.com
From bz-gmort at beezifies.com Wed Aug 15 16:49:03 2007
From: bz-gmort at beezifies.com (bz-gmort at beezifies.com)
Date: Wed, 15 Aug 2007 16:49:03 -0400
Subject: [joomla] Dev issues
In-Reply-To: <330532b60708151320sff74731na19e36313b6c539a@mail.gmail.com>
References: <808582.61679.qm@web35605.mail.mud.yahoo.com>
<330532b60708151320sff74731na19e36313b6c539a@mail.gmail.com>
Message-ID: <46C366BF.5020600@beezifies.com>
Mitch Pirtle wrote:
> Wow, look at all these responses, the list comes back to life!
>
> On 8/15/07, Donna Marie Vincent wrote:
>
>> Mitch, how about a workshop on writing extensions?
>>
>
> I would love to do that but would have to focus on 1.5. I haven't
> really worked with 1.0 in quite a long time, and also think that once
> folks understand what 1.5 brings to the table everyone will adopt it
> as the series of choice.
>
>
How about a series on what the difference is between 1.5 and 1.0.12
programming.
A lot of it seems to remain the same. The big difference seems to be
where in 1.0.12 you do table lookups to make certain determinations,
Joomla 1.5 has added a bunch of API's. That and the whole idea of
turning it into an event driven system.
But outside of certain items, event driven systems are overblown and
often used just to be used. The more events that need to be checked,
the more the system get's bogged down. But where it makes sense, it
shines(the user events system makes me drool, it would be soooo perfect
to integrate Joomla with Kickapps as an example. I'm seriously
considering setting up one 1.5 site just to do that)
I for one would appreciate knowing what is in 1.5 for developers, as
while I might not use it, if I know that there is a function that does
X, than rather embed code that does X in my own code - I'll make it a
function call so it is easy to swap out with the 1.5 code to upgrade.
I think 1.5 brings a lot to the table, but I'm not gonna wait for them
to get developers to upgrade, especially since the Joomla team seems to
have down a good job of annoying a bunch of developers for no reason
other than stupidity(there was no reason to get involved in a
philosophical war.)
What I do find amusing though is I keep seeing 'that's on the table for
1.6" for ideas I'm looking to do in 1.0. Ain't gonna wait for them to
get that finalized either. I'll do my own thing and than play catch up
when their ready(and of course their free to take my thing and polish it
up and make it 1.5 compliant and turn my code into decent code if they want)
From bz-gmort at beezifies.com Wed Aug 15 16:49:33 2007
From: bz-gmort at beezifies.com (Gary Mort)
Date: Wed, 15 Aug 2007 16:49:33 -0400
Subject: [joomla] Where to post new extentions?
In-Reply-To: <330532b60708151327x338fa9ecv760e821fd5ea668b@mail.gmail.com>
References: <46C2D8D1.5030200@beezifies.com>
<330532b60708151327x338fa9ecv760e821fd5ea668b@mail.gmail.com>
Message-ID: <46C366DD.1010107@beezifies.com>
Mitch Pirtle wrote:
> On 8/15/07, Gary Mort wrote:
>
>> I'm just curious, what are the good places to post news about new
>> components?
>>
>
> If you host your development on JoomlaCode, you can make an
> announcement there, as well as making an announcement on the Joomla
> News site, the Joomla Extensions Directory, and (depending on your
> license) the Joomla forums.
>
Anything I do is built on the works of others, so it's GPL, I don't see
a reason to change the license. At the most, I will license some of it
as LGPL just because it makes since and it will surely irritate some
people who have a different opinion than me about how the GPL license
works. :-)
However, I won't host development on Joomlacode. I take certain aspects
of the GPL seriously, wheras most developers don't, and for me an
anonymouse download such as Jomlacode is an unacceptable moral burden.
And Joomla has this whole bug up their tush about trying to define what
is commercial and what is not, what is open and what is closed. I'd
rather just avoid the whole thing and do things my way. :-)
From mitch.pirtle at gmail.com Wed Aug 15 16:51:54 2007
From: mitch.pirtle at gmail.com (Mitch Pirtle)
Date: Wed, 15 Aug 2007 16:51:54 -0400
Subject: [joomla] Dev/documentation issues
In-Reply-To: <46C364B7.7050100@beezifies.com>
References:
<46C33500.2000001@compassdesigns.net>
<330532b60708151329gcc33461s4111db12561fd342@mail.gmail.com>
<46C364B7.7050100@beezifies.com>
Message-ID: <330532b60708151351m75b49d69jfb774cc386d3ce81@mail.gmail.com>
On 8/15/07, Gary Mort wrote:
> Mitch Pirtle wrote:
> > By the time the writers have a decent draft written up, it's time to
> > start all over again. That's a huge demotivator.
> >
> > -- Mitch, wondering if he just invented a new word
> >
> http://www.despair.com
Dang, there goes my Andy Warhol prescribed 15 minutes.
-- Mitch
From mpanderso at cox.net Wed Aug 15 17:02:33 2007
From: mpanderso at cox.net (ITG Web Site)
Date: Wed, 15 Aug 2007 16:02:33 -0500
Subject: [joomla] Streaming media
In-Reply-To: <330532b60708151351m75b49d69jfb774cc386d3ce81@mail.gmail.com>
Message-ID:
Does anyone know if there is a Joomla extension that allows for streaming
media on a Joomla site?
Thanks!
Michael Anderson
Oklahoma City University
From ajai at bitblit.net Wed Aug 15 17:15:15 2007
From: ajai at bitblit.net (Ajai Khattri)
Date: Wed, 15 Aug 2007 17:15:15 -0400 (EDT)
Subject: [joomla] Dev/documentation issues
In-Reply-To: <330532b60708151329gcc33461s4111db12561fd342@mail.gmail.com>
Message-ID:
On Wed, 15 Aug 2007, Mitch Pirtle wrote:
> Honestly I can only think of a very few projects that have adequate
> documentation, let alone great documentation. The biggest problems are
> compounded:
>
> * The code changes quickly
> * The people that write documentation are usually not developers, and
> therefore the last people to learn about the stuff they are trying to
> document
>
> By the time the writers have a decent draft written up, it's time to
> start all over again. That's a huge demotivator.
I dont mean to pick on Joomla (though it has caused me to click endlessly
on the developer and docs site trying to find something). But what
would be more useful (and maybe easier from a documentation standpoint),
is to have both a wiki and a code snippets site. Sometimes its better
to have a piece of code showing an example rather than several pages of
explanation. A wiki / snippet is also easier to update for both developers
and documentors.
Im using symfony (symfony-project.com) in my day job - not only does the
symfony site have excellent docs (the Apress book is available online) but
they have forums, a wiki, a snippets site, some excellent tutorials and
examples, as well as the usual news feeds and a blog. I have an old site
originally built in Mambo which Im considering rebuilding in symfony
purely because I know it will be easier to find the information I need
rather than for Joomla.
Im sure Joomla has many more developers than for symfony which makes it
all the more galling.
--
Aj.
From rothmail at comcast.net Wed Aug 15 17:15:44 2007
From: rothmail at comcast.net (David A. Roth)
Date: Wed, 15 Aug 2007 17:15:44 -0400
Subject: [joomla] Any movement to bring Joomla as an extra for Linux
distributions?
Message-ID: <43186900-58D4-4C23-BC44-A43E69FC46EB@comcast.net>
I was talking to a friend of mine who is a Linux admin who I have
introduced to Joomla. He had some suggestions, which may or may not
be in the works, but I wanted to share them. If there is a more
direct place to make such suggestions please kindly let me know. :-)
There should be a movement to include Joomla as an extra for the
Fedora distributions (and other Linux such as CentOS). Installing it
with an RPM and during system setup would bring over a lot of people.
For example, Fedora 7 installed the latest version of MediaWiki
during his last installation. MW is probably more difficult to
install than Joomla.
It would also be very helpful for it to install by default with the
demo data for Joomla including handling the creation of the MySQL
database.
While many of us consider an installation of Joomla to be a simple
thing, if it were already there it is more likely that the users
would try it out.
David Roth
rothmail at comcast.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From ajai at bitblit.net Wed Aug 15 17:30:44 2007
From: ajai at bitblit.net (Ajai Khattri)
Date: Wed, 15 Aug 2007 17:30:44 -0400 (EDT)
Subject: [joomla] Any movement to bring Joomla as an extra for Linux
distributions?
In-Reply-To: <43186900-58D4-4C23-BC44-A43E69FC46EB@comcast.net>
Message-ID:
On Wed, 15 Aug 2007, David A. Roth wrote:
> There should be a movement to include Joomla as an extra for the
> Fedora distributions (and other Linux such as CentOS). Installing it
> with an RPM and during system setup would bring over a lot of people.
Why not build an RPM for FC?
Packages do exist for other distros (Gentoo has an ebuild which uses the
excellent webapp-config tool). But I dont think its a good idea to have
those be part of the core packages though.
--
Aj.
From mitch.pirtle at gmail.com Wed Aug 15 18:21:58 2007
From: mitch.pirtle at gmail.com (Mitch Pirtle)
Date: Wed, 15 Aug 2007 18:21:58 -0400
Subject: [joomla] Dev issues
In-Reply-To: <46C366BF.5020600@beezifies.com>
References: <808582.61679.qm@web35605.mail.mud.yahoo.com>
<330532b60708151320sff74731na19e36313b6c539a@mail.gmail.com>
<46C366BF.5020600@beezifies.com>
Message-ID: <330532b60708151521s247c73b9wb5d6b3a4134a2cac@mail.gmail.com>
On 8/15/07, bz-gmort at beezifies.com wrote:
> How about a series on what the difference is between 1.5 and 1.0.12
> programming.
I think the first need is to provide information for anyone wanting to
leverage 1.5 - as that appeals to a much broader audience.
> But outside of certain items, event driven systems are overblown and
> often used just to be used. The more events that need to be checked,
> the more the system get's bogged down. But where it makes sense, it
> shines(the user events system makes me drool, it would be soooo perfect
> to integrate Joomla with Kickapps as an example. I'm seriously
> considering setting up one 1.5 site just to do that)
*spacemonkey tries not to say something before he's ready
> I think 1.5 brings a lot to the table, but I'm not gonna wait for them
> to get developers to upgrade, especially since the Joomla team seems to
> have down a good job of annoying a bunch of developers for no reason
> other than stupidity(there was no reason to get involved in a
> philosophical war.)
Hmm, no idea who those annoyed folks could be. (whistle)
> What I do find amusing though is I keep seeing 'that's on the table for
> 1.6" for ideas I'm looking to do in 1.0. Ain't gonna wait for them to
> get that finalized either. I'll do my own thing and than play catch up
> when their ready(and of course their free to take my thing and polish it
> up and make it 1.5 compliant and turn my code into decent code if they want)
I cannot talk for the folks working on the 1.6 series, but I hear the
extended ACL is already in a waiting state for 1.5 to get finished.
I'm personally working on PDO integration and as soon as that is done
we can support multiple databases - even if it is not added to the
core for the 1.5 series.
Just having an error class makes me drool. Think about integrating
Joomla with systems management tools, so Joomla can send a message to
your management console "Hey man, somebody broke this menu link..."
Nice.
-- Mitch
From mitch.pirtle at gmail.com Wed Aug 15 18:31:01 2007
From: mitch.pirtle at gmail.com (Mitch Pirtle)
Date: Wed, 15 Aug 2007 18:31:01 -0400
Subject: [joomla] Where to post new extentions?
In-Reply-To: <46C366DD.1010107@beezifies.com>
References: <46C2D8D1.5030200@beezifies.com>
<330532b60708151327x338fa9ecv760e821fd5ea668b@mail.gmail.com>
<46C366DD.1010107@beezifies.com>
Message-ID: <330532b60708151531x420cb236kc017a13f7c2d4bd9@mail.gmail.com>
On 8/15/07, Gary Mort wrote:
> However, I won't host development on Joomlacode. I take certain aspects
> of the GPL seriously, wheras most developers don't, and for me an
> anonymouse download such as Jomlacode is an unacceptable moral burden.
> And Joomla has this whole bug up their tush about trying to define what
> is commercial and what is not, what is open and what is closed. I'd
> rather just avoid the whole thing and do things my way. :-)
All righty then! Just let me know what I should announce at my blog. :-)
-- Mitch
From mitch.pirtle at gmail.com Wed Aug 15 18:43:24 2007
From: mitch.pirtle at gmail.com (Mitch Pirtle)
Date: Wed, 15 Aug 2007 18:43:24 -0400
Subject: [joomla] Dev/documentation issues
In-Reply-To:
References: <330532b60708151329gcc33461s4111db12561fd342@mail.gmail.com>
Message-ID: <330532b60708151543k38c7658dj192c42f8c606c7a3@mail.gmail.com>
On 8/15/07, Ajai Khattri wrote:
> Im sure Joomla has many more developers than for symfony which makes it
> all the more galling.
Thanks for the feedback. Some folks have been saying this all along,
but you provide a really good argument to change the process and
philosophy of how the project currently works on documentation.
-- Mitch, forwarding the email to a couple people with hope
From mitch.pirtle at gmail.com Wed Aug 15 18:47:32 2007
From: mitch.pirtle at gmail.com (Mitch Pirtle)
Date: Wed, 15 Aug 2007 18:47:32 -0400
Subject: [joomla] Any movement to bring Joomla as an extra for Linux
distributions?
In-Reply-To: <43186900-58D4-4C23-BC44-A43E69FC46EB@comcast.net>
References: <43186900-58D4-4C23-BC44-A43E69FC46EB@comcast.net>
Message-ID: <330532b60708151547l70c3d48ej80342c587abfe528@mail.gmail.com>
On 8/15/07, David A. Roth wrote:
>
> I was talking to a friend of mine who is a Linux admin who I have introduced
> to Joomla. He had some suggestions, which may or may not be in the works,
> but I wanted to share them. If there is a more direct place to make such
> suggestions please kindly let me know. :-)
Of course there's the Joomla forums, there's a board there for you to
make such suggestions:
http://forum.joomla.org/index.php/board,38.0.html
> There should be a movement to include Joomla as an extra for the Fedora
> distributions (and other Linux such as CentOS). Installing it with an RPM
> and during system setup would bring over a lot of people.
We're already taken care of with common control panels like Plesk and
such, and that should take care of the people that cannot install
Joomla on their own. If you cannot figure out how to install Joomla,
chances are you aren't managing your server at the operating system
level either - you got a control panel.
Problems I've had in the past was that everyone wants to install their
Joomla site in a different directory, and an RPM doesn't make that all
that easy. It can be done, but it might be more complicated than just
untarring the archive where you want it and running the web installer.
-- Mitch
From bz-gmort at beezifies.com Fri Aug 17 02:45:39 2007
From: bz-gmort at beezifies.com (Gary Mort)
Date: Fri, 17 Aug 2007 02:45:39 -0400
Subject: [joomla] Module display conditional
Message-ID: <46C54413.1030809@beezifies.com>
OK, here is something driving me crazy:
I can set a Module to only be displayed on 3 menus.
That works fine.
I can also have a module that shows the latest X. For example, the
latest news articles.
That works fine.
The problem is when I have a module that should be displayed on certain
menus, take the Joomla SIG for example. And I have another module that
displays quick links to deeper content, say the list of Polls on my website.
If you click on the list of polls on the right, it takes you to the item
- but it also leaves the module display in the same place it was before
you clicked, it doesn't change to the Joomla SIG display options.
So, what am I missing?
From bz-gmort at beezifies.com Fri Aug 17 02:46:52 2007
From: bz-gmort at beezifies.com (Gary Mort)
Date: Fri, 17 Aug 2007 02:46:52 -0400
Subject: [joomla] Ignorant part II
Message-ID: <46C5445C.3080104@beezifies.com>
Is it possible to give a mambot settings like you can with Modules and
Components? IE fields that can be filled in by the admin to control the
mambot in some way.
From kirill at hostnetservices.com Fri Aug 17 03:15:47 2007
From: kirill at hostnetservices.com (kirill at hostnetservices.com)
Date: Fri, 17 Aug 2007 03:15:47 -0400
Subject: [joomla] Module display conditional
In-Reply-To: <46C54413.1030809@beezifies.com>
Message-ID:
Since you associated the Modules to a menu, when you click on the Module
Item there is no effect to the Menu structure, I had a similar issue and
had to hack the Module to make menu changes as well.
Kirill
Gary Mort
Sent by: joomla-bounces at lists.nyphp.org
08/17/2007 02:45 AM
Please respond to
"NYPHP SIG: Joomla"
To
NYPHP SIG: Joomla
cc
Subject
[joomla] Module display conditional
OK, here is something driving me crazy:
I can set a Module to only be displayed on 3 menus.
That works fine.
I can also have a module that shows the latest X. For example, the
latest news articles.
That works fine.
The problem is when I have a module that should be displayed on certain
menus, take the Joomla SIG for example. And I have another module that
displays quick links to deeper content, say the list of Polls on my
website.
If you click on the list of polls on the right, it takes you to the item
- but it also leaves the module display in the same place it was before
you clicked, it doesn't change to the Joomla SIG display options.
So, what am I missing?
_______________________________________________
New York PHP SIG: Joomla! Mailing List
http://lists.nyphp.org/mailman/listinfo/joomla
NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com
Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From bz-gmort at beezifies.com Fri Aug 17 03:43:55 2007
From: bz-gmort at beezifies.com (Gary Mort)
Date: Fri, 17 Aug 2007 03:43:55 -0400
Subject: [joomla] Module display conditional
In-Reply-To:
References:
Message-ID: <46C551BB.1010207@beezifies.com>
kirill at hostnetservices.com wrote:
>
> Since you associated the Modules to a menu, when you click on the
> Module Item there is no effect to the Menu structure, I had a similar
> issue and had to hack the Module to make menu changes as well.
How do you do that?
I am assuming there is some function where you can "assign" what menu
link is being displayed, so than at the top of a module you have to
specify the menu item being displayed?
Ok, and I know why I'm up at 3AM but why is anyone else that crazy?
From bz-gmort at beezifies.com Fri Aug 17 03:54:45 2007
From: bz-gmort at beezifies.com (Gary Mort)
Date: Fri, 17 Aug 2007 03:54:45 -0400
Subject: [joomla] Debug info
Message-ID: <46C55445.8080704@beezifies.com>
Ok, further display of ignorance here.
Is there a global processing info display configuration?
Something that will tell me how long a page takes to generate, how long
the queries on the page took, and most importantly how much memory was
consumed to generate the page?
I was thinking some sort of module maybe that I could stick in the
handily named "debug" module position to have this info generate down at
the bottom of the page?
From kirill at hostnetservices.com Fri Aug 17 04:04:23 2007
From: kirill at hostnetservices.com (kirill at hostnetservices.com)
Date: Fri, 17 Aug 2007 04:04:23 -0400
Subject: [joomla] Module display conditional
In-Reply-To: <46C551BB.1010207@beezifies.com>
Message-ID:
Do you have a sample site with this issue up? It has been some time since
I wrote that hack.
Gary Mort
Sent by: joomla-bounces at lists.nyphp.org
08/17/2007 03:43 AM
Please respond to
"NYPHP SIG: Joomla"
To
"joom >> NYPHP SIG: Joomla"
cc
Subject
Re: [joomla] Module display conditional
kirill at hostnetservices.com wrote:
>
> Since you associated the Modules to a menu, when you click on the
> Module Item there is no effect to the Menu structure, I had a similar
> issue and had to hack the Module to make menu changes as well.
How do you do that?
I am assuming there is some function where you can "assign" what menu
link is being displayed, so than at the top of a module you have to
specify the menu item being displayed?
Ok, and I know why I'm up at 3AM but why is anyone else that crazy?
_______________________________________________
New York PHP SIG: Joomla! Mailing List
http://lists.nyphp.org/mailman/listinfo/joomla
NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com
Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From bz-gmort at beezifies.com Fri Aug 17 04:11:30 2007
From: bz-gmort at beezifies.com (Gary Mort)
Date: Fri, 17 Aug 2007 04:11:30 -0400
Subject: [joomla] Module display conditional
In-Reply-To:
References:
Message-ID: <46C55832.2050905@beezifies.com>
Ok, I think I see the problem now:
In joomla.php there is a function called mosMenuCheck.
When it's done doing it's thing, it calls $mainframe->set('menu',X) and
tells Joomla what menu item is being displayed.
So I'm assuming what you did was add to the module being displayed a
$mainframe->set('menu',X).
Hmmm.......
Perhaps I could extend mosMenuCheck and add an extra paremeter. So that
on the links coming IN if you placed ?dspmenu="Polls" for example, it
would force a fake to the Polls menu.
Than I would need to find some way of forcing a component or module to
add that paremeter to all it's URL's.
Which brings me back to modifying every module and many components to
add in an option to display "pretend to be menu" field.
Or maybe it would make more sense to have a Mambot which can be
configured to check all the url's on the page, and based on it's
configuration, append the parameter to them where it's useful.
Ehhh...what a bad set of choices, either hack core Joomla files or hack
every module I want to make this change to.
OMG, I've actually discovered a point in time where it would be usefull
to program in an object oriented fashion. If I could override that
function instead of changing it, I wouldn't need to hack the core file.
Heck has frozen over. :-)
From bz-gmort at beezifies.com Fri Aug 17 04:25:37 2007
From: bz-gmort at beezifies.com (Gary Mort)
Date: Fri, 17 Aug 2007 04:25:37 -0400
Subject: [joomla] Module display conditional
In-Reply-To:
References:
Message-ID: <46C55B81.5090209@beezifies.com>
kirill at hostnetservices.com wrote:
>
> Do you have a sample site with this issue up? It has been some time
> since I wrote that hack.
>
I have nothing but a sample.
What I tried to do, is I wanted the Joomla latest news stuff to only
appear on the frontpage, and when your in the Joomla sections.
What ends up happeneing is if you switch your menu context to someplace
it doesn't show, than click on any Joomla menu choice - latest news
shows. If you click on a poll link I just got that working using a
dummy menu item hack. If you click on the Joomla article categories, it
doesn't show.
I think I could use the menu hack there as well... I'm not sure yet.
From kirill at hostnetservices.com Fri Aug 17 04:27:25 2007
From: kirill at hostnetservices.com (kirill at hostnetservices.com)
Date: Fri, 17 Aug 2007 04:27:25 -0400
Subject: [joomla] Module display conditional
In-Reply-To: <46C55832.2050905@beezifies.com>
Message-ID:
Something like that. I only had to do this for one Module. What you
trying to have is a module that will display a Module and have menu Module
results as well. Maybe we will talk about this at the meeting...
Gary Mort
Sent by: joomla-bounces at lists.nyphp.org
08/17/2007 04:11 AM
Please respond to
"NYPHP SIG: Joomla"
To
NYPHP SIG: Joomla
cc
Subject
Re: [joomla] Module display conditional
Ok, I think I see the problem now:
In joomla.php there is a function called mosMenuCheck.
When it's done doing it's thing, it calls $mainframe->set('menu',X) and
tells Joomla what menu item is being displayed.
So I'm assuming what you did was add to the module being displayed a
$mainframe->set('menu',X).
Hmmm.......
Perhaps I could extend mosMenuCheck and add an extra paremeter. So that
on the links coming IN if you placed ?dspmenu="Polls" for example, it
would force a fake to the Polls menu.
Than I would need to find some way of forcing a component or module to
add that paremeter to all it's URL's.
Which brings me back to modifying every module and many components to
add in an option to display "pretend to be menu" field.
Or maybe it would make more sense to have a Mambot which can be
configured to check all the url's on the page, and based on it's
configuration, append the parameter to them where it's useful.
Ehhh...what a bad set of choices, either hack core Joomla files or hack
every module I want to make this change to.
OMG, I've actually discovered a point in time where it would be usefull
to program in an object oriented fashion. If I could override that
function instead of changing it, I wouldn't need to hack the core file.
Heck has frozen over. :-)
_______________________________________________
New York PHP SIG: Joomla! Mailing List
http://lists.nyphp.org/mailman/listinfo/joomla
NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com
Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From bz-gmort at beezifies.com Fri Aug 17 04:48:06 2007
From: bz-gmort at beezifies.com (Gary Mort)
Date: Fri, 17 Aug 2007 04:48:06 -0400
Subject: [joomla] Module display conditional
In-Reply-To:
References:
Message-ID: <46C560C6.8060807@beezifies.com>
kirill at hostnetservices.com wrote:
>
> Something like that. I only had to do this for one Module. What you
> trying to have is a module that will display a Module and have menu
> Module results as well.
Moreso I'm just trying to wrap my head around it. It isn't an issue for
me yet.
I was making some tweaks to AdsManager and someone else needed to get
ArtioSEF working. I had recently done it on my site, but couldn't
remember precisely what I did(I had my changed file, but what changes
where simply to get it to work, and what changes were for my own custom
needs?)
So I gave him the bits and pieces of code I thought he needed to make
the sef file compatible with ArtioSEF and he tested it out. Worked
fine. He then brought up this module issue which I had noticed as well.
For his particular case, he could do it at the top of the AdsManager
component and be fine(I think).
The trick with the fake itemid menu won't work because adsmanager
doesn't really HAVE itemids(0 and 1 as far as I can see. 0 won't work,
and 1 will hit a bunch of other components).
From bz-gmort at beezifies.com Fri Aug 17 06:00:17 2007
From: bz-gmort at beezifies.com (Gary Mort)
Date: Fri, 17 Aug 2007 06:00:17 -0400
Subject: [joomla] Speaking of SEF
Message-ID: <46C571B1.2040908@beezifies.com>
In 1.0.12 I'm rather unhappy with how SEF has been implemented.
It is good as far as it goes, but than it hits a brick wall.
Take AdsManager for example and ArtioSEF for example.
ArtioSEF has some default rules for a bunch of files. It also allows
you to install extention specific SEF files.
Those SEF files will translate urls according to internal, hardcoded rules.
So, for example, AdsManager translates a directive to show an ad into
the ugly:
/com/adsmanager/page/cat//show_ad/-.html
Now, as a generic SEF program, this makes sense. Lowest common
demoniator and all.
What annoys me is I don't see a mechanism within ArtioSEF to allow a
plug in to have configurable options(am I missing it?)
For example, in my case, I wasn't using the headline field, I did not
want to stick numbers onto each url, and I most definitely did NOT want
such a long url.
I built up a little switch statement to reduce the url to:
//s/.html
Where is dependent on the category id.
This means that for one class of users, instead of sending their URL
with a long meaningless string to others, they can send
http://www.mydomain.com/fighterprofile/s/nickname.html
(I'm considering shortening it even further to just use initials for the
category name).
My main point though is that most of this should have the possibility of
being configured in the admin pane itself.
Am I missing something in ArtioSEF and does it give such a capability to
developers? I don't object if no one uses it, as it is extra work for
little gain, but having it there would make me feel better.
(Ok Mitch, feel free to tell me how in 1.5 all these sort of functions
are built right into Joomla... though I seem to recall reading some
threads a few months back and they still seemed stuck on using user
meaningless but unique data. The idea of having just a simple field
where someone can enter what they think the shortname for the item
should be seemed to be foreign to them. Actually, my impression is
that with Joomla most of the developers seem fixated on making processes
which are automated without user intervention. Good as a general
design, but why make it as the only option?)
From mitch.pirtle at gmail.com Sun Aug 19 21:44:53 2007
From: mitch.pirtle at gmail.com (Mitch Pirtle)
Date: Sun, 19 Aug 2007 21:44:53 -0400
Subject: [joomla] Ignorant part II
In-Reply-To: <46C5445C.3080104@beezifies.com>
References: <46C5445C.3080104@beezifies.com>
Message-ID: <330532b60708191844j478f3bb9j9897da2c026216eb@mail.gmail.com>
On 8/17/07, Gary Mort wrote:
> Is it possible to give a mambot settings like you can with Modules and
> Components? IE fields that can be filled in by the admin to control the
> mambot in some way.
Absolutely - both 1.0 and 1.5 have examples. Which version are you using?
-- Mitch
From mitch.pirtle at gmail.com Sun Aug 19 21:50:49 2007
From: mitch.pirtle at gmail.com (Mitch Pirtle)
Date: Sun, 19 Aug 2007 21:50:49 -0400
Subject: [joomla] Speaking of SEF
In-Reply-To: <46C571B1.2040908@beezifies.com>
References: <46C571B1.2040908@beezifies.com>
Message-ID: <330532b60708191850p309e71f3u347e258fd5d58886@mail.gmail.com>
On 8/17/07, Gary Mort wrote:
> (Ok Mitch, feel free to tell me how in 1.5 all these sort of functions
> are built right into Joomla... though I seem to recall reading some
> threads a few months back and they still seemed stuck on using user
> meaningless but unique data. The idea of having just a simple field
> where someone can enter what they think the shortname for the item
> should be seemed to be foreign to them. Actually, my impression is
> that with Joomla most of the developers seem fixated on making processes
> which are automated without user intervention. Good as a general
> design, but why make it as the only option?)
Hey Gary, I just wanted to tell me how in 1.5 all these sort of
functions are built right into Joomla...
*rimshot*
Ok seriously - even in the 1.0 series there are SEF extensions that
provide the means for you to define an arbitrary URL scheme that gets
translated into internal gobbledygook (index.php?blah=1&foo=bar)...
I don't understand what you're missing, or what you're trying to do
that these cannot accomplish. Am I missing something?
-- Mitch
From art at elephantventures.com Sun Aug 19 22:05:45 2007
From: art at elephantventures.com (Art Shectman)
Date: Sun, 19 Aug 2007 22:05:45 -0400
Subject: [joomla] Looking for Joomla 'gotchas' and also Joomla/PHP hackers
In-Reply-To: <20070817160118.E28444C23B@mailwash21.pair.com>
Message-ID: <186d01c7e2ce$9f4a3750$1502a8c0@dumbo>
I'm about to undertake the buildout of 3 Joomla backed sites, and 1 of them
will involve quite a bit of custom module development. I'm looking for
experienced Joomla hackers to fill a variety of roles from Senior Developer
to Project Manager, or even just to drink some beers with me and review my
approach and muse about silver bullets that Joomla might have in store for
me.
Please feel free to contact me off list if you are looking for Joomla or PHP
work, or just want to kick the tires on what we're building.
I'd love to kick off a thread of 'Joomla gotchas' from our collective
experiences using Joomla.
I'll start:
Joomla isn't great with REALLY big numbers of pages and/or categories.
Things to look out for:
I was using Joomla 1.0.11 a while back with OpenSEF. I had a pile of issues
with my site and the time it took for page loads with 20,000+ pages in my
site. I tracked it down to a faulty design in how the OpenSEF stuff was
loading , caching (or failing to), and rewriting site friendly urls in my
pages. I posted some bug fixes on the OpenSEF site and I think the problem
as been resolved. What didn't get resolved, and I'm anxious to check out
the 1.5 stuff to see if it has, is that when you are on the admin side of
things, lots of categories means HUGE drop down lists. One of my sites had
30K plus categories, and it rendered the admin inoperable as it was trying
to load a category select list of 30K items on a bunch of the admin pages.
One thing that helped my pages load MUCH faster was enabling query caching.
With Joomla, sometimes with all your plugins, and 3rd party modules, you are
using 'sub-optimal' code, and sometimes queries get run repeatedly on a
page, or across a session. With most sites, where content isn't really
changing that much, turning on query caching in MySQL helped a bunch in
speeding up page load times, especially with very large numbers of pages and
categories.
Thanks for any advice you may have,
Art
Art Shectman
President
Elephant Ventures
Strategic Digital Marketing
art at elephantventures.com
http://www.elephantventures.com
Try groundwaveT, our World Class Email Delivery Service today!
http://groundwave.elephantventures.com
Need SEO help? Try optim-eyesT our Search Engine Optimization Service
http://optimeyes.elephantventures.com
From mitch.pirtle at gmail.com Mon Aug 20 11:44:25 2007
From: mitch.pirtle at gmail.com (Mitch Pirtle)
Date: Mon, 20 Aug 2007 11:44:25 -0400
Subject: [joomla] Looking for Joomla 'gotchas' and also Joomla/PHP hackers
In-Reply-To: <186d01c7e2ce$9f4a3750$1502a8c0@dumbo>
References: <20070817160118.E28444C23B@mailwash21.pair.com>
<186d01c7e2ce$9f4a3750$1502a8c0@dumbo>
Message-ID: <330532b60708200844o71b89325pb7320fa5d3a2163e@mail.gmail.com>
On 8/19/07, Art Shectman wrote:
> Please feel free to contact me off list if you are looking for Joomla or PHP
> work, or just want to kick the tires on what we're building.
This Thursday, make sure you attend the NYPHP meetup at The Delancey -
there will be the first NYC Joomla meet. I'm hoping to be there.
> Joomla isn't great with REALLY big numbers of pages and/or categories.
That's not entirely correct - Joomla is great at handling lots of
content and lots of categories, it is the admin interface that isn't
really suited for it (by default, that is).
Perhaps it is time to create a second Administrator Template that uses
a different method to display and browse long lists, as opposed to
monster dropdowns that kill your browser... :-)
> Things to look out for:
> I was using Joomla 1.0.11 a while back with OpenSEF. I had a pile of issues
> with my site and the time it took for page loads with 20,000+ pages in my
> site. I tracked it down to a faulty design in how the OpenSEF stuff was
> loading , caching (or failing to), and rewriting site friendly urls in my
> pages. I posted some bug fixes on the OpenSEF site and I think the problem
> as been resolved. What didn't get resolved, and I'm anxious to check out
> the 1.5 stuff to see if it has, is that when you are on the admin side of
> things, lots of categories means HUGE drop down lists. One of my sites had
> 30K plus categories, and it rendered the admin inoperable as it was trying
> to load a category select list of 30K items on a bunch of the admin pages.
> One thing that helped my pages load MUCH faster was enabling query caching.
> With Joomla, sometimes with all your plugins, and 3rd party modules, you are
> using 'sub-optimal' code, and sometimes queries get run repeatedly on a
> page, or across a session. With most sites, where content isn't really
> changing that much, turning on query caching in MySQL helped a bunch in
> speeding up page load times, especially with very large numbers of pages and
> categories.
There's quite a few things you can do to tune up a busy Joomla site,
and MySQL query caching is just the start. An even bigger performance
increase can be found with PHP accelerators like XCache, APC and
eAccelerator. And when you go to 1.5, it's almost required as
everything is heavy on objects, and therefore gets the biggest boost
out of a cache and accelerator.
With memcached available in the 1.5 series, you can now cluster your
Joomla sites across many systems without too much effort.
*spacemonkey smells another article coming
And one quick note on the query cache - that's no good on community
style sites, as the tables are changing too rapidly for MySQL's cache
to be very effective. It is wicked fast on more typical,
corporate-style sites though.
-- Mitch
From bz-gmort at beezifies.com Mon Aug 20 12:12:24 2007
From: bz-gmort at beezifies.com (Gary Mort)
Date: Mon, 20 Aug 2007 12:12:24 -0400
Subject: [joomla] Looking for Joomla 'gotchas' and also Joomla/PHP hackers
In-Reply-To: <186d01c7e2ce$9f4a3750$1502a8c0@dumbo>
References: <186d01c7e2ce$9f4a3750$1502a8c0@dumbo>
Message-ID: <46C9BD68.6040605@beezifies.com>
Art Shectman wrote:
> I'll start:
> Joomla isn't great with REALLY big numbers of pages and/or categories.
>
Is there anything that is great with REALLY big numbers of anything, by
default out of the box?
Anything can be made to work depending on how much effort you want to
put into it, the financial requirements, and the simplicity of a user
interface that you need.
Heck, if you have infinite money, store everything in memory and that
will speed up your performance a good bit. :-)
From mitch.pirtle at gmail.com Mon Aug 20 15:53:36 2007
From: mitch.pirtle at gmail.com (Mitch Pirtle)
Date: Mon, 20 Aug 2007 15:53:36 -0400
Subject: [joomla] Looking for Joomla 'gotchas' and also Joomla/PHP hackers
In-Reply-To: <46C9BD68.6040605@beezifies.com>
References: <186d01c7e2ce$9f4a3750$1502a8c0@dumbo>
<46C9BD68.6040605@beezifies.com>
Message-ID: <330532b60708201253h403153e7s11e6143e3840b033@mail.gmail.com>
On 8/20/07, Gary Mort wrote:
> Is there anything that is great with REALLY big numbers of anything, by
> default out of the box?
Nope. That's the point. However, unlike a lot of platforms, the
solution in this case with Joomla is to just make some modifications
to the admin template - and maybe customize one or two admin
components. Not exactly a budget-busting effort, especially on a
project for a website that supports a bajillion users/pages/widgets...
> Heck, if you have infinite money, store everything in memory and that
> will speed up your performance a good bit. :-)
Why yes, looks like you finally got it. Memcache it is!
-- Mitch, cackling like a witch
From rothmail at comcast.net Sat Aug 25 02:17:38 2007
From: rothmail at comcast.net (David A. Roth)
Date: Sat, 25 Aug 2007 02:17:38 -0400
Subject: [joomla] Joomla Day in NYC this October?
Message-ID: <413727A1-CD75-4752-9771-506BE5714DB9@comcast.net>
It was fun meeting and hanging out with everyone last Thursday night
with the NetBSD/NYPHP and Joomla folks. I think I was told that there
is going to be a Joomla Day October 13th, 2007 in NYC. However, I
have been unable to find any information about this. I am likely
looking in the wrong places. If someone could point me in the right
direction that would be great!
Thanks again to Gary Mort for putting the Joomla meetings together. I
am looking forward to attending them.
David Roth
rothmail at comcast.net
NJ/NYC
From gisolfi at us.ibm.com Sat Aug 25 06:02:04 2007
From: gisolfi at us.ibm.com (Dan Gisolfi)
Date: Sat, 25 Aug 2007 04:02:04 -0600
Subject: [joomla] Summer Shutdown
Message-ID:
I will be out of the office starting 08/23/2007 and will not return until
09/04/2007.
While I may have access to email, please do not expect a response from me
until my return.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From bz-gmort at beezifies.com Sat Aug 25 06:18:16 2007
From: bz-gmort at beezifies.com (bz-gmort at beezifies.com)
Date: Sat, 25 Aug 2007 06:18:16 -0400
Subject: [joomla] Joomla Day in NYC this October?
In-Reply-To: <413727A1-CD75-4752-9771-506BE5714DB9@comcast.net>
References: <413727A1-CD75-4752-9771-506BE5714DB9@comcast.net>
Message-ID: <46D001E8.2010500@beezifies.com>
David A. Roth wrote:
> It was fun meeting and hanging out with everyone last Thursday night
> with the NetBSD/NYPHP and Joomla folks. I think I was told that there
> is going to be a Joomla Day October 13th, 2007 in NYC. However, I have
> been unable to find any information about this. I am likely looking in
> the wrong places. If someone could point me in the right direction
> that would be great!
>
Joomla Day is discussed in this thread on the Joomla Forum(I was also
using it to discuss the meeting since NYC area individuals where
checking it out)
http://forum.joomla.org/index.php/topic,149660.0/topicseen.html
From rothmail at comcast.net Sun Aug 26 01:55:00 2007
From: rothmail at comcast.net (David A. Roth)
Date: Sun, 26 Aug 2007 01:55:00 -0400
Subject: [joomla] Embed PHP in Joomla's HTML?
Message-ID: <401B0F64-1DD0-42D6-8FF8-97A8F2D5436E@comcast.net>
I am converting an HTML based web site to Joomla 1.5RC1. In the body
of the HTML, it has about 10 lines of PHP code which grabs a number
from another web site so it can display this number in the middle of
a sentence. Something like, "...with the current member now at 810
members...". The number 810 is grabbed from an external web site
which gets updated when the number of members increases or decreases.
OK, I thought about how this might be done. One was to write a Joomla
Module to do the PHP, but didn't want to deal with the formatting of
the rest of the article to make it look like a natural one that
Joomla does so well.
The other idea, is that I went to Edit the article and select for it
to display HTML. I then inserted the PHP code such as:
I saved that and proceeded to reload the page in Joomla and no output
was generated from the PHP code. I returned to the article, had it
display HTML once again, and my PHP I included was gone.
Now I never did this before in Joomla 1.x, so I don't know if insert
PHP is supported in this manner or not.
Q: Can PHP be embedded into the body of text in Joomla as I described
above to carry out its task?
Q: Should I be forced to write a module and include the whole article
inside the module just to do the PHP?
Q: Is there a more clever Joomla-like way to accomplish this in the
manner similar to how mosimage (jpgs) are inserted into the body of
text, but executed a PHP script?
Q: And what of Timmy, trapped in the well with Lassie distracted by a
ripped box of vanilla flavored Frosty Paws? that fell off the truck?
When will help ever arrive? :-)
Thanks in advance,
David Roth
rothmail at comcast.net
From ircmaxell at yahoo.com Sun Aug 26 03:18:38 2007
From: ircmaxell at yahoo.com (Anthony Ferrara)
Date: Sun, 26 Aug 2007 00:18:38 -0700 (PDT)
Subject: [joomla] Embed PHP in Joomla's HTML?
In-Reply-To: <401B0F64-1DD0-42D6-8FF8-97A8F2D5436E@comcast.net>
Message-ID: <96774.26519.qm@web34206.mail.mud.yahoo.com>
Well, there are mambots for doing that. I'm not sure
if it's 1.5 compatible, but check this out for a
start...
http://www.joomlaperformance.com/component/option,com_docman/task,cat_view/gid,19/Itemid,39/
--- "David A. Roth" wrote:
> I am converting an HTML based web site to Joomla
> 1.5RC1. In the body
> of the HTML, it has about 10 lines of PHP code which
> grabs a number
> from another web site so it can display this number
> in the middle of
> a sentence. Something like, "...with the current
> member now at 810
> members...". The number 810 is grabbed from an
> external web site
> which gets updated when the number of members
> increases or decreases.
>
> OK, I thought about how this might be done. One was
> to write a Joomla
> Module to do the PHP, but didn't want to deal with
> the formatting of
> the rest of the article to make it look like a
> natural one that
> Joomla does so well.
>
> The other idea, is that I went to Edit the article
> and select for it
> to display HTML. I then inserted the PHP code such
> as:
>
> php code goes here
> ?>
>
> I saved that and proceeded to reload the page in
> Joomla and no output
> was generated from the PHP code. I returned to the
> article, had it
> display HTML once again, and my PHP I included was
> gone.
> Now I never did this before in Joomla 1.x, so I
> don't know if insert
> PHP is supported in this manner or not.
>
> Q: Can PHP be embedded into the body of text in
> Joomla as I described
> above to carry out its task?
>
> Q: Should I be forced to write a module and include
> the whole article
> inside the module just to do the PHP?
>
> Q: Is there a more clever Joomla-like way to
> accomplish this in the
> manner similar to how mosimage (jpgs) are inserted
> into the body of
> text, but executed a PHP script?
>
> Q: And what of Timmy, trapped in the well with
> Lassie distracted by a
> ripped box of vanilla flavored Frosty Paws? that
> fell off the truck?
> When will help ever arrive? :-)
>
> Thanks in advance,
>
> David Roth
> rothmail at comcast.net
>
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>
____________________________________________________________________________________
Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469
From bz-gmort at beezifies.com Sun Aug 26 06:15:56 2007
From: bz-gmort at beezifies.com (bz-gmort at beezifies.com)
Date: Sun, 26 Aug 2007 06:15:56 -0400
Subject: [joomla] Embed PHP in Joomla's HTML?
In-Reply-To: <401B0F64-1DD0-42D6-8FF8-97A8F2D5436E@comcast.net>
References: <401B0F64-1DD0-42D6-8FF8-97A8F2D5436E@comcast.net>
Message-ID: <46D152DC.4030805@beezifies.com>
David A. Roth wrote:
> Q: Should I be forced to write a module and include the whole article
> inside the module just to do the PHP?
>
By default, Joomla is not going to run PHP code embedded in articles.
Remember the security structure is based on the magazine format of security.
IE you have readers, authors, and editors
And then you have managers, admins, and the super admin
Your authors and editors are trusted to write articles not code. If you
let them write code, they could really muck up the system.
So in answer to the first question, yes you should be forced to write a
module or do something else deliberately to bypoass this security.
> Q: Is there a more clever Joomla-like way to accomplish this in the
> manner similar to how mosimage (jpgs) are inserted into the body of
> text, but executed a PHP script?
>
Well, a clever way to avoid writing module after module just for small
tasks is to use Jumi.
http://www.vedeme.cz/index.php?option=com_content&task=category§ionid=10&id=41&Itemid=123
Jumi is a swiss army knife of a module, where you can embed various bits
and pieces of code to make numerous custom modules using Jumi.
Alternatively, if you want to place it in the content, than use a PHP
running mambot.
Lastly, if you want to place it on every page in a specific spot, you
can edit the index.php file for your template and place your code there.
From donnamarievincent at yahoo.com Sun Aug 26 06:58:07 2007
From: donnamarievincent at yahoo.com (Donna Marie Vincent)
Date: Sun, 26 Aug 2007 03:58:07 -0700 (PDT)
Subject: [joomla] Embed PHP in Joomla's HTML?
Message-ID: <9074.80812.qm@web35604.mail.mud.yahoo.com>
I use the kl_php mambot (http://forum.mamboserver.com/showthread.php?t=39551) to include php in content items:
{kl_php} ...some php code... {/kl_php}
or write the php code in a file, then include the file wherever I want it.
----- Original Message ----
From: David A. Roth
To: NYPHP SIG: Joomla
Sent: Sunday, August 26, 2007 1:55:00 AM
Subject: [joomla] Embed PHP in Joomla's HTML?
I am converting an HTML based web site to Joomla 1.5RC1. In the body
of the HTML, it has about 10 lines of PHP code which grabs a number
from another web site so it can display this number in the middle of
a sentence. Something like, "...with the current member now at 810
members...". The number 810 is grabbed from an external web site
which gets updated when the number of members increases or decreases.
OK, I thought about how this might be done. One was to write a Joomla
Module to do the PHP, but didn't want to deal with the formatting of
the rest of the article to make it look like a natural one that
Joomla does so well.
The other idea, is that I went to Edit the article and select for it
to display HTML. I then inserted the PHP code such as:
I saved that and proceeded to reload the page in Joomla and no output
was generated from the PHP code. I returned to the article, had it
display HTML once again, and my PHP I included was gone.
Now I never did this before in Joomla 1.x, so I don't know if insert
PHP is supported in this manner or not.
Q: Can PHP be embedded into the body of text in Joomla as I described
above to carry out its task?
Q: Should I be forced to write a module and include the whole article
inside the module just to do the PHP?
Q: Is there a more clever Joomla-like way to accomplish this in the
manner similar to how mosimage (jpgs) are inserted into the body of
text, but executed a PHP script?
Q: And what of Timmy, trapped in the well with Lassie distracted by a
ripped box of vanilla flavored Frosty Paws? that fell off the truck?
When will help ever arrive? :-)
Thanks in advance,
David Roth
rothmail at comcast.net
_______________________________________________
New York PHP SIG: Joomla! Mailing List
http://lists.nyphp.org/mailman/listinfo/joomla
NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com
Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From bz-gmort at beezifies.com Sun Aug 26 15:35:53 2007
From: bz-gmort at beezifies.com (bz-gmort at beezifies.com)
Date: Sun, 26 Aug 2007 15:35:53 -0400
Subject: [joomla] First monthly meeting recap
Message-ID: <46D1D619.8070607@beezifies.com>
NYC Joomla Special Interest Group
First Monthly Meeting, August 23rd 2007
Summary:
Between half a dozen and a dozen Joomla users and coders met at
the summer event hosted by the NYPHP group and we
got to exchange tips and talk about Joomla.
For lack of any objection, we settled on the third Thursday
of the month. So out next meeting will be Sepetember 20th,
2007 at the NYPHP office in Manhattan(55 Broad Street).
I would like to begin at 6PM so we have time to cover 2 presentations
for different types of members. So our developer presentation would
begin between 6:30 and 7:00.
From rothmail at comcast.net Mon Aug 27 04:06:01 2007
From: rothmail at comcast.net (David A. Roth)
Date: Mon, 27 Aug 2007 04:06:01 -0400
Subject: [joomla] Embed PHP in Joomla's HTML?
In-Reply-To: <9074.80812.qm@web35604.mail.mud.yahoo.com>
References: <9074.80812.qm@web35604.mail.mud.yahoo.com>
Message-ID: <398B01E0-37E9-4AAD-9F4D-C5A2434BAFE4@comcast.net>
Thanks to everyone who replied to my posting.
I installed the plugin and the module. So far, I have not been able
to get the plugin to work. The module works fine, and prints out
"hello world" as a module. But any attempts to insert code into an
article such as:
{kl_php} echo "Hello out there"; {/kl_php}
outputs this:
{kl_php} echo "Hello out there"; {/kl_php}
I did see the suggestion on the Mambo forum that the editor might be
inserting some formatting. So I selected No Editor, and tried it
again not allowing any sort of HTML to reformat this little bit of
instruction and the results were the same. The System Legacy plugin
was enabled.
Wondering at this point if it might be Joomla 1.5rc1, I installed
just the mambot plug-in and enabled it with Joomla 1.0.12 and then it
worked!
OK, I want to be a good citizen here within the Joomla community and
report this so it will work with Joomla 1.5. I would like some advice
here, since I know this isn't part of the Joomla core. What is the
best way to proceed? Post to a Joomla forum? Contact the authors (see
below), but which one since this isn't a Mambo concern?
> /**
> * PHP Evaluation Mambot
> * author John Long
> * Based on the "Code Highliting Mambot" by eddieajau
> **/
> // $Id: moscode.php,v 1.1 2003/12/15 00:39:03 eddieajau Exp $
> /**
> * Code Highlighting Mambot
> * @package Mambo Open Source
> * @Copyright (C) 2000 - 2003 Miro International Pty Ltd
> * @ All rights reserved
> * @ Mambo Open Source is Free Software
> * @ Released under GNU/GPL License : http://www.gnu.org/copyleft/
> gpl.html
> * @version $Revision: 1.1 $
> * @author Andrew Eddie
> **/
Thanks!
David Roth
rothmail at comcast.net
On Aug 26, 2007, at 6:58 AM, Donna Marie Vincent wrote:
> I use the kl_php mambot (http://forum.mamboserver.com/
> showthread.php?t=39551) to include php in content items:
>
> {kl_php} ...some php code... {/kl_php}
>
> or write the php code in a file, then include the file wherever I
> want it.
>
>
> ----- Original Message ----
> From: David A. Roth
> To: NYPHP SIG: Joomla
> Sent: Sunday, August 26, 2007 1:55:00 AM
> Subject: [joomla] Embed PHP in Joomla's HTML?
>
> I am converting an HTML based web site to Joomla 1.5RC1. In the body
> of the HTML, it has about 10 lines of PHP code which grabs a number
> from another web site so it can display this number in the middle of
> a sentence. Something like, "...with the current member now at 810
> members...". The number 810 is grabbed from an external web site
> which gets updated when the number of members increases or decreases.
>
> OK, I thought about how this might be done. One was to write a Joomla
> Module to do the PHP, but didn't want to deal with the formatting of
> the rest of the article to make it look like a natural one that
> Joomla does so well.
>
> The other idea, is that I went to Edit the article and select for it
> to display HTML. I then inserted the PHP code such as:
>
> php code goes here
> ?>
>
> I saved that and proceeded to reload the page in Joomla and no output
> was generated from the PHP code. I returned to the article, had it
> display HTML once again, and my PHP I included was gone.
> Now I never did this before in Joomla 1.x, so I don't know if insert
> PHP is supported in this manner or not.
>
> Q: Can PHP be embedded into the body of text in Joomla as I described
> above to carry out its task?
>
> Q: Should I be forced to write a module and include the whole article
> inside the module just to do the PHP?
>
> Q: Is there a more clever Joomla-like way to accomplish this in the
> manner similar to how mosimage (jpgs) are inserted into the body of
> text, but executed a PHP script?
>
> Q: And what of Timmy, trapped in the well with Lassie distracted by a
> ripped box of vanilla flavored Frosty Paws? that fell off the truck?
> When will help ever arrive? :-)
>
> Thanks in advance,
>
> David Roth
> rothmail at comcast.net
>
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From norman at enorm2.com Mon Aug 27 07:13:01 2007
From: norman at enorm2.com (Norman ONeil)
Date: Mon, 27 Aug 2007 07:13:01 -0400
Subject: [joomla] Embed PHP in Joomla's HTML?
In-Reply-To: <398B01E0-37E9-4AAD-9F4D-C5A2434BAFE4@comcast.net>
References: <9074.80812.qm@web35604.mail.mud.yahoo.com>
<398B01E0-37E9-4AAD-9F4D-C5A2434BAFE4@comcast.net>
Message-ID: <727DC8E7-AC64-4371-B170-B2ADB2574BAF@enorm2.com>
Did lassie ever show up? Is timmy still trapped in the barn? The guy
that developed klphp has been awol for quite some time, I don't know
if he was around for the transition to joomla 1.0.xxx
Here are a couple fo links if you want try and track him down.
http://www.idealagent.com/component/option,com_frontpage/Itemid,1/
Here is the original thread for the mambot release
http://forum.mamboserver.com/showthread.php?t=39551&highlight=konlong
On a side note, would be kind of nice to include this functionality
in the core of Joomla and say, let the super admin decide what level
of user can use it.
Norman O'Neil
eNorm
P.O. Box 6592
Portsmouth, NH 03802- 6592
978.255.2672
http://www.enorm2.com
On Aug 27, 2007, at 4:06 AM, David A. Roth wrote:
> Thanks to everyone who replied to my posting.
>
> I installed the plugin and the module. So far, I have not been able
> to get the plugin to work. The module works fine, and prints out
> "hello world" as a module. But any attempts to insert code into an
> article such as:
>
> {kl_php} echo "Hello out there"; {/kl_php}
>
> outputs this:
>
> {kl_php} echo "Hello out there"; {/kl_php}
>
> I did see the suggestion on the Mambo forum that the editor might
> be inserting some formatting. So I selected No Editor, and tried it
> again not allowing any sort of HTML to reformat this little bit of
> instruction and the results were the same. The System Legacy plugin
> was enabled.
>
> Wondering at this point if it might be Joomla 1.5rc1, I installed
> just the mambot plug-in and enabled it with Joomla 1.0.12 and then
> it worked!
>
> OK, I want to be a good citizen here within the Joomla community
> and report this so it will work with Joomla 1.5. I would like some
> advice here, since I know this isn't part of the Joomla core. What
> is the best way to proceed? Post to a Joomla forum? Contact the
> authors (see below), but which one since this isn't a Mambo concern?
>> > /**
>> * PHP Evaluation Mambot
>> * author John Long
>> * Based on the "Code Highliting Mambot" by eddieajau
>> **/
>> // $Id: moscode.php,v 1.1 2003/12/15 00:39:03 eddieajau Exp $
>> /**
>> * Code Highlighting Mambot
>> * @package Mambo Open Source
>> * @Copyright (C) 2000 - 2003 Miro International Pty Ltd
>> * @ All rights reserved
>> * @ Mambo Open Source is Free Software
>> * @ Released under GNU/GPL License : http://www.gnu.org/copyleft/
>> gpl.html
>> * @version $Revision: 1.1 $
>> * @author Andrew Eddie
>> **/
>
> Thanks!
>
> David Roth
> rothmail at comcast.net
>
>
> On Aug 26, 2007, at 6:58 AM, Donna Marie Vincent wrote:
>
>> I use the kl_php mambot (http://forum.mamboserver.com/
>> showthread.php?t=39551) to include php in content items:
>>
>> {kl_php} ...some php code... {/kl_php}
>>
>> or write the php code in a file, then include the file wherever I
>> want it.
>>
>>
>> ----- Original Message ----
>> From: David A. Roth
>> To: NYPHP SIG: Joomla
>> Sent: Sunday, August 26, 2007 1:55:00 AM
>> Subject: [joomla] Embed PHP in Joomla's HTML?
>>
>> I am converting an HTML based web site to Joomla 1.5RC1. In the body
>> of the HTML, it has about 10 lines of PHP code which grabs a number
>> from another web site so it can display this number in the middle of
>> a sentence. Something like, "...with the current member now at 810
>> members...". The number 810 is grabbed from an external web site
>> which gets updated when the number of members increases or decreases.
>>
>> OK, I thought about how this might be done. One was to write a Joomla
>> Module to do the PHP, but didn't want to deal with the formatting of
>> the rest of the article to make it look like a natural one that
>> Joomla does so well.
>>
>> The other idea, is that I went to Edit the article and select for it
>> to display HTML. I then inserted the PHP code such as:
>> >
>> php code goes here
>> ?>
>>
>> I saved that and proceeded to reload the page in Joomla and no output
>> was generated from the PHP code. I returned to the article, had it
>> display HTML once again, and my PHP I included was gone.
>> Now I never did this before in Joomla 1.x, so I don't know if insert
>> PHP is supported in this manner or not.
>>
>> Q: Can PHP be embedded into the body of text in Joomla as I described
>> above to carry out its task?
>>
>> Q: Should I be forced to write a module and include the whole article
>> inside the module just to do the PHP?
>>
>> Q: Is there a more clever Joomla-like way to accomplish this in the
>> manner similar to how mosimage (jpgs) are inserted into the body of
>> text, but executed a PHP script?
>>
>> Q: And what of Timmy, trapped in the well with Lassie distracted by a
>> ripped box of vanilla flavored Frosty Paws? that fell off the truck?
>> When will help ever arrive? :-)
>>
>> Thanks in advance,
>>
>> David Roth
>> rothmail at comcast.net
>>
>> _______________________________________________
>> New York PHP SIG: Joomla! Mailing List
>> http://lists.nyphp.org/mailman/listinfo/joomla
>>
>> NYPHPCon 2006 Presentations Online
>> http://www.nyphpcon.com
>>
>> Show Your Participation in New York PHP
>> http://www.nyphp.org/show_participation.php
>>
>> _______________________________________________
>> New York PHP SIG: Joomla! Mailing List
>> http://lists.nyphp.org/mailman/listinfo/joomla
>>
>> NYPHPCon 2006 Presentations Online
>> http://www.nyphpcon.com
>>
>> Show Your Participation in New York PHP
>> http://www.nyphp.org/show_participation.php
>
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From ircmaxell at yahoo.com Mon Aug 27 07:38:38 2007
From: ircmaxell at yahoo.com (Anthony Ferrara)
Date: Mon, 27 Aug 2007 04:38:38 -0700 (PDT)
Subject: [joomla] Embed PHP in Joomla's HTML?
In-Reply-To: <398B01E0-37E9-4AAD-9F4D-C5A2434BAFE4@comcast.net>
Message-ID: <639424.38598.qm@web34204.mail.mud.yahoo.com>
I'll make a version in the next day or two that'll be
1.5 compatible...
--- "David A. Roth" wrote:
> Thanks to everyone who replied to my posting.
>
> I installed the plugin and the module. So far, I
> have not been able
> to get the plugin to work. The module works fine,
> and prints out
> "hello world" as a module. But any attempts to
> insert code into an
> article such as:
>
> {kl_php} echo "Hello out there"; {/kl_php}
>
> outputs this:
>
> {kl_php} echo "Hello out there"; {/kl_php}
>
> I did see the suggestion on the Mambo forum that the
> editor might be
> inserting some formatting. So I selected No Editor,
> and tried it
> again not allowing any sort of HTML to reformat this
> little bit of
> instruction and the results were the same. The
> System Legacy plugin
> was enabled.
>
> Wondering at this point if it might be Joomla
> 1.5rc1, I installed
> just the mambot plug-in and enabled it with Joomla
> 1.0.12 and then it
> worked!
>
> OK, I want to be a good citizen here within the
> Joomla community and
> report this so it will work with Joomla 1.5. I would
> like some advice
> here, since I know this isn't part of the Joomla
> core. What is the
> best way to proceed? Post to a Joomla forum? Contact
> the authors (see
> below), but which one since this isn't a Mambo
> concern?
> > > /**
> > * PHP Evaluation Mambot
> > * author John Long
>
> > * Based on the "Code Highliting Mambot" by
> eddieajau
> > **/
> > // $Id: moscode.php,v 1.1 2003/12/15 00:39:03
> eddieajau Exp $
> > /**
> > * Code Highlighting Mambot
> > * @package Mambo Open Source
> > * @Copyright (C) 2000 - 2003 Miro International
> Pty Ltd
> > * @ All rights reserved
> > * @ Mambo Open Source is Free Software
> > * @ Released under GNU/GPL License :
> http://www.gnu.org/copyleft/
> > gpl.html
> > * @version $Revision: 1.1 $
> > * @author Andrew Eddie
>
> > **/
>
> Thanks!
>
> David Roth
> rothmail at comcast.net
>
>
> On Aug 26, 2007, at 6:58 AM, Donna Marie Vincent
> wrote:
>
> > I use the kl_php mambot
> (http://forum.mamboserver.com/
> > showthread.php?t=39551) to include php in content
> items:
> >
> > {kl_php} ...some php code... {/kl_php}
> >
> > or write the php code in a file, then include the
> file wherever I
> > want it.
> >
> >
> > ----- Original Message ----
> > From: David A. Roth
> > To: NYPHP SIG: Joomla
> > Sent: Sunday, August 26, 2007 1:55:00 AM
> > Subject: [joomla] Embed PHP in Joomla's HTML?
> >
> > I am converting an HTML based web site to Joomla
> 1.5RC1. In the body
> > of the HTML, it has about 10 lines of PHP code
> which grabs a number
> > from another web site so it can display this
> number in the middle of
> > a sentence. Something like, "...with the current
> member now at 810
> > members...". The number 810 is grabbed from an
> external web site
> > which gets updated when the number of members
> increases or decreases.
> >
> > OK, I thought about how this might be done. One
> was to write a Joomla
> > Module to do the PHP, but didn't want to deal with
> the formatting of
> > the rest of the article to make it look like a
> natural one that
> > Joomla does so well.
> >
> > The other idea, is that I went to Edit the article
> and select for it
> > to display HTML. I then inserted the PHP code such
> as:
> > >
> > php code goes here
> > ?>
> >
> > I saved that and proceeded to reload the page in
> Joomla and no output
> > was generated from the PHP code. I returned to the
> article, had it
> > display HTML once again, and my PHP I included was
> gone.
> > Now I never did this before in Joomla 1.x, so I
> don't know if insert
> > PHP is supported in this manner or not.
> >
> > Q: Can PHP be embedded into the body of text in
> Joomla as I described
> > above to carry out its task?
> >
> > Q: Should I be forced to write a module and
> include the whole article
> > inside the module just to do the PHP?
> >
> > Q: Is there a more clever Joomla-like way to
> accomplish this in the
> > manner similar to how mosimage (jpgs) are inserted
> into the body of
> > text, but executed a PHP script?
> >
> > Q: And what of Timmy, trapped in the well with
> Lassie distracted by a
> > ripped box of vanilla flavored Frosty Paws? that
> fell off the truck?
> > When will help ever arrive? :-)
> >
> > Thanks in advance,
> >
> > David Roth
> > rothmail at comcast.net
> >
> > _______________________________________________
> > New York PHP SIG: Joomla! Mailing List
> > http://lists.nyphp.org/mailman/listinfo/joomla
> >
> > NYPHPCon 2006 Presentations Online
> > http://www.nyphpcon.com
> >
> > Show Your Participation in New York PHP
> > http://www.nyphp.org/show_participation.php
> >
> > _______________________________________________
> > New York PHP SIG: Joomla! Mailing List
> > http://lists.nyphp.org/mailman/listinfo/joomla
> >
> > NYPHPCon 2006 Presentations Online
> > http://www.nyphpcon.com
> >
> > Show Your Participation in New York PHP
> > http://www.nyphp.org/show_participation.php
>
> > _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
____________________________________________________________________________________
Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545433
From donnamarievincent at yahoo.com Mon Aug 27 09:32:42 2007
From: donnamarievincent at yahoo.com (Donna Marie Vincent)
Date: Mon, 27 Aug 2007 06:32:42 -0700 (PDT)
Subject: [joomla] Embed PHP in Joomla's HTML?
Message-ID: <322106.92601.qm@web35610.mail.mud.yahoo.com>
If that's what it's outputting then you probably didn't publish the mambot.
----- Original Message ----
From: David A. Roth
To: NYPHP SIG: Joomla
Sent: Monday, August 27, 2007 4:06:01 AM
Subject: Re: [joomla] Embed PHP in Joomla's HTML?
Thanks to everyone who replied to my posting.
I installed the plugin and the module. So far, I have not been able to get the plugin to work. The module works fine, and prints out "hello world" as a module. But any attempts to insert code into an article such as:
{kl_php} echo "Hello out there"; {/kl_php}
outputs this:
{kl_php} echo "Hello out there"; {/kl_php}
I did see the suggestion on the Mambo forum that the editor might be inserting some formatting. So I selected No Editor, and tried it again not allowing any sort of HTML to reformat this little bit of instruction and the results were the same. The System Legacy plugin was enabled.
Wondering at this point if it might be Joomla 1.5rc1, I installed just the mambot plug-in and enabled it with Joomla 1.0.12 and then it worked!
OK, I want to be a good citizen here within the Joomla community and report this so it will work with Joomla 1.5. I would like some advice here, since I know this isn't part of the Joomla core. What is the best way to proceed? Post to a Joomla forum? Contact the authors (see below), but which one since this isn't a Mambo concern?
* Based on the "Code Highliting Mambot" by eddieajau
**/
// $Id: moscode.php,v 1.1 2003/12/15 00:39:03 eddieajau Exp $
/**
* Code Highlighting Mambot
* @package Mambo Open Source
* @Copyright (C) 2000 - 2003 Miro International Pty Ltd
* @ All rights reserved
* @ Mambo Open Source is Free Software
* @ Released under GNU/GPL License : http://www.gnu.org/copyleft/gpl.html
* @version $Revision: 1.1 $
* @author Andrew Eddie
**/
Thanks!
David Roth
rothmail at comcast.net
On Aug 26, 2007, at 6:58 AM, Donna Marie Vincent wrote:
I use the kl_php mambot (http://forum.mamboserver.com/showthread.php?t=39551) to include php in content items:
{kl_php} ...some php code... {/kl_php}
or write the php code in a file, then include the file wherever I want it.
----- Original Message ----
From: David A. Roth
To: NYPHP SIG: Joomla
Sent: Sunday, August 26, 2007 1:55:00 AM
Subject: [joomla] Embed PHP in Joomla's HTML?
I am converting an HTML based web site to Joomla 1.5RC1. In the body
of the HTML, it has about 10 lines of PHP code which grabs a number
from another web site so it can display this number in the middle of
a sentence. Something like, "...with the current member now at 810
members...". The number 810 is grabbed from an external web site
which gets updated when the number of members increases or decreases.
OK, I thought about how this might be done. One was to write a Joomla
Module to do the PHP, but didn't want to deal with the formatting of
the rest of the article to make it look like a natural one that
Joomla does so well.
The other idea, is that I went to Edit the article and select for it
to display HTML. I then inserted the PHP code such as:
I saved that and proceeded to reload the page in Joomla and no output
was generated from the PHP code. I returned to the article, had it
display HTML once again, and my PHP I included was gone.
Now I never did this before in Joomla 1.x, so I don't know if insert
PHP is supported in this manner or not.
Q: Can PHP be embedded into the body of text in Joomla as I described
above to carry out its task?
Q: Should I be forced to write a module and include the whole article
inside the module just to do the PHP?
Q: Is there a more clever Joomla-like way to accomplish this in the
manner similar to how mosimage (jpgs) are inserted into the body of
text, but executed a PHP script?
Q: And what of Timmy, trapped in the well with Lassie distracted by a
ripped box of vanilla flavored Frosty Paws? that fell off the truck?
When will help ever arrive? :-)
Thanks in advance,
David Roth
rothmail at comcast.net
_______________________________________________
New York PHP SIG: Joomla! Mailing List
http://lists.nyphp.org/mailman/listinfo/joomla
NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com
Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php
_______________________________________________
New York PHP SIG: Joomla! Mailing List
http://lists.nyphp.org/mailman/listinfo/joomla
NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com
Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From ircmaxell at yahoo.com Mon Aug 27 11:19:35 2007
From: ircmaxell at yahoo.com (Anthony Ferrara)
Date: Mon, 27 Aug 2007 08:19:35 -0700 (PDT)
Subject: [joomla] Embed PHP in Joomla's HTML?
In-Reply-To: <322106.92601.qm@web35610.mail.mud.yahoo.com>
Message-ID: <207663.21613.qm@web34212.mail.mud.yahoo.com>
Try using this native Joomla 1.5 mambot
To Use:
encase php code with
{php}SomePHP Code;{/php}
OR include a file with
{phpfile}/path/to/some/php/file.php{/phpfile}
--- Donna Marie Vincent
wrote:
> If that's what it's outputting then you probably
> didn't publish the mambot.
>
>
>
>
> ----- Original Message ----
> From: David A. Roth
> To: NYPHP SIG: Joomla
> Sent: Monday, August 27, 2007 4:06:01 AM
> Subject: Re: [joomla] Embed PHP in Joomla's HTML?
>
> Thanks to everyone who replied to my posting.
>
> I installed the plugin and the module. So far, I
> have not been able to get the plugin to work. The
> module works fine, and prints out "hello world" as a
> module. But any attempts to insert code into an
> article such as:
>
>
> {kl_php} echo "Hello out there"; {/kl_php}
>
>
> outputs this:
>
>
> {kl_php} echo "Hello out there"; {/kl_php}
>
>
> I did see the suggestion on the Mambo forum that the
> editor might be inserting some formatting. So I
> selected No Editor, and tried it again not allowing
> any sort of HTML to reformat this little bit of
> instruction and the results were the same. The
> System Legacy plugin was enabled.
>
>
> Wondering at this point if it might be Joomla
> 1.5rc1, I installed just the mambot plug-in and
> enabled it with Joomla 1.0.12 and then it worked!
>
>
> OK, I want to be a good citizen here within the
> Joomla community and report this so it will work
> with Joomla 1.5. I would like some advice here,
> since I know this isn't part of the Joomla core.
> What is the best way to proceed? Post to a Joomla
> forum? Contact the authors (see below), but which
> one since this isn't a Mambo concern?
> /**
> * PHP Evaluation Mambot
> * author John Long
> * Based on the "Code Highliting Mambot" by eddieajau
> **/
> // $Id: moscode.php,v 1.1 2003/12/15 00:39:03
> eddieajau Exp $
> /**
> * Code Highlighting Mambot
> * @package Mambo Open Source
> * @Copyright (C) 2000 - 2003 Miro International Pty
> Ltd
> * @ All rights reserved
> * @ Mambo Open Source is Free Software
> * @ Released under GNU/GPL License :
> http://www.gnu.org/copyleft/gpl.html
> * @version $Revision: 1.1 $
> * @author Andrew Eddie
>
> **/
>
>
>
> Thanks!
>
>
> David Roth
> rothmail at comcast.net
>
>
>
>
> On Aug 26, 2007, at 6:58 AM, Donna Marie Vincent
> wrote:
>
> I use the kl_php mambot
>
(http://forum.mamboserver.com/showthread.php?t=39551)
> to include php in content items:
>
> {kl_php} ...some php code... {/kl_php}
>
> or write the php code in a file, then include the
> file wherever I want it.
>
>
> ----- Original Message ----
> From: David A. Roth
> To: NYPHP SIG: Joomla
> Sent: Sunday, August 26, 2007 1:55:00 AM
> Subject: [joomla] Embed PHP in Joomla's HTML?
>
> I am converting an HTML based web site to Joomla
> 1.5RC1. In the body
> of the HTML, it has about 10 lines of PHP code which
> grabs a number
> from another web site so it can display this number
> in the middle of
> a sentence. Something like, "...with the current
> member now at 810
> members...". The number 810 is grabbed from an
> external web site
> which gets updated when the number of members
> increases or decreases.
>
> OK, I thought about how this might be done. One was
> to write a Joomla
> Module to do the PHP, but didn't want to deal with
> the formatting of
> the rest of the article to make it look like a
> natural one that
> Joomla does so well.
>
> The other idea, is that I went to Edit the article
> and select for it
> to display HTML. I then inserted the PHP code such
> as:
>
> php code goes here
> ?>
>
> I saved that and proceeded to reload the page in
> Joomla and no output
> was generated from the PHP code. I returned to the
> article, had it
> display HTML once again, and my PHP I included was
> gone.
> Now I never did this before in Joomla 1.x, so I
> don't know if insert
> PHP is supported in this manner or not.
>
> Q: Can PHP be embedded into the body of text in
> Joomla as I described
> above to carry out its task?
>
> Q: Should I be forced to write a module and include
> the whole article
> inside the module just to do the PHP?
>
> Q: Is there a more clever Joomla-like way to
> accomplish this in the
> manner similar to how mosimage (jpgs) are inserted
> into the body of
> text, but executed a PHP script?
>
> Q: And what of Timmy, trapped in the well with
> Lassie distracted by a
> ripped box of vanilla flavored Frosty Paws? that
> fell off the truck?
> When will help ever arrive? :-)
>
> Thanks in advance,
>
> David Roth
> rothmail at comcast.net
>
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>
>
>
>
>
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
>
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>
>
>
>
>
>
> > _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
____________________________________________________________________________________
Got a little couch potato?
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: includePHP.zip
Type: application/x-zip-compressed
Size: 1058 bytes
Desc: 565534731-includePHP.zip
URL:
From ircmaxell at yahoo.com Mon Aug 27 14:11:26 2007
From: ircmaxell at yahoo.com (Anthony Ferrara)
Date: Mon, 27 Aug 2007 11:11:26 -0700 (PDT)
Subject: [joomla] Embed PHP in Joomla's HTML?
In-Reply-To: <727DC8E7-AC64-4371-B170-B2ADB2574BAF@enorm2.com>
Message-ID: <261338.30246.qm@web34205.mail.mud.yahoo.com>
I wonder if my atachement came through... I wrote a
1.5 Native plugin to do this...
http://www.joomlaperformance.com/component/option,com_docman/task,cat_view/gid,23/Itemid,39/
It restricts it to articles authored by Admins or
Super Admins ONLY...
--- Norman ONeil wrote:
> Did lassie ever show up? Is timmy still trapped in
> the barn? The guy
> that developed klphp has been awol for quite some
> time, I don't know
> if he was around for the transition to joomla
> 1.0.xxx
>
> Here are a couple fo links if you want try and track
> him down.
>
>
http://www.idealagent.com/component/option,com_frontpage/Itemid,1/
>
> Here is the original thread for the mambot release
>
>
http://forum.mamboserver.com/showthread.php?t=39551&highlight=konlong
>
> On a side note, would be kind of nice to include
> this functionality
> in the core of Joomla and say, let the super admin
> decide what level
> of user can use it.
>
>
>
> Norman O'Neil
> eNorm
> P.O. Box 6592
> Portsmouth, NH 03802- 6592
> 978.255.2672
> http://www.enorm2.com
>
>
>
> On Aug 27, 2007, at 4:06 AM, David A. Roth wrote:
>
> > Thanks to everyone who replied to my posting.
> >
> > I installed the plugin and the module. So far, I
> have not been able
> > to get the plugin to work. The module works fine,
> and prints out
> > "hello world" as a module. But any attempts to
> insert code into an
> > article such as:
> >
> > {kl_php} echo "Hello out there"; {/kl_php}
> >
> > outputs this:
> >
> > {kl_php} echo "Hello out there"; {/kl_php}
> >
> > I did see the suggestion on the Mambo forum that
> the editor might
> > be inserting some formatting. So I selected No
> Editor, and tried it
> > again not allowing any sort of HTML to reformat
> this little bit of
> > instruction and the results were the same. The
> System Legacy plugin
> > was enabled.
> >
> > Wondering at this point if it might be Joomla
> 1.5rc1, I installed
> > just the mambot plug-in and enabled it with Joomla
> 1.0.12 and then
> > it worked!
> >
> > OK, I want to be a good citizen here within the
> Joomla community
> > and report this so it will work with Joomla 1.5. I
> would like some
> > advice here, since I know this isn't part of the
> Joomla core. What
> > is the best way to proceed? Post to a Joomla
> forum? Contact the
> > authors (see below), but which one since this
> isn't a Mambo concern?
> >> >> /**
> >> * PHP Evaluation Mambot
> >> * author John Long
>
> >> * Based on the "Code Highliting Mambot" by
> eddieajau
> >> **/
> >> // $Id: moscode.php,v 1.1 2003/12/15 00:39:03
> eddieajau Exp $
> >> /**
> >> * Code Highlighting Mambot
> >> * @package Mambo Open Source
> >> * @Copyright (C) 2000 - 2003 Miro International
> Pty Ltd
> >> * @ All rights reserved
> >> * @ Mambo Open Source is Free Software
> >> * @ Released under GNU/GPL License :
> http://www.gnu.org/copyleft/
> >> gpl.html
> >> * @version $Revision: 1.1 $
> >> * @author Andrew Eddie
>
> >> **/
> >
> > Thanks!
> >
> > David Roth
> > rothmail at comcast.net
> >
> >
> > On Aug 26, 2007, at 6:58 AM, Donna Marie Vincent
> wrote:
> >
> >> I use the kl_php mambot
> (http://forum.mamboserver.com/
> >> showthread.php?t=39551) to include php in
> content items:
> >>
> >> {kl_php} ...some php code... {/kl_php}
> >>
> >> or write the php code in a file, then include the
> file wherever I
> >> want it.
> >>
> >>
> >> ----- Original Message ----
> >> From: David A. Roth
> >> To: NYPHP SIG: Joomla
> >> Sent: Sunday, August 26, 2007 1:55:00 AM
> >> Subject: [joomla] Embed PHP in Joomla's HTML?
> >>
> >> I am converting an HTML based web site to Joomla
> 1.5RC1. In the body
> >> of the HTML, it has about 10 lines of PHP code
> which grabs a number
> >> from another web site so it can display this
> number in the middle of
> >> a sentence. Something like, "...with the current
> member now at 810
> >> members...". The number 810 is grabbed from an
> external web site
> >> which gets updated when the number of members
> increases or decreases.
> >>
> >> OK, I thought about how this might be done. One
> was to write a Joomla
> >> Module to do the PHP, but didn't want to deal
> with the formatting of
> >> the rest of the article to make it look like a
> natural one that
> >> Joomla does so well.
> >>
> >> The other idea, is that I went to Edit the
> article and select for it
> >> to display HTML. I then inserted the PHP code
> such as:
> >> >>
> >> php code goes here
> >> ?>
> >>
> >> I saved that and proceeded to reload the page in
> Joomla and no output
> >> was generated from the PHP code. I returned to
> the article, had it
> >> display HTML once again, and my PHP I included
> was gone.
> >> Now I never did this before in Joomla 1.x, so I
> don't know if insert
> >> PHP is supported in this manner or not.
> >>
> >> Q: Can PHP be embedded into the body of text in
> Joomla as I described
> >> above to carry out its task?
> >>
> >> Q: Should I be forced to write a module and
> include the whole article
> >> inside the module just to do the PHP?
> >>
> >> Q: Is there a more clever Joomla-like way to
> accomplish this in the
> >> manner similar to how mosimage (jpgs) are
> inserted into the body of
> >> text, but executed a PHP script?
> >>
> >> Q: And what of Timmy, trapped in the well with
> Lassie distracted by a
> >> ripped box of vanilla flavored Frosty Paws? that
> fell off the truck?
> >> When will help ever arrive? :-)
> >>
> >> Thanks in advance,
> >>
> >> David Roth
> >> rothmail at comcast.net
> >>
> >> _______________________________________________
> >> New York PHP SIG: Joomla! Mailing List
> >> http://lists.nyphp.org/mailman/listinfo/joomla
> >>
> >> NYPHPCon 2006 Presentations Online
> >> http://www.nyphpcon.com
> >>
>
=== message truncated ===>
_______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
____________________________________________________________________________________
Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469
From rothmail at comcast.net Tue Aug 28 02:05:19 2007
From: rothmail at comcast.net (David A. Roth)
Date: Tue, 28 Aug 2007 02:05:19 -0400
Subject: [joomla] Embed PHP in Joomla's HTML?
In-Reply-To: <727DC8E7-AC64-4371-B170-B2ADB2574BAF@enorm2.com>
References: <9074.80812.qm@web35604.mail.mud.yahoo.com>
<398B01E0-37E9-4AAD-9F4D-C5A2434BAFE4@comcast.net>
<727DC8E7-AC64-4371-B170-B2ADB2574BAF@enorm2.com>
Message-ID: <3FCFBC2C-F3FD-485D-B4E3-175D416991C1@comcast.net>
On Aug 27, 2007, at 7:13 AM, Norman ONeil wrote:
> Did lassie ever show up? Is timmy still trapped in the barn? The
> guy that developed klphp has been awol for quite some time, I don't
> know if he was around for the transition to joomla 1.0.xxx
Lassie was a no-show, however Anthony Ferrara showed up and saved the
day. (More on that later). Timmy, oddly enough using a stolen
Blackberry was cranking out text messages and was finally rescued and
as you would guess, arrested for being in receipt of stolen property.
>
> Here are a couple fo links if you want try and track him down.
>
> http://www.idealagent.com/component/option,com_frontpage/Itemid,1/
>
> Here is the original thread for the mambot release
>
> http://forum.mamboserver.com/showthread.php?t=39551&highlight=konlong
Thanks!
>
> On a side note, would be kind of nice to include this functionality
> in the core of Joomla and say, let the super admin decide what
> level of user can use it.
I agree, this would be a wonderful featured to have support in
Joomla's core for 1.5 and beyond. I also like the idea of letting the
super admin decide what level can use it. Hopefully it can also be
used regardless of what editor is selected in Global Configuration,
or at least have an easy way to toggle between them. Or have some
icon displayed to let the person editing the document that it
contains embedded PHP code.
David Roth
rothmail at comcast.net
>
>
>
> Norman O'Neil
> eNorm
> P.O. Box 6592
> Portsmouth, NH 03802- 6592
> 978.255.2672
> http://www.enorm2.com
>
>
>
> On Aug 27, 2007, at 4:06 AM, David A. Roth wrote:
>
>> Thanks to everyone who replied to my posting.
>>
>> I installed the plugin and the module. So far, I have not been
>> able to get the plugin to work. The module works fine, and prints
>> out "hello world" as a module. But any attempts to insert code
>> into an article such as:
>>
>> {kl_php} echo "Hello out there"; {/kl_php}
>>
>> outputs this:
>>
>> {kl_php} echo "Hello out there"; {/kl_php}
>>
>> I did see the suggestion on the Mambo forum that the editor might
>> be inserting some formatting. So I selected No Editor, and tried
>> it again not allowing any sort of HTML to reformat this little bit
>> of instruction and the results were the same. The System Legacy
>> plugin was enabled.
>>
>> Wondering at this point if it might be Joomla 1.5rc1, I installed
>> just the mambot plug-in and enabled it with Joomla 1.0.12 and then
>> it worked!
>>
>> OK, I want to be a good citizen here within the Joomla community
>> and report this so it will work with Joomla 1.5. I would like some
>> advice here, since I know this isn't part of the Joomla core. What
>> is the best way to proceed? Post to a Joomla forum? Contact the
>> authors (see below), but which one since this isn't a Mambo concern?
>>> >> /**
>>> * PHP Evaluation Mambot
>>> * author John Long
>>> * Based on the "Code Highliting Mambot" by eddieajau
>>> **/
>>> // $Id: moscode.php,v 1.1 2003/12/15 00:39:03 eddieajau Exp $
>>> /**
>>> * Code Highlighting Mambot
>>> * @package Mambo Open Source
>>> * @Copyright (C) 2000 - 2003 Miro International Pty Ltd
>>> * @ All rights reserved
>>> * @ Mambo Open Source is Free Software
>>> * @ Released under GNU/GPL License : http://www.gnu.org/copyleft/
>>> gpl.html
>>> * @version $Revision: 1.1 $
>>> * @author Andrew Eddie
>>> **/
>>
>> Thanks!
>>
>> David Roth
>> rothmail at comcast.net
>>
>>
>> On Aug 26, 2007, at 6:58 AM, Donna Marie Vincent wrote:
>>
>>> I use the kl_php mambot (http://forum.mamboserver.com/
>>> showthread.php?t=39551) to include php in content items:
>>>
>>> {kl_php} ...some php code... {/kl_php}
>>>
>>> or write the php code in a file, then include the file wherever I
>>> want it.
>>>
>>>
>>> ----- Original Message ----
>>> From: David A. Roth
>>> To: NYPHP SIG: Joomla
>>> Sent: Sunday, August 26, 2007 1:55:00 AM
>>> Subject: [joomla] Embed PHP in Joomla's HTML?
>>>
>>> I am converting an HTML based web site to Joomla 1.5RC1. In the body
>>> of the HTML, it has about 10 lines of PHP code which grabs a number
>>> from another web site so it can display this number in the middle of
>>> a sentence. Something like, "...with the current member now at 810
>>> members...". The number 810 is grabbed from an external web site
>>> which gets updated when the number of members increases or
>>> decreases.
>>>
>>> OK, I thought about how this might be done. One was to write a
>>> Joomla
>>> Module to do the PHP, but didn't want to deal with the formatting of
>>> the rest of the article to make it look like a natural one that
>>> Joomla does so well.
>>>
>>> The other idea, is that I went to Edit the article and select for it
>>> to display HTML. I then inserted the PHP code such as:
>>> >>
>>> php code goes here
>>> ?>
>>>
>>> I saved that and proceeded to reload the page in Joomla and no
>>> output
>>> was generated from the PHP code. I returned to the article, had it
>>> display HTML once again, and my PHP I included was gone.
>>> Now I never did this before in Joomla 1.x, so I don't know if insert
>>> PHP is supported in this manner or not.
>>>
>>> Q: Can PHP be embedded into the body of text in Joomla as I
>>> described
>>> above to carry out its task?
>>>
>>> Q: Should I be forced to write a module and include the whole
>>> article
>>> inside the module just to do the PHP?
>>>
>>> Q: Is there a more clever Joomla-like way to accomplish this in the
>>> manner similar to how mosimage (jpgs) are inserted into the body of
>>> text, but executed a PHP script?
>>>
>>> Q: And what of Timmy, trapped in the well with Lassie distracted
>>> by a
>>> ripped box of vanilla flavored Frosty Paws? that fell off the
>>> truck?
>>> When will help ever arrive? :-)
>>>
>>> Thanks in advance,
>>>
>>> David Roth
>>> rothmail at comcast.net
>>>
>>> _______________________________________________
>>> New York PHP SIG: Joomla! Mailing List
>>> http://lists.nyphp.org/mailman/listinfo/joomla
>>>
>>> NYPHPCon 2006 Presentations Online
>>> http://www.nyphpcon.com
>>>
>>> Show Your Participation in New York PHP
>>> http://www.nyphp.org/show_participation.php
>>>
>>> _______________________________________________
>>> New York PHP SIG: Joomla! Mailing List
>>> http://lists.nyphp.org/mailman/listinfo/joomla
>>>
>>> NYPHPCon 2006 Presentations Online
>>> http://www.nyphpcon.com
>>>
>>> Show Your Participation in New York PHP
>>> http://www.nyphp.org/show_participation.php
>>
>> _______________________________________________
>> New York PHP SIG: Joomla! Mailing List
>> http://lists.nyphp.org/mailman/listinfo/joomla
>>
>> NYPHPCon 2006 Presentations Online
>> http://www.nyphpcon.com
>>
>> Show Your Participation in New York PHP
>> http://www.nyphp.org/show_participation.php
>
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From rothmail at comcast.net Tue Aug 28 02:16:12 2007
From: rothmail at comcast.net (David A. Roth)
Date: Tue, 28 Aug 2007 02:16:12 -0400
Subject: [joomla] Embed PHP in Joomla's HTML?
In-Reply-To: <261338.30246.qm@web34205.mail.mud.yahoo.com>
References: <261338.30246.qm@web34205.mail.mud.yahoo.com>
Message-ID:
Thanks so much for writing this and making it available for Joomla
1.5, Anthony Ferrara!
I downloaded, installed it in Joomla 1.5rc1 and it works!
> Try using this native Joomla 1.5 mambot
>
> To Use:
> encase php code with
> {php}SomePHP Code;{/php}
> OR include a file with
> {phpfile}/path/to/some/php/file.php{/phpfile}
I tested it as {php} with some PHP code and also including a .php
file as {phpfile} and worked with no problems. Good job!
I also like the idea of having {php} for inserting code and {phpfile}
for file includes.
David Roth
rothmail at comcast.net
On Aug 27, 2007, at 2:11 PM, Anthony Ferrara wrote:
> I wonder if my atachement came through... I wrote a
> 1.5 Native plugin to do this...
> http://www.joomlaperformance.com/component/option,com_docman/
> task,cat_view/gid,23/Itemid,39/
>
> It restricts it to articles authored by Admins or
> Super Admins ONLY...
> --- Norman ONeil wrote:
>
>> Did lassie ever show up? Is timmy still trapped in
>> the barn? The guy
>> that developed klphp has been awol for quite some
>> time, I don't know
>> if he was around for the transition to joomla
>> 1.0.xxx
>>
>> Here are a couple fo links if you want try and track
>> him down.
>>
>>
> http://www.idealagent.com/component/option,com_frontpage/Itemid,1/
>>
>> Here is the original thread for the mambot release
>>
>>
> http://forum.mamboserver.com/showthread.php?t=39551&highlight=konlong
>>
>> On a side note, would be kind of nice to include
>> this functionality
>> in the core of Joomla and say, let the super admin
>> decide what level
>> of user can use it.
>>
>>
>>
>> Norman O'Neil
>> eNorm
>> P.O. Box 6592
>> Portsmouth, NH 03802- 6592
>> 978.255.2672
>> http://www.enorm2.com
>>
>>
>>
>> On Aug 27, 2007, at 4:06 AM, David A. Roth wrote:
>>
>>> Thanks to everyone who replied to my posting.
>>>
>>> I installed the plugin and the module. So far, I
>> have not been able
>>> to get the plugin to work. The module works fine,
>> and prints out
>>> "hello world" as a module. But any attempts to
>> insert code into an
>>> article such as:
>>>
>>> {kl_php} echo "Hello out there"; {/kl_php}
>>>
>>> outputs this:
>>>
>>> {kl_php} echo "Hello out there"; {/kl_php}
>>>
>>> I did see the suggestion on the Mambo forum that
>> the editor might
>>> be inserting some formatting. So I selected No
>> Editor, and tried it
>>> again not allowing any sort of HTML to reformat
>> this little bit of
>>> instruction and the results were the same. The
>> System Legacy plugin
>>> was enabled.
>>>
>>> Wondering at this point if it might be Joomla
>> 1.5rc1, I installed
>>> just the mambot plug-in and enabled it with Joomla
>> 1.0.12 and then
>>> it worked!
>>>
>>> OK, I want to be a good citizen here within the
>> Joomla community
>>> and report this so it will work with Joomla 1.5. I
>> would like some
>>> advice here, since I know this isn't part of the
>> Joomla core. What
>>> is the best way to proceed? Post to a Joomla
>> forum? Contact the
>>> authors (see below), but which one since this
>> isn't a Mambo concern?
>>>> >>> /**
>>>> * PHP Evaluation Mambot
>>>> * author John Long
>>
>>>> * Based on the "Code Highliting Mambot" by
>> eddieajau
>>>> **/
>>>> // $Id: moscode.php,v 1.1 2003/12/15 00:39:03
>> eddieajau Exp $
>>>> /**
>>>> * Code Highlighting Mambot
>>>> * @package Mambo Open Source
>>>> * @Copyright (C) 2000 - 2003 Miro International
>> Pty Ltd
>>>> * @ All rights reserved
>>>> * @ Mambo Open Source is Free Software
>>>> * @ Released under GNU/GPL License :
>> http://www.gnu.org/copyleft/
>>>> gpl.html
>>>> * @version $Revision: 1.1 $
>>>> * @author Andrew Eddie
>>
>>>> **/
>>>
>>> Thanks!
>>>
>>> David Roth
>>> rothmail at comcast.net
>>>
>>>
>>> On Aug 26, 2007, at 6:58 AM, Donna Marie Vincent
>> wrote:
>>>
>>>> I use the kl_php mambot
>> (http://forum.mamboserver.com/
>>>> showthread.php?t=39551) to include php in
>> content items:
>>>>
>>>> {kl_php} ...some php code... {/kl_php}
>>>>
>>>> or write the php code in a file, then include the
>> file wherever I
>>>> want it.
>>>>
>>>>
>>>> ----- Original Message ----
>>>> From: David A. Roth
>>>> To: NYPHP SIG: Joomla
>>>> Sent: Sunday, August 26, 2007 1:55:00 AM
>>>> Subject: [joomla] Embed PHP in Joomla's HTML?
>>>>
>>>> I am converting an HTML based web site to Joomla
>> 1.5RC1. In the body
>>>> of the HTML, it has about 10 lines of PHP code
>> which grabs a number
>>>> from another web site so it can display this
>> number in the middle of
>>>> a sentence. Something like, "...with the current
>> member now at 810
>>>> members...". The number 810 is grabbed from an
>> external web site
>>>> which gets updated when the number of members
>> increases or decreases.
>>>>
>>>> OK, I thought about how this might be done. One
>> was to write a Joomla
>>>> Module to do the PHP, but didn't want to deal
>> with the formatting of
>>>> the rest of the article to make it look like a
>> natural one that
>>>> Joomla does so well.
>>>>
>>>> The other idea, is that I went to Edit the
>> article and select for it
>>>> to display HTML. I then inserted the PHP code
>> such as:
>>>> >>>
>>>> php code goes here
>>>> ?>
>>>>
>>>> I saved that and proceeded to reload the page in
>> Joomla and no output
>>>> was generated from the PHP code. I returned to
>> the article, had it
>>>> display HTML once again, and my PHP I included
>> was gone.
>>>> Now I never did this before in Joomla 1.x, so I
>> don't know if insert
>>>> PHP is supported in this manner or not.
>>>>
>>>> Q: Can PHP be embedded into the body of text in
>> Joomla as I described
>>>> above to carry out its task?
>>>>
>>>> Q: Should I be forced to write a module and
>> include the whole article
>>>> inside the module just to do the PHP?
>>>>
>>>> Q: Is there a more clever Joomla-like way to
>> accomplish this in the
>>>> manner similar to how mosimage (jpgs) are
>> inserted into the body of
>>>> text, but executed a PHP script?
>>>>
>>>> Q: And what of Timmy, trapped in the well with
>> Lassie distracted by a
>>>> ripped box of vanilla flavored Frosty Paws? that
>> fell off the truck?
>>>> When will help ever arrive? :-)
>>>>
>>>> Thanks in advance,
>>>>
>>>> David Roth
>>>> rothmail at comcast.net
>>>>
>>>> _______________________________________________
>>>> New York PHP SIG: Joomla! Mailing List
>>>> http://lists.nyphp.org/mailman/listinfo/joomla
>>>>
>>>> NYPHPCon 2006 Presentations Online
>>>> http://www.nyphpcon.com
>>>>
>>