Forum


List Manager Support

List Manager support
Forums
Public write access is disabled. Please login

Display List With Category Heading 18.01.2017 23:11

How do I create a view that will output my records with a category heading.

CATEGORY 1
RECORD NAME ADDITIONAL RECORD FIELD ADDITIONAL RECORD FIELD ADDITIONAL RECORD FIELD
RECORD NAME ADDITIONAL RECORD FIELD ADDITIONAL RECORD FIELD ADDITIONAL RECORD FIELD
RECORD NAME ADDITIONAL RECORD FIELD ADDITIONAL RECORD FIELD ADDITIONAL RECORD FIELD
RECORD NAME ADDITIONAL RECORD FIELD ADDITIONAL RECORD FIELD ADDITIONAL RECORD FIELD
CATEGORY 2
RECORD NAME ADDITIONAL RECORD FIELD ADDITIONAL RECORD FIELD ADDITIONAL RECORD FIELD
RECORD NAME ADDITIONAL RECORD FIELD ADDITIONAL RECORD FIELD ADDITIONAL RECORD FIELD
RECORD NAME ADDITIONAL RECORD FIELD ADDITIONAL RECORD FIELD ADDITIONAL RECORD FIELD
RECORD NAME ADDITIONAL RECORD FIELD ADDITIONAL RECORD FIELD ADDITIONAL RECORD FIELD
CATEGORY 3
RECORD NAME ADDITIONAL RECORD FIELD ADDITIONAL RECORD FIELD ADDITIONAL RECORD FIELD
RECORD NAME ADDITIONAL RECORD FIELD ADDITIONAL RECORD FIELD ADDITIONAL RECORD FIELD
RECORD NAME ADDITIONAL RECORD FIELD ADDITIONAL RECORD FIELD ADDITIONAL RECORD FIELD
RECORD NAME ADDITIONAL RECORD FIELD ADDITIONAL RECORD FIELD ADDITIONAL RECORD FIELD

Re: Display List With Category Heading 19.01.2017 14:36

Hi,
in order to get such layout you would need to create 3 views, for each one you must configure the view to 'filter' using the category column with one of the values. Now you can use a default article and the module view (3 modules, with positions listview1, listview2, listview3 for ex) in order to create your desired layout:

CATEGORY 1
{loadposition listview1}


CATEGORY 2
{loadposition listview2}


CATEGORY 3
{loadposition listview3}

Hope this helps,regards
Moonsoft Team
www.moonsoft.es

Re: Display List With Category Heading 30.01.2017 22:56

Thank you that solution is working except that it leaves a great deal of blank lines that I would like to remove.
Please see http://www.alynnsbutterflyinn.com/joomla/index.php/events

Can you advise how/where/what to remove so that I can delete that excess space between the modules.
Thanks!

Re: Display List With Category Heading 31.01.2017 12:50

Hi,
ok, you have several extra spaces that you can remove. First, your can try to remove a couple of new lines (br tags) that are at the module template:


joomla\modules\mod_listmanager\tmpl\content.php

lines 1634 and 1638

and also your template is adding an extra margin of 20 px to each of the forms, at your css


joomla/templates/ALBI/css/template.css (line 861) you have


form {
margin: 0 0 20px;
}

You can correct at the template or if you prefer to apply only to ListManager forms, you can add this to LM css


joomla/modules/mod_listmanager/assets/css/default2.css

#lm_wrapper form{

margin: 0px !important;
}

Hope this will do the work, let us know if you need further help with this.

Regards
Moonsoft Team
www.moonsoft.es
Are you satisfied with our products/services/support?
Please help us to keep improving, add a review at  joomla extensions site and  magento connect
FaLang translation system by Faboba

Our clients' feedback