title: Can a Joomla module "know" what position it's in?
body: <p>I'm fairly new to Joomla (I've been more of a Wordpress guy) and I have a question about module positions. </p>
  
  <p>Can a module know what position it's in. For instance can I do something like this:</p>
  
  <pre>if(modulePosition =='left'){
      Do this...
  }else{
      Do that...
  }</pre>
  
  <p>It seems easy enough, but I've searched for hours and can't find anything that will help me with that. I know there is a countModules function but from what I can tell, that just checks to see if the module is active or not.</p>
  
  <p>Thanks for your help!</p>