Album parent link

Admiror Gallery is free extension for Joomla! 1.6. Joomla! 1.7 and Joomla! 2.5 based websites. Admiror Gallery is all in one, a simple and instant solution for rendering image gallery from folder with images, but very flexible and adaptable.
Post Reply
Message
Author
BUCHEVSKI
Maegashira
Maegashira
Posts: 12
Joined: Mon Jun 17, 2013 1:51 pm

Album parent link

#1 Post by BUCHEVSKI »

Hello, can u tell me what to change, album parent link to be only the image back.png, just to do not tell me parent folder name ( the text of parent folder name in <span> </span>.

----------
// Support for Album Parent Link
if ($this->imagesFolderName != $this->imagesFolderNameOriginal) {
$this->albumParentLink = '
<a href="#" onClick="AG_form_submit_' . $this->articleID . '(' . $this->index . ',1,\'' . dirname($this->imagesFolderName) . '\'); return false;" class="AG_album_parent">
<span>
' . basename(dirname($this->imagesFolderName)) . '
</span>
</a>
<br style="clear:both;" />
';
}
}


thanks!

Admiror Gallery 5 - Fundraising Campaign

User avatar
Vasiljevski
Developer
Developer
Posts: 1258
Joined: Sat Aug 14, 2010 9:31 pm
Location: Novi Sad, Serbia
Contact:

Re: Album parent link

#2 Post by Vasiljevski »

Code: Select all

<span>
' . basename(dirname($this->imagesFolderName)) . '
</span>
This part " basename(dirname($this->imagesFolderName))" needs to be removed, but you cannot remove it completely, because we use CSS to add back.png so you need to have at least a dot "."

Code: Select all

<span>.
</span>
Help Admiror Gallery become even better,
give us a review on JED

BUCHEVSKI
Maegashira
Maegashira
Posts: 12
Joined: Mon Jun 17, 2013 1:51 pm

Re: Album parent link

#3 Post by BUCHEVSKI »

Vasiljevski wrote:

Code: Select all

<span>
' . basename(dirname($this->imagesFolderName)) . '
</span>
This part " basename(dirname($this->imagesFolderName))" needs to be removed, but you cannot remove it completely, because we use CSS to add back.png so you need to have at least a dot "."

Code: Select all

<span>.
</span>
thanks alot! now it looks great!

Post Reply