NYCPHP Meetup

[joomla] Googledirections by kksou.com - printing problem

Stephen Britton sbritton at gmail.com
Tue Mar 27 10:30:44 EDT 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/joomla/attachments/20120327/616043f7/attachment.html>


More information about the Joomla mailing list