It is currently Fri Dec 15, 2017 6:05 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Thu Nov 24, 2011 5:39 pm 
Offline

Joined: Thu Nov 24, 2011 5:20 pm
Posts: 4
Ciao,

i would like to now how to remove over text in gallery template listed plain 2.


Please help me...tnx


Top
 Profile  
 
 Post subject: Overtext in Gallery template listed plain 2
PostPosted: Thu Nov 24, 2011 5:39 pm 
Top  
PostPosted: Thu Nov 24, 2011 5:44 pm 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
Can you post a picture or a link to the site so I could see the problem? :)

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


Top
 Profile  
 
PostPosted: Thu Dec 01, 2011 3:13 pm 
Offline

Joined: Thu Nov 24, 2011 5:20 pm
Posts: 4
Hi,
Sorry for my late response. My question is how to delete this html code over the picture like <h3>Powerful and simple</H3>... It is actually the same text like on the right side of the picture. Is it possible to insert an youtube video on the picture?
Image


Top
 Profile  
 
PostPosted: Thu Dec 01, 2011 4:23 pm 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
Currently, it is not possible to add a YouTube video because the images are collected automatically by populating images from folder you specify.

To remove the text displayed on hover, you need to change the plugin code a little :) Now we use description for ALT tag also, so this needs to be changed.

Open "\plugins\content\AdmirorGallery\classes\agGallery.php" file and edit line 152 that looks like this :
Code:
" alt="'.strip_tags($this->descArray[$image]).'" class="ag_imageThumb">


you should change it into:

Code:
" alt="" class="ag_imageThumb">


It this doesn't work, or you have problems changing it, let me know to try some other solution :)


Solution for removing text on hover can be find below, this is wrong solution.

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


Top
 Profile  
 
PostPosted: Thu Dec 01, 2011 4:47 pm 
Offline

Joined: Thu Nov 24, 2011 5:20 pm
Posts: 4
Thank you for your help. I managed to change the code but it's still the same. Do you maybe have any other idea?


Top
 Profile  
 
 Post subject: Re: Overtext in Gallery template listed plain 2
PostPosted: Thu Dec 01, 2011 4:47 pm 
Top  
PostPosted: Thu Dec 01, 2011 4:54 pm 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
Can you post a link to the page with the problem?

It can always be that a browser cashing still saves the old values.

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


Top
 Profile  
 
PostPosted: Thu Dec 01, 2011 5:08 pm 
Offline

Joined: Thu Nov 24, 2011 5:20 pm
Posts: 4
Hi,

I have tested on several computers but it doesn't work. So I think that the cashing is not a problem.

I would love to show you our web page but it is the test site so it's not public.


Top
 Profile  
 
PostPosted: Mon Dec 05, 2011 2:54 pm 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
Sorry, my mistake, this is what you need to do:

First undo changes from the previous post, that is wrong.

Change the line 149:
Code:
 <a href="'.$this->imagesFolderPath.$image.'" title="'.htmlspecialchars($this->descArray[$image], ENT_QUOTES, "UTF-8").'" class="'.$this->popupEngine->className.'" rel="'.$this->popupEngine->rel.'" '.$this->popupEngine->customAttr.' target="_blank">


to:
Code:
 <a href="'.$this->imagesFolderPath.$image.'" title="'" class="'.$this->popupEngine->className.'" rel="'.$this->popupEngine->rel.'" '.$this->popupEngine->customAttr.' target="_blank">


Removing the title of the link will remove the text on hover.

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 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:  
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