Membership is FREE, giving all registered users unlimited access to every Acorn Domains feature, resource, and tool! Optional membership upgrades unlock exclusive benefits like profile signatures with links, banner placements, appearances in the weekly newsletter, and much more - customized to your membership level!

including a banner on what domain/page

Status
Not open for further replies.

Paullas

Staff member
Joined
Jul 13, 2004
Posts
5,802
Reaction score
350
not sure how to describe this but here goes.

i have a default landing page that all my domains are parked at. what i am looking for is does anyone know how to display text/banner as to what domain name it is:

for example:

domain1 is the main page/site
domain2 is parked at domain 1 but i want a clothes banner and some clothes text to be at the top of the page.
domain3 is parked at domain 1 but i want a loans banner and some loan text to be at the top of the page

thanks in advance :)
 
are you saying you'd like to know which domain was called and then drive the corresponding content accordingly all centrally in one place?

easiest thing to do is some simple php like:
$myDomain = $_SERVER['HTTP_HOST'];

And then based on this value, output whichever banner etc you want.
 
Status
Not open for further replies.

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Members online

Premium Members

New Threads

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
      There are no messages in the current room.
      Top Bottom