Topic #4906 (no title)

Image

(Click to enlarge)

#5560 - I would like to see single columns in the catalog.

This is a spacer post for a website comment topic. The content this topic relates to: #5560 - I would like to see single columns in the catalog.
Hello, no there are currently no default catalogue one-column displays. Tables are generally not meant to be used in a one-column format. So I'm assuming by "one column", you mean a standard HTML page appearance? e.g. The title of each field is a header, and the value is the content under that header.
OK What I am saying is the column on the left needs to disappear I will try to adjust the template however I feel strongly the default options should be an option for hiding the first column and its contents since it is used for titles and such some may not need to double the work to hide the contents of the first column. Just my complaint.
I think I see where you're getting at. However, it is not something I think I'm going to implement in Composr. It goes against the philosophy of catalogues. Catalogues were meant mainly as a data entry tool / database-like feature, which means having a header and its content (value). Without the header, the content (value) has no context and therefore cannot be understood as to what it is.

This is something you could probably accomplish through a little custom templating, though, especially since you can override any of the catalogue template files on a per-catalogue basis by using CATALOGUE_catalogue_name_* in place of CATALOGUE_DEFAULT_*. You can even release your work as an addon through the export addons feature once you're done (just make sure you use CATALOGUE_DEFAULT_ files if you do, or it won't work on other people's sites unless they have a catalogue by the same name).

To make things easier, adding {+START,IF,{$IS_ADMIN}}{+START,PARAM_INFO}{+END}{+END} to the end of your custom templates will provide you with the field values you wish to display. {+START,PARAM_INFO}{+END} is all you need really, but if your website is live you won't want everyone seeing the output.

Yeah, this is something in user-customization (templating) territory. We already bundle/maintain an overwhelming number of catalogue templates, I wouldn't want to see that expanded even further without extremely good reason.
0 guests and 0 members have recently viewed this.