It is currently Wed Dec 13, 2017 8:51 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 13 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Thu Feb 13, 2014 11:15 pm 
Offline

Joined: Thu Feb 13, 2014 10:57 pm
Posts: 7
Hello,

How to start automatic Admiror Gallery?
If i push a button i wil to the pictures to and not a row of image's.
I only want to see 1 big picture seen.
Without pushing on the image.

I hope someone can help me with it.

Greetings from Cairog


Top
 Profile  
 
 Post subject: How to start automatic Admiror Gallery
PostPosted: Thu Feb 13, 2014 11:15 pm 
Top  
PostPosted: Fri Feb 14, 2014 10:38 am 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
I would like to help you, but I don't quite understand what is the issue you have.
Can you, please, clarify?

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


Top
 Profile  
 
PostPosted: Fri Feb 14, 2014 2:39 pm 
Offline

Joined: Thu Feb 13, 2014 10:57 pm
Posts: 7
This is the link http://www.techdisign.com/index.php?option=com_content&view=article&id=125 that I was talking about.
If you push on the link you zie one picture what with Admiror Gallery is made.

I want to that i can summon the Admiror Gallery with out the picture only with tekst.
I will now explain what i mean:
If i have the text (look for more information) that is the texts what the link must have.

Greetings Cairo_g


Top
 Profile  
 
PostPosted: Mon Feb 17, 2014 1:51 pm 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
You want to have text link that, when clicked, will open a larger image?

If yes, you could do that, but you would need to create a new template for that, as classic is not suitable for that.

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


Top
 Profile  
 
PostPosted: Tue Feb 18, 2014 12:10 am 
Offline

Joined: Thu Feb 13, 2014 10:57 pm
Posts: 7
You want to have text link that, when clicked, will open a larger image?

Yes I want that.

How do you mean i must create a new template ?
must i do that for the Admiror Gallery?

I have no idea how to do that?

can you give me some tips or can you help me do it?

I so not good ad develop.
I can only changes the script.
I cannot write it.

I'm still leaning to do that.
Greetings Cairog


Top
 Profile  
 
 Post subject: Re: How to start automatic Admiror Gallery
PostPosted: Tue Feb 18, 2014 12:10 am 
Top  
PostPosted: Tue Feb 18, 2014 12:29 pm 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
cairog wrote:
How do you mean i must create a new template ?
must i do that for the Admiror Gallery?

Yes. It's easy :)
Go to template folder: plugins\content\admirorgallery\admirorgallery\templates\
Make a copy of classic folder and rename it to text_link_gallery or something like that.
There is a details.xml file, it defines some basic info about the template, change it to accordingly.
The most interesting file is index.php, in it find this part:
Code:
$html.='
  <table cellspacing="0" cellpadding="0" border="0">
    <tbody>
      <tr>
   <td>';

// Loops over the array of images inside target gallery folder, adding wrapper with SPAN tag and write Popup thumbs inside this wrapper
if (!empty($AG->images)) {
    foreach ($AG->images as $imageKey => $imageName) {
        $html.= '<span class="ag_thumb' . $AG->params['template'] . '">';
        $html.= $AG->writePopupThumb($imageName);
        $html.='</span>';
    }
}

$html .='
   </td>
      </tr>
    </tbody>
  </table>';

It is responsible for creating the gallery HTML output.
This code actually adds the thumbnails :
Code:
$html.= $AG->writePopupThumb($imageName);

So what you would do is change that line to something like:
Code:
$html.='<a href="' . $AG->imagesFolderPath . $imageName . '" title="' . htmlspecialchars($AG->writeDescription($imageName), ENT_QUOTES, "UTF-8") . '" class="' . $AG->popupEngine->className . '" rel="' . $AG->popupEngine->rel . '" ' . $AG->popupEngine->customAttr . ' target="_blank">' . $AG->writeDescription($imageName) . '</a>';

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


Top
 Profile  
 
PostPosted: Wed Feb 19, 2014 12:23 am 
Offline

Joined: Thu Feb 13, 2014 10:57 pm
Posts: 7
How can I summon it on the webpage ??
the old way is {AG}test{/AG} if I do this then see i the pictures from this map TEST

What is the new way to summon it.

Ik heb change the things that you have said.

but I don't no how to summon it.

Can you tell me how i can do that?

Greetings Cairog


Top
 Profile  
 
PostPosted: Wed Feb 19, 2014 1:29 pm 
Offline

Joined: Thu Feb 13, 2014 10:57 pm
Posts: 7
It is working,
Can i run two different admiror Gallery??

One with the pictures and one with text is this possible?

Because I have a picture Gallery.

and I want a part only with text only.


Top
 Profile  
 
PostPosted: Thu Feb 20, 2014 11:43 am 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
Yes :)

Add one as :
Code:
{AG template="text_link_gallery" }test{/AG}

and the second one:
Code:
{AG template="classic" }test{/AG}

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


Top
 Profile  
 
 Post subject: Re: How to start automatic Admiror Gallery
PostPosted: Thu Feb 20, 2014 11:43 am 
Top  
PostPosted: Tue Feb 25, 2014 10:13 am 
Offline

Joined: Thu Feb 13, 2014 10:57 pm
Posts: 7
Hoi,

this code don't work {AG template="text_link_gallery" }test{/AG}

if I use the code I see noting. it will not load any template.
do you now how that can?

don't no it, I hoop you can help me with it?


greetings cairog


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ]  Go to page 1, 2  Next

 


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:  
cron

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 http://www.joomla.org/.


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