Coppermine and logo on a site
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexCoppermine
Author Message
wookii
Newbie


Joined: Dec 07, 2006
Posts: 20
Location: France

PostPost subject: Coppermine and logo on a site
Posted: Fri Mar 16, 2007 10:40 am
Reply with quote

Helo World Smile

2 answer :
1) In my site (cms dragonfly 911), i want to view all album image with a "diaporama" function, but in a full page !!!
It's possible ???

2) It's possible to remove a logo of a site for win height and see image per image ?
Actually, i scroll down a windows ti view a entire image.

Thanks a lot and sorry for this bad english Embarassed


wookii's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Dragonfly-9.0.6
Back to top
View user's profile
Eestlane
I18N / L10N Lead Dev


Joined: Apr 06, 2005
Posts: 1406
Location: Estonia

PostPost subject: Re: Coppermine and logo on a site
Posted: Fri Mar 16, 2007 11:26 am
Reply with quote

1) I didn't understand, what is "diaporama" function. Explain.

2) You can define scaled down image's height or width in admin->coppermine


Eestlane's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.0.63/5.0.67/5.2.8/9.2.1
Back to top
View user's profile Send e-mail Visit poster's website
wookii
Newbie


Joined: Dec 07, 2006
Posts: 20
Location: France

PostPost subject: Re: Coppermine and logo on a site
Posted: Fri Mar 16, 2007 1:16 pm
Reply with quote

Eestlane wrote:
1) I didn't understand, what is "diaporama" function. Explain.
Sorry. This is a slideshow !

Eestlane wrote:
2) You can define scaled down image's height or width in admin->coppermine
Width !

The logo can't be not display via modification on php page ?


wookii's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Dragonfly-9.0.6
Back to top
View user's profile
Eestlane
I18N / L10N Lead Dev


Joined: Apr 06, 2005
Posts: 1406
Location: Estonia

PostPost subject: Re: Coppermine and logo on a site
Posted: Fri Mar 16, 2007 1:29 pm
Reply with quote

First off enter you server speculations

2) So you don't want the pageheader to appear, while viewing picture in coppermine? Did I get it right? I know a solution, if so...


Eestlane's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.0.63/5.0.67/5.2.8/9.2.1
Back to top
View user's profile Send e-mail Visit poster's website
Eestlane
I18N / L10N Lead Dev


Joined: Apr 06, 2005
Posts: 1406
Location: Estonia

PostPost subject: Re: Coppermine and logo on a site
Posted: Fri Mar 16, 2007 1:32 pm
Reply with quote

server specifications* Razz

Eestlane's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.0.63/5.0.67/5.2.8/9.2.1
Back to top
View user's profile Send e-mail Visit poster's website
wookii
Newbie


Joined: Dec 07, 2006
Posts: 20
Location: France

PostPost subject: Re: Coppermine and logo on a site
Posted: Fri Mar 16, 2007 2:46 pm
Reply with quote

Eestlane wrote:
First off enter you server speculations

CMS version : 9.1.1
PHP version : 4.4.2
MySQL version : 4.1.22 (client: 3.23.49)
System : Linux http35 2.4.34-grsec

Eestlane wrote:
2) So you don't want the pageheader to appear, while viewing picture in coppermine?
YES !
Eestlane wrote:
Did I get it right?
It's right !
You are so good Smile

Eestlane wrote:
I know a solution, if so...
I'm pending to your lips Smile


wookii's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Dragonfly-9.0.6
Back to top
View user's profile
Eestlane
I18N / L10N Lead Dev


Joined: Apr 06, 2005
Posts: 1406
Location: Estonia

PostPost subject: Re: Coppermine and logo on a site
Posted: Fri Mar 16, 2007 3:24 pm
Reply with quote

I meant that you should enter your server specs to your profile, you see the enter word in my last post links to the spot where you can enter it.

Anyway, to the point, you have to edit your theme, ok, here's how to:

Open themes/YOUR_THEME/theme.php
Add after
PHP:
'S_SITENAME'   => $sitename,
(or any of these exept the last one) to new line:

PHP:
'NOT_IMAGE'    => !preg_match('/displayimage/', get_uri()),

Open themes/YOUR_THEME/template/header.html and add before header:
PHP:
<!-- IF NOT_IMAGE -->
and after header
PHP:
<!-- ENDIF -->

That's it!
It's a bit {expletive removed} code atm, it could do module name or something check also, beacuse at the moment if whatever module's url contains "displayimage", then it won't show the header. But I just wanted to make as simple as possible.


Eestlane's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.0.63/5.0.67/5.2.8/9.2.1
Back to top
View user's profile Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexCoppermine All times are GMT
Page 1 of 1


Jump to:  
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 vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

stopsoftwarepatents.eu petition banner
User Info [x]

Welcome Anonymous

Nickname
Password
(Register)

Last CVS commits [x]

Languages [x]

Community [x]

Support for DragonflyCMS in a other languages:

Deutsch
Español

X-links [x]
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

Preview theme [x]
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.


You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
This page generated in 0.7278 seconds with 20 DB Queries in 0.1666 seconds
Memory Usage: 2.92 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy