0
Welcome Guest! Login
0 items Join Now

Changing Banners Count to more than 10

  • Changing Banners Count to more than 10

    Posted 12 years 9 months ago
    • Hi;

      I've looked through the files in /administrator/com_modules and com_banners trying to find out how to increase the allowable count of banners to more than 10 to allow for sidebar modules with stacks of paying client logos. I have some php programming experience but still can't seem to find how to change the max value. The modules are to roughly match the page height so need a 5, 10, 15, 20, logo etc. module.

      Help would be greatly appreciated.

      Regards;

      Andrew

      joomla 2.5, Voxel Template, all plugins up to date.
    • Last Edit: 12 years 9 months ago by Jordan Richie.
    • Scott B.'s Avatar
    • Scott B.
    • Elite Rocketeer
    • Posts: 600
    • Thanks: 2
    • Web Developer, UI Developer

    Re: Changing Banners Count to more than 10

    Posted 12 years 9 months ago
    • modules/mod_banners/mod_banners.xml (line 50)
      <field
              name="count"
              type="integer"
              first="1"
              last="10"
              step="1"
              default="5"
              label="MOD_BANNERS_FIELD_COUNT_LABEL"
              description="MOD_BANNERS_FIELD_COUNT_DESC" />

      Change last="10" to whatever integer. You may want to change your step interval too ;)
    • ٩(•̮̮̃•̃)۶

Time to create page: 0.049 seconds