0
Welcome Guest! Login
0 items Join Now

Printable pages are right justified?

  • Printable pages are right justified?

    Posted 15 years 1 month ago
    • I'm having a problem where when I click on the printable page the formating almost looks backwards (a list of items will be right justified and have the number.. 1, 2, 3.. on the far right end instead of left justified starting with the number). Tables also appear backwards when the printable page icon is clicked, and the PDF converter doesnt seem to be able to read tables. I really need to have this fixed asap, as a lot of my site will need to have printable tables this week. site is www.islanddragway.com , here is a link to one table for reference www.islanddragway.com/index.php/street-car-shootout/payouts and one link to a list of rules that the printable page messes up www.islanddragway.com/index.php/street-c...otout/shootout-rules

      Thanks
    • Alyoshablue's Avatar
    • Alyoshablue
    • Sr. Rocketeer
    • Posts: 103
    • Thanks: 0
    • Small Business Owner - Construction

    Re: Printable pages are right justified?

    Posted 15 years 1 month ago
    • Seems like somehow when clicking on the PDF, it publishes it in the Right-to-Left fashion, which would be commonly used in other languages. Could be somehow that you have two language files setup and this is causing a conflict? I really don't know.

      I would check that specific article and under the global properties, make sure you are using english.

      Try that out.
    • Browsers: Chromium/Firefox (w/ Firebug)
      Joomla Ver: 1.5.21
      Gantry: 3.0.12
      OS: Ubuntu 10.10/Win7
  • Re: Printable pages are right justified?

    Posted 15 years 1 month ago
    • what are the plugins or mods that make it capable of creating a pdf? are there maybe some settings in that?
    • Alyoshablue's Avatar
    • Alyoshablue
    • Sr. Rocketeer
    • Posts: 103
    • Thanks: 0
    • Small Business Owner - Construction

    Re: Printable pages are right justified?

    Posted 15 years 1 month ago
    • Sorry, Melissa - I didn't forget about you. Try this out (from Joomla forums):

      Copy / paste the following code into a text file and save it as: component.php

      Then upload it to your template_root folder

      <?php
      /**
      * @copyright   Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
      * @license       GNU/GPL, see LICENSE.php
      * Joomla! is free software. This version may have been modified pursuant
      * to the GNU General Public License, and as distributed it includes or
      * is derivative of works licensed under the GNU General Public License or
      * other free or open source software licenses.
      * See COPYRIGHT.php for copyright notices and details.
      */
       
      // no direct access
      defined( '_JEXEC' ) or die( 'Restricted access' );
      ?>
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
      <head>
          <jdoc:include type="head" />
          <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/template.css" type="text/css" />
       
      <?php if($this->direction == 'rtl') : ?>
          <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/template_rtl.css" type="text/css" />
      <?php endif; ?>
      </head>
      <body class="contentpane">
          <jdoc:include type="message" />
          <jdoc:include type="component" />
      </body>
      </html>


      The full thread can be found here: http://forum.joomla.org/viewtopic.php?f=428&t=463655&start=0

      I hope this works for you. If it does, let the forum know and then close out post - green check.
    • Browsers: Chromium/Firefox (w/ Firebug)
      Joomla Ver: 1.5.21
      Gantry: 3.0.12
      OS: Ubuntu 10.10/Win7
  • Re: Printable pages are right justified?

    Posted 15 years 1 week ago
    • I'm sorry, I forgot about this post when I got busy with other nonsense at work... I don't have a template_root folder, do you mean within my template folder itself?

      Maybe I'm misunderstanding you, but I'm going in throuhg my FTP client, should I do this in joomla?

Time to create page: 0.060 seconds