Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Printing in SECTIONS Module
  • Posted: 22.05.2003, 04:20
     
    spadata1
    rank:
    Helper Helper
    registered:
     December 1969
    Status:
    offline
    last visit:
    08.04.08
    Posts:
    152
    I did numerous searches here and I guess nobody EVER has any problems printing an article in the SECTIONS MODULE?
    The format of the print-out is terrible. it doesn't simply print the data in the article, but it's following some format code that I don't know where?
    When you click the PRINT icon, the print appears in a narrow box.

    http://www.gohotsprings.com/focus/modules.php?op=modload&name=Sections&file=index&req=printpage&artid=33

    I am viewing this in 1024 px wide screen. It MAY appear semi correct in a 800px wide??

    WHERE do I change this?? HOW also?
  • Posted: 14.06.2003, 20:05
     
    spadata1
    rank:
    Helper Helper
    registered:
     December 1969
    Status:
    offline
    last visit:
    08.04.08
    Posts:
    152
    Why did I know that I would NEVER get an answer to a simple question?

    Just because it is a CORE MALFUNCTION? This printing ERROR has been there at least since pn614
  • Posted: 14.06.2003, 20:24
     
    larsneo
    rank:
    Software Foundation Software Foundation
    registered:
     December 1969
    Status:
    offline
    last visit:
    15.11.08
    Posts:
    4481
    try the updated /modules/Sections/index.php from here

    --
    regards from germany
    ..::[Zikula Application Framework]::.. ..::[SEO-Blog]::.. ..::[CMS Sicherheit]::..
  • Posted: 14.06.2003, 23:19
     
    spadata1
    rank:
    Helper Helper
    registered:
     December 1969
    Status:
    offline
    last visit:
    08.04.08
    Posts:
    152
    Thanx - That helped a lot. But it revealed a fault (?) that comes up in the difference between HTML & text format & text w/html tags...

    I use the sections area mostly if I need the HTML formating. HTML IGNORES a break in a line that does NOT have either a < br > or a < /p > or other reason for starting a new line.

    The Sections Print is now "seeing" the break in the line and inserting a in the text when you click on the print.gif icon.

    These "no read" line breaks are the result of my stripping away some tags such as < div > <textarea> or other unecessary or unwanted tags. This doesn't affect how it looks in an HTML page but PN sure sees ths!

    EXAMPLE:
    the quick brown
    fox jumped over < br >
    the lazy
    dogs back, 1234 5678 9012


    Reading in the Sections Area would show:

    the quick brown fox jumped over
    the lazy dogs back, 1234 5678 9012

    but in the sections print area would show
    the quick brown
    fox jumped over
    the lazy
    dogs back, 1234 5678 9012

    Is there any easy fix to this? I don't really want to re-write a dozen or so LARGE articles.
    :?:</textarea>
  • Posted: 14.06.2003, 23:56
     
    larsneo
    rank:
    Software Foundation Software Foundation
    registered:
     December 1969
    Status:
    offline
    last visit:
    15.11.08
    Posts:
    4481
    i've just updated the CVS - please check the new /modules/Sections/index.php ;)

    --
    regards from germany
    ..::[Zikula Application Framework]::.. ..::[SEO-Blog]::.. ..::[CMS Sicherheit]::..
  • Posted: 15.06.2003, 00:45
     
    spadata1
    rank:
    Helper Helper
    registered:
     December 1969
    Status:
    offline
    last visit:
    08.04.08
    Posts:
    152
    :D
    All right! That saved me a BUNCH of hours having to redo articles!

    I was going to ask what, where, how, until I saw the "ANNOTATE" in the CVS.

    Now...one of these days I'm going to get a multi-site working with only ONE copy of PN installed.

    I can get it with a bunch of site sharing ONE database but that takes uop too much disk space.

    Another day --- Another project!

    8)

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula