Remove Overlib Title

Phoca Gallery - image gallery extension
rubyprincess_916
Phoca Member
Phoca Member
Posts: 12
Joined: 19 Sep 2008, 05:48

Remove Overlib Title

Post by rubyprincess_916 »

Hi Jan :)

I have selected the option to not have the title show on my overlib - description only. I have chosen "description only" in BOTH Global Configuration and Component Parameters Menu Item. But, the title still shows. Can you please tell me how I might remove it?

Thank you!

Ruby
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Remove Overlib Title

Post by Jan »

Hi, title is displayed in every case in Overlib effect...

It can be hidden if you change html/php - in source code...

components\com_phocagallery\views\category\tmpl\default.php


---
https://www.phoca.cz/development/
If you find Phoca extensions useful, please support the project
rubyprincess_916
Phoca Member
Phoca Member
Posts: 12
Joined: 19 Sep 2008, 05:48

Re: Remove Overlib Title

Post by rubyprincess_916 »

Cool, can you please tell me what lines to comment out to hide the title? thanks...

Ruby
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Remove Overlib Title

Post by Jan »

Hi, see:
components\com_phocagallery\views\category\tmpl\default.php

line 201 + (the title is $value->title)

Jan
If you find Phoca extensions useful, please support the project
abhijack
Phoca Member
Phoca Member
Posts: 20
Joined: 19 Dec 2009, 20:48

Re: Remove Overlib Title

Post by abhijack »

Hi Jan,

I am using phoca 2.6.1...

I saw that code in line 187 ----- echo $value->title;

I commented that line. But the title is still being displayed in the overlib..

Please help me to avoid the title and the box for that being displayed..

Your help is much appreciated..

Thanks..

Jack..
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Remove Overlib Title

Post by Jan »

there are three options to display it (if clause) try to find all instances of this code to disable it.

Jan
If you find Phoca extensions useful, please support the project
abhijack
Phoca Member
Phoca Member
Posts: 20
Joined: 19 Dec 2009, 20:48

Re: Remove Overlib Title

Post by abhijack »

Thankd for quick reply.

Sorry to nag you again.
Couldnt find those 3 instances.

Are they all in default.php file you mentioned in this thread?

Could you please tell me which lines to look for?

I really want to disable the title..
abhijack
Phoca Member
Phoca Member
Posts: 20
Joined: 19 Dec 2009, 20:48

Re: Remove Overlib Title

Post by abhijack »

Hi

Thanks for this wonderful extension......

I managed to remove the title of the overlib ......
zvonko
Phoca Member
Phoca Member
Posts: 25
Joined: 25 Dec 2009, 14:01

Re: Remove Overlib Title

Post by zvonko »

how did u remove it, where is the explanation ?
share it with others
abhijack
Phoca Member
Phoca Member
Posts: 20
Joined: 19 Dec 2009, 20:48

Re: Remove Overlib Title

Post by abhijack »

Please go include/js/overlib_mini.js file...

In that file there is one function ol_content_caption() in line 70.

This function deals with overlib display....

Hope you can make the changes now......
Post Reply