Skip to Content Skip to Menu

🌟Discover the Joomla AI Plugin that wrote its own story! - CB Editor Assistant 1.1now for Joomla 3, 4 & 5!
✍️ 5-Day Free Trial, then 🎯 save up to 30% with our 🛍️ Intro Offer (First 50 users, ends Dec. 31)
🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

my 1st component: matrix of avatars, like myspace

  • Raj
  • Raj
  • OFFLINE
  • Posts: 191
  • Thanks: 0
  • Karma: 30
18 years 7 months ago #13403 by Raj
I created a module that takes an SQL query for search and then displays user avatars as a MySpace-like matrix. In the backend, the admin can specify which of 16 preprogrammed SQL queries to govern the search. The queries can do things like display the top profiles, display the newest members, or display random members (just like the MamboMe modules, except this combines their functionality into a single module).

The module is nice, and it works, but modules want to appear across many pages, they don't take parameters from a URL, and the search results are already set by the admin.

So...the module needs to be rewritten as a component.

Unfortunately, this is my first PHP program, so I'm not up to speed on any of this. As I understand it...every component needs a minimum of three files:

1) admin.my-new-component.php, which contains task-information.
2) admin.my-new-component.html.php, a preprocessor for final presentation.
3) tmpl/my-new-component.html, which contains output that will be displayed.

Is this right?

Roger

Please Log in or Create an account to join the conversation.

  • micoots
  • micoots
  • OFFLINE
  • Posts: 45
  • Thanks: 0
  • Karma: 0
18 years 6 months ago #15769 by micoots
Hi,

I'm just wondering, have you made any progress on this?

Michael.

Please Log in or Create an account to join the conversation.

  • Raj
  • Raj
  • OFFLINE
  • Posts: 191
  • Thanks: 0
  • Karma: 30
18 years 6 months ago #15852 by Raj
Yeah, it's actually been released. There's a thread about it elsewhere on the forum. Search for Avatar Matrix Gallery or some combination of terms.

And there's a new version sitting on my hard drive, awaiting a security code review from Nick.

Raj

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum