Home FAQs Joomla components SimpleCalendar Frontend columns and width display

Create PDF Email Print

Frontend columns and width display

Author:
Fabrizio Albonico
Date added:
Wednesday, 24 March 2010
Last revised:
Thursday, 24 November 2011

Answer

You can autonomously select which columns shall be printed both in the frontend list view as well as the PDF output.

Here are the field definitions:

Shortcuts:

  • date --> aggregated date display ( date1 - date2 (date3) ), behaviour is exactly as it is now.
  • time --> aggregated time display ( from_time - to_time ), short version of the time display you get in the detail page
  • price --> aggregated price display ( currency + price - only if both are set! )
  • status --> status of the event (e.g. "Confirmed", "Cancelled", etc.) printed in the defined colour and smaller font size (new in 0.7.5b)
  • name --> displays the full name of the submitter
  • username --> displays the username (login name) of the submitter
  • attachment --> displays the "attachment" icon (paperclip) for events which have attachments

DB fields:

  • entryName
  • entryPlace
  • categoryName
  • groupAbbr
  • groupName
  • category_color
  • date1 --> "from" date, formatted according to the "long date format" setting
  • date2 --> "to" date, formatted according to the "long date format" setting
  • date3 --> "reserve" date, formatted according to the "long date format" setting
  • from_time --> formatted according to the "time format" setting
  • to_time --> formatted according to the "time format" setting
  • status_description

Translations for most column titles are available in the translation files (xx-XX.com_simplecalendar.ini). Please add HEADER_<column_name_uppercase>=Your translation to the file if you need more (or not present) column headers.

Row width

As of 0.7.17b it is possible to select the width of each column by appending a pipe symbol ("  |  ") each defined column, followed by a width expressed in %. Make sure that the sum of all widths is 100% as there is no automated check on this. In case, leave a column empty to use it as a buffer.

Please be aware that column headers also reserve some space.

 

Category

Tags for this item