Fork me on GitHub

Format News Stories  Bottom

  • You know those little things that bug you but never enough to do anything about? Well I do. One of them is the full page detail of news articles. If you format the HTML correctly when you input the "Story Text" (abstract) and the "Extended Text", you get a big gap in the middle of the story when the two parts are brought together into the full text. To avoid the gap, you can avoid formatting with a paragraph break between the Story Text and the Extended Text. That looks better on the full page detail but, when you reformat to print, usually by clicking on the printer icon, the paragraphs run together and it looks bad again.

    While this bugs me...not so much to take the time to fix...I'd like to see it fixed so the gap on the full page detail is not added between the two parts of the text. That way, we can use accepted HTML paragraph formatting and both the full detail and printable version will format as they should.

    Slugger
  • Not sure about the printable version, but I think

    Code

    $info['maintext']

    displays the story/entended text with no gaps in the formatting. There is also a

    Code

    $info['fulltext']

    theme variable, but that has what I think is a bug, because it displays the intro text twice...

    --
    Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods

    Cape Cod Travel Info...
  • Also, check out the "The URL of this story is:" comment at the end of the printable version. Every short URLs hack I've seen prints out the long URL.

    Again, nothing critical but just little nuisances.

    Slugger
  • That I dunno about... Obviously the print.php would also need to be changed... There ought to be (or is there?) a function included with short URL mods where you can feed it the long URL and get back the short one...

    --
    Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods

    Cape Cod Travel Info...

This list is based on users active over the last 60 minutes.