• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 306
  • Last Modified:

where are $params located in Joomla

I am working on a Joomla site and I need to change one of the inline styles, located in the line below.

<ul class="menu" role="navigation" style="display: block; height: 50px; overflow-x: visible; overflow-y: visible; visibility: visible; ">

I've followed the style back to a module file where the corresponding line looks like this:

<ul class="menu<?php echo $params->get('class_sfx');?>"<?php
      $tag = '';
      if ($params->get('tag_id')!=NULL) {
            $tag = $params->get('tag_id').'';
            echo ' id="'.$tag.'"';
      }
?> role="navigation">

I think that the line  echo $params->get('class_sfx'); is inserting the styles, but am not sure. Is this correct? and if so where is the value of this variable stored so that I can change it?

Thanks for any help
0
elliottbenzle
Asked:
elliottbenzle
1 Solution
 
Allan NisbetOwner at Storm IT Solutions LTDCommented:
Hi if you can give me a link to the site I can help you further.

im guessing its the mainmenu or similar module
possibly main_mainmenu.php

look for a Helper.php and File.php

which are associated with the menu to find your params.

Go to the module folder of the menu and have a scout around in there

normally they are in a xml file

<param name="class_sfx" type="text" default="" label="Menu Class Suffix" description="PARAMMENUCLASSSUFFIX" />

the above is an example of how its normally used

0
 
elliottbenzleAuthor Commented:
Thanks found it.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now