CSVOut - component for publication price-lists in CSV format
The input format (on the technical limitations) are csv-files, which are easily available from your price-lists in Excel format (File->Save As). This pack includes a component and content-mambot. Works checked for Joomla 1.0.13.
Features of component:
- Price-listy published in the content item by special tag {csvout …}
- “Simple mode” – the whole file is inserted into content
- “Paged mode” – entire file is divided into pages of specified size (number of lines)
- “Limited output” – if you do not want to output large file (if your file really big), it is possible to limit the lines, for example, to 60 rows, and the rest fo file will not be made available in print version
- In “Paged mode” mode you can display the number of lines as “cap” of the document (for example, in the first two rows writted column names for all file, and in the “Paged mode” user can forget what column which is, and if you write header=2 – first two rows is visible on all pages)
- Print version
- Headers highlight (header – it is a line that has only one not empty cell) with background and text color.
- Settigs for each file:
- Background and text color for headers
- The background color for each column
- Align for each column (left, center or right)
- User CSS-class for table
You can change component language in /components/com_csvout/config.php file (russian or english).
Комментарии [5]
Янв 16, 08:13 , David Lipovsky
Great work it seems to help me very lot. But could you show me the example of tag {csvout …} for “Paged mode” and “Limited output” ?
Thank You very much.ToDo:
If You would able implement javascript for sorting by click on header the potencial of this tool be endless.Once more time, great job.
David Lipovský
-
“Limited output”
{csvout limit=99 print=no nowrap=0,4 …}Shows only 99 lines in content item, don’t show print link and make first and fifth columns not wrapped.
—-
“Paged mode”
{csvout page=10 first_line_main=yes main_line_align=center header=2}Whows all csv-document, 10 lines per page. Headings aligned by center and first line is heading. First two lines will be viewed at all pages – global header.
P.S. “TODO” – no such todo :) I do not planning improve this component.
Апр 9, 18:48 , noa
Привет
а как реализовать
{csvout template=file1.ini}
{csvout template=file2.ini}
{csvout template=fileN.ini}
?
а в итоге на страницу выводится только последняя строка – {csvout template=fileN.ini}-
В компоненте заложена возможность вставки нескольких CSV файлов. Только что проверил 6 штук – все вставляется и показывает.
-
Вот, блин, спасибо. Получил рассылку про нечто подобное в платном варианте от Адептуса и полез искать, зная, что на все его платные примочки есть совершенно свободные аналоги…
И нашёл, блин.
2008-10-11 3:10 am , Оставьте свой отзыв