Phoca
Phoca Seal

the alt value settings are not working

Before you ask see the Phoca Gallery User Manual

the alt value settings are not working

Postby bendeguz on 17 May 2013, 18:57

Hi Jan

In the Phoca Gallery Parameters in the General settings when I set the "alt value" to whatever value, always the image title appears at the mousover in Category view. Even if I set "empty".

I wish to see the "description", as alt tag. I added description to all the images in the gallery. I deleted the cache, upgraded the phoca gallery, but nothing have helped.

The images are on the server, there is no external source, no Picassa, no Facebook.

The situation is the same in the component and in the plugin, only the "title" appears…

How can I solve the problem? Where can I check it maybe in the code, or in the database tables, to see where is the problem?



Phoca Gallery 3.2.3
Joomla 2.5
Artisteer template

First I suspected the template, but even with the default beez template it doesn't work.

thanks for the answer
bendeguz
Phoca Newbie
Phoca Newbie
 
Posts: 7
Joined: 04 May 2013, 09:27

Google Ads


Re: the alt value settings are not working

Postby bendeguz on 20 May 2013, 19:18

I have tried everything, but it is still not working. :x
bendeguz
Phoca Newbie
Phoca Newbie
 
Posts: 7
Joined: 04 May 2013, 09:27

Re: the alt value settings are not working

Postby Jan on 25 May 2013, 00:32

Hmmm, if you see directly the html code, are you able to see the alt values you set? If you change to some other detail window method, is this still the same?
If you find some Phoca extensions useful, please vote for them on: extensions.joomla.org
User avatar
Jan
Phoca Hero
Phoca Hero
 
Posts: 32245
Joined: 10 Nov 2007, 18:23
Location: Czech Republic

Re: the alt value settings are not working

Postby bendeguz on 30 May 2013, 16:10

Hi Jan!

I tried more detail windows, for example no popup, and it does not work.

I can't see the alt value in html code:

Image


thanks for the answer!
bendeguz
Phoca Newbie
Phoca Newbie
 
Posts: 7
Joined: 04 May 2013, 09:27

Re: the alt value settings are not working

Postby bendeguz on 01 Jun 2013, 07:06

Sorry, I see the alt value in html code, but what I see is the title and this is what I don't want to see.

:(
bendeguz
Phoca Newbie
Phoca Newbie
 
Posts: 7
Joined: 04 May 2013, 09:27

Re: the alt value settings are not working

Postby Jan on 06 Jun 2013, 00:21

Hi, then you need to remove the title directly in the php code :-(

Jan
If you find some Phoca extensions useful, please vote for them on: extensions.joomla.org
User avatar
Jan
Phoca Hero
Phoca Hero
 
Posts: 32245
Joined: 10 Nov 2007, 18:23
Location: Czech Republic

Re: the alt value settings are not working

Postby bendeguz on 22 Aug 2013, 15:07

Hi Jan! Thanks for answer... Can I have one more question?

In which files precisely and what lines should I change?
bendeguz
Phoca Newbie
Phoca Newbie
 
Posts: 7
Joined: 04 May 2013, 09:27

Re: the alt value settings are not working

Postby Jan on 23 Aug 2013, 18:37

HI, see:
components/com_phocagallery/views/category/tmpl/ ... and it can be stored in different files here, depending on version - see the default_images.php etc.

Jan
If you find some Phoca extensions useful, please vote for them on: extensions.joomla.org
User avatar
Jan
Phoca Hero
Phoca Hero
 
Posts: 32245
Joined: 10 Nov 2007, 18:23
Location: Czech Republic

Re: the alt value settings are not working

Postby Koyocik on 13 Sep 2013, 19:00

I've found a workaround, works for me:
1. go to components/com_phocagallery/views/category
2. edit file view.html.php
3. Change line 1698
from
$imgTitle = $items[$iS]->title;
to
$imgTitle = '';

HTH, greets.
Koyocik
Phoca Newbie
Phoca Newbie
 
Posts: 1
Joined: 13 Sep 2013, 18:50

Re: the alt value settings are not working

Postby Jan on 19 Sep 2013, 23:26

Ok
If you find some Phoca extensions useful, please vote for them on: extensions.joomla.org
User avatar
Jan
Phoca Hero
Phoca Hero
 
Posts: 32245
Joined: 10 Nov 2007, 18:23
Location: Czech Republic


Return to Phoca Gallery

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot], Google [Bot] and 4 guests