Results 1 to 9 of 9

Thread: Help With CMS Intergration Printer Friendly

  1. #1
    Join Date
    Nov 2009
    Posts
    2

    Smile Help With CMS Intergration Printer Friendly

    I am using Joomla with Wrapper links to Open Realty pages, I have selected to use the cms intergration template in Open Realty Admin Panel so it wraps it self into the pages within Joomla.

    When I click the Printer Friendly Link, It just loads within it self and is not printer friendly, I need either a java script and or some print code that when the Printer Friendly link is click it will open that listing page frame in another window without all the other page info etc. I have looked through a few threads but unable to locate one that can help at the moment but will keep looking..


    All sorted now I found a javascript and that appears to be working fine, thanks to those who replied so quick...
    Last edited by jockrockster; 11-18-2009 at 06:34 PM. Reason: Problem Sorted

  2. #2
    the_sandking's Avatar
    the_sandking is offline hadron remnant - Moderation Fachmann
    Join Date
    Apr 2003
    Location
    Nullspace
    Posts
    5,289

    Default Re: Help With CMS Intergration Printer Friendly

    Does the printer friendly page work correctly if you use OR by itself?
    "Much of what looks like rudeness in hacker circles is not intended to give offense. Rather, it's the product of the direct, cut-through-the-BS communications style that is natural to people who are more concerned about solving problems than making others feel warm and fuzzy."

    "We gotta' go to the crappy town where I'm a hero!"
    -Hoban 'Wash' Washburne 2485-2519


    "When you’re born you get a ticket to the freak show. When you’re born in America, you get a front-row seat.."
    -George Carlin 1937-2008

    New to Open-Realty® and need help? Check the:
    -OR DOCUMENTATION -

    Important: Read this at least once in your lifetime
    How To Ask Questions The Smart Way

  3. #3
    Join Date
    May 2004
    Location
    Long Island, NY
    Age
    49
    Posts
    9,796

    Default Re: Help With CMS Intergration Printer Friendly

    The point of the Joomla wrapper option is to wrap anything you open in the Joomla template.

    As you said you would need to use js to open the OR page directly. You could use the url only version of the printer friendly template tag (see docs) and code the link into the listing template using an onclick option with js code to open a new window.

    You could also try to the CMS Realty Joomla component which integrates OR with Joomla and the standard links will work fine.

  4. #4
    Join Date
    Nov 2009
    Posts
    2

    Default Re: Help With CMS Intergration Printer Friendly

    Quote Originally Posted by the_sandking View Post
    Does the printer friendly page work correctly if you use OR by itself?
    Thanks for your assistance this has been sorted..

  5. #5
    Join Date
    Dec 2009
    Posts
    5

    Default Re: Help With CMS Intergration Printer Friendly

    Hello.

    For CMS Realty, I'm not if this is the proper solution (not conflict elsewhere), but I tried adding the following to the file in Joomla:

    components => com_cmsrealty => gateway => JoomlaFrontendURLFactory.class.php

    PHP Code:
        function cmsFriendlyURL($matches) {
              ...
                      if ( 
    array_key_exists('printer_friendly'$this->queryParameters) && $this->queryParameters['printer_friendly']=='yes' ) {
    $matches[0] = $matches[0] . "&cmsrealty=user&option=com_cmsrealty&Itemid=XYZ";
            
                return 
    $matches[0];            
            } 
    where 'XYZ' is the ItemID you assigned.

    If this is not the proper solution, please reply.

    Thanks.

  6. #6
    the_sandking's Avatar
    the_sandking is offline hadron remnant - Moderation Fachmann
    Join Date
    Apr 2003
    Location
    Nullspace
    Posts
    5,289

    Default Re: Help With CMS Intergration Printer Friendly

    Quote Originally Posted by investo View Post
    If this is not the proper solution, please reply.
    You should post your question in the CMSRealty forums if you need an accurate answer.
    "Much of what looks like rudeness in hacker circles is not intended to give offense. Rather, it's the product of the direct, cut-through-the-BS communications style that is natural to people who are more concerned about solving problems than making others feel warm and fuzzy."

    "We gotta' go to the crappy town where I'm a hero!"
    -Hoban 'Wash' Washburne 2485-2519


    "When you’re born you get a ticket to the freak show. When you’re born in America, you get a front-row seat.."
    -George Carlin 1937-2008

    New to Open-Realty® and need help? Check the:
    -OR DOCUMENTATION -

    Important: Read this at least once in your lifetime
    How To Ask Questions The Smart Way

  7. #7
    Join Date
    Apr 2003
    Location
    Virginia
    Posts
    33

    Default Re: Help With CMS Intergration Printer Friendly

    I am using Joomla and CMS Realty, with Open Realty 2.5.8 installed. When I click on the Printer Friendly link I get a 404 error. This happens both in CMS and in standalone mode using the vertical menu template. The code in the listing detail page is the standard {link_printer_friendly} So I can only assume that something in this latest upgrade may be messed up. The link worked fine before I upgraded.

  8. #8
    Join Date
    May 2004
    Location
    Long Island, NY
    Age
    49
    Posts
    9,796

    Default Re: Help With CMS Intergration Printer Friendly

    Can you post a link to OR running stand alone so we can see the link that is generated? If not, can you post the link that is causing the error.

  9. #9
    Join Date
    Apr 2003
    Location
    Virginia
    Posts
    33

    Default Re: Help With CMS Intergration Printer Friendly

    Oh wow, I see the issue a bit more clearly this time around. It's creating a repeated URL, in this case http://lambertcommercial.com/listing...r_friendly=yes. If you go to just http://lambertcommercial.com/listing...r_friendly=yes you see the printer friendly page just fine. But for some reason it's giving you the first type of link... any thoughts?

Similar Threads

  1. Printer Friendly
    By donzy in forum General Help (CLOSED)
    Replies: 4
    Last Post: 01-31-2008, 11:22 PM
  2. Printer friendly - help !!!
    By blaza in forum Templates - Help/Ideas/Discussion (CLOSED)
    Replies: 0
    Last Post: 05-30-2007, 10:26 AM
  3. Printer Friendly Cuestion??!?
    By flexdesign in forum General Help (CLOSED)
    Replies: 3
    Last Post: 01-13-2006, 08:23 PM
  4. Printer friendly mod?
    By kljjr in forum HELP (CLOSED)
    Replies: 0
    Last Post: 11-02-2004, 03:25 PM
  5. Printer (un)Friendly Page :-)
    By philjray in forum HELP (CLOSED)
    Replies: 2
    Last Post: 10-29-2004, 02:04 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •