Customize Header

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Customize Header

Saren (Cambodia)
Dear NGL team,

Currently, I have two separate domains for the library (http://library.opendevelopmentcambodia.net and http://library.opendevelopmentmekong.net) which is hosted by only one hosting. Actually, this two domains is the same library.

What I want is to customize the header for each to look differently. I want when visitor come to http://library.opendevelopmentcambodia.net they will see like the ways it is now, but when visitor come to http://library.opendevelopmentmekong.net it will change the header look different.

I don't know where and how to write a condition to solve this problem.

Best regards,
SAREN

Reply | Threaded
Open this post in threaded view
|

Re: Customize Header

nisarpashasd
Respected Patron,
Greetings from NGL Open Source

Server uses same set of templates for all http requests. Hence currently it is not possible to have different set of templates based on domain entered.

Looking forward to serve you.

NGL Open Source Support Team,
(Service Before Self)
--
Verus Solutions, India.
Web: www.verussolutions.biz
Telephone: +91 741 678 3719,+91 741 678 2119, +91 402 771 9161,+91 402 771 9162
Yahoo Messenger: [hidden email]
Google Talk: [hidden email]
Skype Id for voice chat: newgenlib.oss
Forums: http://forums.newgenlib.org


On Wed, May 7, 2014 at 10:08 AM, Saren (Cambodia) [via NGL] <[hidden email]> wrote:
Dear NGL team,

Currently, I have two separate domains for the library (http://library.opendevelopmentcambodia.net and http://library.opendevelopmentmekong.net) which is hosted by only one hosting. Actually, this two domains is the same library.

What I want is to customize the header for each to look differently. I want when visitor come to http://library.opendevelopmentcambodia.net they will see like the ways it is now, but when visitor come to http://library.opendevelopmentmekong.net it will change the header look different.

I don't know where and how to write a condition to solve this problem.

Best regards,
SAREN




If you reply to this email, your message will be added to the discussion below:
http://forums.newgenlib.org/Customize-Header-tp7574901.html
To start a new topic under NGL, email [hidden email]
To unsubscribe from NGL, click here.
NAML



--

Regards
SD.NisarPasha
NewGenLib Open Source Team
Verus Solutions,
Hyderabad, India
Mobile:7416782119 
Reply | Threaded
Open this post in threaded view
|

Re: Customize Header

Saren (Cambodia)
Many thank for your respond.

Anyway, is it possible to have a condition to get the url address?
I want to have condition like:

If (url == 'http://abc.com'){

show something here
}else (url == 'http://cba.com'){
show something here
}


Looking forward to hear from you.

Best regards,
SAREN