NYCPHP Meetup

NYPHP.org

[joomla] Googledirections by kksou.com - printing problem

Stephen Britton sbritton at gmail.com
Tue Mar 27 17:09:33 EDT 2012


You should not have to modify core files. I wonder if this is something
that could be fixed with an HTML over-write?

I still think that there is a way to print it out. This plug-in writes to
an article file.

Try to find out what core files need to be changed.

On Tue, Mar 27, 2012 at 3:52 PM, David Roth <davidalanroth at gmail.com> wrote:

> Hi Linda.
>
> This looks good, since it opens a new tab and the user then has access
> to all of what Google has to offer in the way of maps and it takes
> care of the printing. I don't like the idea of taking the user off the
> web page, but in reality most users would be more familiar with
> dealing directly with Google maps.
>
> I'm still twisting over the suggestion of the developer that the
> Joomla Core would have to be modified. If NASA wanted to use Joomla as
> a back-end to manage all of Mission Control, yeah, then modifying the
> Joomla Core would be acceptable. But to print directions, there had to
> be another solution. Thanks!
>
> Best regards,
>
> David
>
> On Tue, Mar 27, 2012 at 3:06 PM, Linda Amiaga <llamiaga at yahoo.com> wrote:
> > David,
> >
> > I'm not sure but perhaps my website does what you need.  I
> > used the Googlemaps Plugin.  I have not upgraded this site
> > yet from Joomla 1.5, but will be doing it shortly.
> >
> >
> http://www.tempsunlimited.com/index.php?option=com_content&view=article&id=62&Itemid=59
> >
> > Linda
> >
> > ________________________________
> > From: David Roth <davidalanroth at gmail.com>
> > To: NYPHP SIG: Joomla <joomla at lists.nyphp.org>
> > Sent: Tuesday, March 27, 2012 2:47 PM
> > Subject: Re: [joomla] Googledirections by kksou.com - printing problem
> >
> > Hi Steve.
> >
> > Thanks for the reply.
> >
> > Not a blank page, just the map without the directions for the user
> > that is displayed on the page. I got a reply from the developer since
> > my posting, who said it would require modifying Joomla core for this
> > to work with the print icon. I'm wondering now if there might be
> > another option though.
> >
> > Thanks for the information and suggestions. Have fun at Joomla Day New
> > England, I can't get away to attend.
> >
> > Best regards,
> >
> > David
> >
> > On Tue, Mar 27, 2012 at 10:30 AM, Stephen Britton <sbritton at gmail.com>
> > wrote:
> >> Hi David,
> >>
> >> Unfortunately, I don't have a quick answer. I have never used the Google
> >> Directions plugin, but it sounds great and I might use it in an upcoming
> >> project. I am not sure how it works, but I will guess that it displays
> >> content in the component region.
> >>
> >> I am curious. When you print, does it print out a blank page or just
> text
> >> without images? What is the printed output?
> >>
> >> I have some ideas on how you might fix the issue.
> >>
> >> Printing in Joomla is largely controlled by the component.php and
> >> print.css
> >> files. Some templates do not have these files. Make sure that your
> >> template
> >> does. Check the print.css file and make sure that the graphics have not
> >> been
> >> turned off. You might see CSS code like this "img {display:none;}" If
> so,
> >> remove this code and see how it works.  You might also want to
> temporarily
> >> remove all the code from the print.css file and see what prints out.
> >>
> >> Then I would ask the template vendor if they have any ideas on how to
> fix
> >> it. As I mentioned, printing in Joomla is limited to the components
> area.
> >> If
> >> the content from this plugin is displayed in this region, there should
> be
> >> a
> >> way to print it out.
> >>
> >> I would also check the Joomla developer and docs area for information on
> >> the
> >> component.php file. I recall that Andrew Eddy has written some articles
> >> about using this file.
> >>
> >> Let me know if you find a solution. I am heading up to Joomla Day New
> >> England. Maybe I'll see you there.
> >>
> >> All best,
> >>
> >> Steve
> >>
> >> On Tue, Mar 27, 2012 at 4:41 AM, David Roth <davidalanroth at gmail.com>
> >> wrote:
> >>>
> >>> I'm using the extension by kksou for Googledirections. It works well,
> >>> you can put in your address and it uses Google maps to show directions
> >>> to a pre-set address. The problem is when you click on the Joomla
> >>> print icon to print the map with the directions, the text directions
> >>> don't print. It behaves as if the user didn't enter their own address.
> >>>
> >>> It appears by putting in this example in an article:
> >>> {googleDir_tohere width=320 height=360 dir_width=275 home_addr="123
> >>> Main Street, Anytown NY 10036" home_label="Wayne Manor"}
> >>>
> >>> Is there some Joomla behavior about this I am missing? Or is this a
> >>> bug in kksoy Googledirections?
> >>>
> >>> Anyone have another Joomla extension or method to do this that you are
> >>> happy with? Thanks!
> >>>
> >>> David Roth
> >>> _______________________________________________
> >>> New York PHP SIG: Joomla! Mailing List
> >>> http://lists.nyphp.org/mailman/listinfo/joomla
> >>>
> >>> NYPHPCon 2006 Presentations Online
> >>> http://www.nyphpcon.com
> >>>
> >>> Show Your Participation in New York PHP
> >>> http://www.nyphp.org/show_participation.php
> >>
> >>
> >>
> >>
> >> --
> >> Stephen Britton
> >> Technology Consultant
> >> sbritton at gmail.com
> >> Twitter: @StephenBritton
> >> ph: 914-661-0040
> >>
> >> "Life isn't about finding yourself. Life is about creating yourself." -
> >> George Bernard Shaw
> > _______________________________________________
> > New York PHP SIG: Joomla! Mailing List
> > http://lists.nyphp.org/mailman/listinfo/joomla
> >
> > NYPHPCon 2006 Presentations Online
> > http://www.nyphpcon.com
> >
> > Show Your Participation in New York PHP
> > http://www.nyphp.org/show_participation.php
> >
> >
> >
> > _______________________________________________
> > New York PHP SIG: Joomla! Mailing List
> > http://lists.nyphp.org/mailman/listinfo/joomla
> >
> > NYPHPCon 2006 Presentations Online
> > http://www.nyphpcon.com
> >
> > Show Your Participation in New York PHP
> > http://www.nyphp.org/show_participation.php
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>



-- 
Stephen Britton
Technology Consultant
sbritton at gmail.com
Twitter: @StephenBritton
ph: 914-661-0040

"Life isn't about finding yourself. Life is about creating yourself." -
George Bernard Shaw
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/joomla/attachments/20120327/9de95aef/attachment.html>


More information about the Joomla mailing list