How do i remove Phoca Gallery text from underneath title

Phoca Gallery - image gallery extension
ollywood
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 13 Aug 2008, 21:31

How do i remove Phoca Gallery text from underneath title

Post by ollywood »

Hi
My client noticed that Phoca Gallery was showing up underneath the pictures page title and asked me to remove this as it doesnt fit with the site and he's had a few questions about it...i cant seem to find where to remove this text as it doesnt disappear when setting the remove phoca logo to off , i have this set to show, no. I have attached an image of how it looks and wondered if im missing something or whether it can be removed from within a file somewhere....?

Many thanks in advance
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How do i remove Phoca Gallery text from underneath title

Post by Jan »

??? no idea why the Phoca Gallery is listed there, see:

https://www.phoca.cz/phocagallery/demo/i ... categories

there is no such text ... try to see the Parameters Basic in menu link to gallery

Jan
If you find Phoca extensions useful, please support the project
ollywood
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 13 Aug 2008, 21:31

Re: How do i remove Phoca Gallery text from underneath title

Post by ollywood »

Yup, its definitely there - happened on another site now....really dont know how to get rid of it. Take a look at the attachment. Have tried removing page title and that doesnt work either. is there a setting within the gallery components to remove it?

Many thanks
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How do i remove Phoca Gallery text from underneath title

Post by Jan »

???

see Parameters (Basic) or Parameters (System) in menu link to Gallery, try to disable e.g. page title, ...

Jan
If you find Phoca extensions useful, please support the project
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: How do i remove Phoca Gallery text from underneath title

Post by caro84g »

And have you tried another template / i.e. rhuk_milkyway?
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
piersol
Phoca Member
Phoca Member
Posts: 10
Joined: 30 Jan 2009, 17:35

Re: How do i remove Phoca Gallery text from underneath title

Post by piersol »

What you are referring to is NOT text, but rather an image. Its cleverly done so it seems to make it hard to remove.

But i removed it by removing this code from the Categories folder and view.html.php file

Code: Select all

		// PARAMS - Define image tag attributes
		if ($params->get('image') != -1) {
			$attribs['align']	= $params->get('image_align');
			$attribs['hspace']	= 6;
			// Use the static HTML library to build the image tag
			$tmpl['image'] 		= JHTML::_('image', 'images/stories/'.$params->get('image'), JText::_('Phoca gallery'), $attribs);
		}
After removing it, the component works fine as best as i can tell and the only difference is Phoca Gallery no longer shows above my categories.
ern1001
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 02 Feb 2009, 23:13

Re: How do i remove Phoca Gallery text from underneath title

Post by ern1001 »

Another way to remove the "Phoca Gallery" text that is underneath the title and above the photos. Note that this this is different than the "Phoca Gallery" logo at the bottom of the component page.

Go to: joomlaroot/language/en-GB
edit the file: en-GB.com_phocagallery.ini
change line 9 from:
PHOCA GALLERY= Phoca Gallery
to:
PHOCA GALLERY=

That worked for my website.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How do i remove Phoca Gallery text from underneath title

Post by Jan »

Hi, all this can be, that you have set some image to display in the top of the page

Phoca Gallery - Categories - Edit Category:

image:
image position:

In this case the image is displayed in the top of the site (if this image cannot be found, only alt of image is displayed, in this case: Phoca Gallery)

Jan
If you find Phoca extensions useful, please support the project
ern1001
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 02 Feb 2009, 23:13

Re: How do i remove Phoca Gallery text from underneath title

Post by ern1001 »

Hi Jan,

I tried your suggestion and it works when I am viewing a Phoca Gallery category such as:
yourjoomlasiteurl.com/component/option,com_phocagallery/Itemid,1/id,1/view,category/

However, the alt text and missing image still showup above the photos if I redirect to the Phoca Gallery component main page:
yourjoomlasiteurl.com/component/option,com_phocagallery

Is there a setting to make the alt text and missing image go away when viewing the component this way also?
ern1001
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 02 Feb 2009, 23:13

Re: How do i remove Phoca Gallery text from underneath title

Post by ern1001 »

Hi,
I tried piersol's modifications noted above , and so far, it is the best answer to fix this problem. Piersol's modification works well for both Firefox and IE .

What happens if you modify the en-GB.com_phocagallery.ini file to remove the "Phoca Gallery", the alt text is removed and it looks fine with Firefox. However in IE7, you will still see a large red "X" above your photos - where the missing image is located.

I tried Jan's solution posted above - it works for the "Category" view, but does not fix the problem with the "Categories" view.
Post Reply