It is currently Sat Feb 16, 2019 12:01 am

All times are UTC + 1 hour [ DST ]

Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Restructuring Plugin.
PostPosted: Tue Dec 25, 2012 11:09 pm 

Joined: Tue Dec 25, 2012 11:06 pm
Posts: 2

I am in the process of incorporating the Admiror Gallery Plugin into a different component.

The component assigns Id's similary's to what Joomla assigns article ID's.

I would like to be able to use the reference {AG}{/AG} In this plugin.

Is there another file I need to edit other than the plugins/content/admirorgallery.php in order the achieve this.

If I should rewrite the plugin to call ID's from the new the component I am trying to use Id's would that be doable?

Can you point me in the right direction?

btw: viewtopic.php?f=30&t=658 I read this. Not exactly what I am looking for.


 Post subject: Restructuring Plugin.
PostPosted: Tue Dec 25, 2012 11:09 pm 
PostPosted: Tue Jan 08, 2013 7:56 pm 
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1248
Location: Novi Sad, Serbia
I'm not sure exactly what your intention is, but let me explain how the gallery works, in short, and maybe that will help.

In general, admirorgallery.php role is to search the content for {AG}{/AG}.
If any is found array of items found is created, that is obvious. After that it goes throughout the array and creates the gallery's.

Now, if you want the gallery to have some particular ID you should also look into the template files, because they are responsible for creating the actual HTML that will be inserted.

But if you want the plugin to search for ID's instead of {AG}{/AG} then only admirorgallery.php should be edited :)

Hope I gave you some useful info :)

Help Admiror Gallery become even better,
give us a review on JED

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


All times are UTC + 1 hour [ DST ]

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

This is the official Admiror Joomla! Community Forum. You are welcome to join the Admiror Joomla! Community. All Admiror Joomla! Extensions Users, Joomla! Developers, PHP or mySQL Developers are welcome to support & contribute to Admiror Joomla! Projects.

Joomla! is a free and open source content management system (CMS) for publishing content on the World Wide Web and intranets. With a vibrant volunteer community, user-friendly features and plenty of power, Joomla is perfect for your website!

Joomla! is written in PHP, uses object-oriented programming (OOP) techniques and software patterns, stores data in a MySQL database, and includes features such as page caching, RSS feeds, printable versions of pages, news flashes, blogs, polls, search, and support for language internationalization.

Joomla! is the property of Open Source Matters, Inc. All rights reserved. Read more about Joomla! at

Protected by Anti-Spam ACP Powered by phpBB® Forum Software © phpBB Group