×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Printing an article without the form

Printing an article without the form 16 years 3 months ago #511

  • Jardi
  • Jardi's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Hello,
I have set comments to a category. (e.g. http://www.jardi22.fr/les-recettes.html ).
When I print an article, the form to write a comment is also printed!
Is there a parameter to avoid that?
Thanks for yout help.
Jardi

Printing an article without the form 16 years 3 months ago #515

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
No there isn't. We will change that in version 4.0

Printing an article without the form 15 years 7 months ago #3422

  • emeyer
  • emeyer's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 25
  • Thank you received: 0
Well I upgraded to Joomla 1.5, and was able to transfer comments successfully. The layout was better, and Id din't need to customize the "print more" piece again.

But now the print button does not load media=print css files. It appears that joomlacomment is overriding the css print template override. I'm pretty sure this is joomlacomment doing this now. I tried disabling mootools in the template header, but I think it is joomlacomment is loading mootools into the print window anyway. I'm not 100% sure, I'd need your guidance on this. I'm trying to get as much working as possible without mootools because several customers have complained aobut slow load times.

Printing an article without the form 15 years 7 months ago #3424

  • emeyer
  • emeyer's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 25
  • Thank you received: 0
More info, I ran a packet sniffer and found some strange file transfers, so I posted to general Joomla forum:

http://forum.joomla.org/posting.php?mode=post&f=469

Printing an article without the form 15 years 7 months ago #3428

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
emeyer we are not using the mootools library. If the template you are using needs it, then it is there, but with most of templates it is not.

Printing an article without the form 15 years 7 months ago #3494

  • emeyer
  • emeyer's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 25
  • Thank you received: 0
I guess I got confused because the instlaler puts a 1.11 version of mootools in components/com_comment/jos_comments/scripts--is it only enabled in particular scenarios?

It imposes a particularly heavy load because Joomla has a different version of mootools now, so there was one poor fellow in Indonesia, and another in East Germany, who were unable to download files because of all the scripts.

Printing an article without the form 15 years 7 months ago #3501

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
If you open the template than you will find a section like this here
{library}
path to the script
{library}

If joomla is loading the mootools library then you don't need to include ours :) (in backend under layout you have the option to include the library)

Printing an article without the form 15 years 7 months ago #3505

  • emeyer
  • emeyer's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 25
  • Thank you received: 0
Suucces! I turned off Ajax checking, disabled joomlatools loading in layout, and installed a new plugin from www.kinesphere.fr to disable core loading of joomla. That stopped mootools loading in the print preview window too. Then I deleted all lighbox, thinbox, etc. The final culprit was Google: it asked me to dad a meta 'verify' directive for site map checking, which somewhow was getting mootools loaded. Also the Google translation plugins installed mootools. Then I added my own scripts for popups which are <1KB.

The only thing I haven't got working is the core rating system. Eventually I'd like to add lightbox and so on back in, as options for registered users.

Thanks for the help :)
  • Page:
  • 1
Time to create page: 0.166 seconds