Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

Print User Lists problem

  • sirweb
  • sirweb
  • ONLINE
  • Posts: 226
  • Thanks: 25
  • Karma: 2
8 years 8 months ago - 8 years 8 months ago #278249 by sirweb
Print User Lists problem was created by sirweb
Using latest versions of CB and J!, CB Default template. JA University template (tested 2 versions of it)

We have a huge need for printing User Lists.
In CB 1.x, it worked to add an URL in the User List description, something like this:
Code:
<a href="https://www.mysite.com/index.php?option=com_comprofiler&amp;task=usersList&amp;listid=11&amp;tmpl=component" target="_blank">Utskriftsversion</a>
... which opened a clean printable User List without menus in a new window.

Since the upgrade to CB 2.0.x, this workaround no longer works.
Opening the new window without menus look OK, but the printout is just garbage. All links (ie avatar and user name) are shown as full URLs and the columns layout is broken.

Is there a better way to make the User Lists printable since CB 2.0?
Any suggestions to solve this is highly appreciated.

Thanks
Last edit: 8 years 8 months ago by sirweb. Reason: typo

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 8 months ago #278252 by krileon
Replied by krileon on topic Print User Lists problem
Displays fine with &tmpl=component unless your Joomla template is missing the component.php template file. How printable it is is up to the print functionality of your browser I guess. We do not have a specific print view for any of our pages.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • sirweb
  • sirweb
  • ONLINE
  • Posts: 226
  • Thanks: 25
  • Karma: 2
8 years 8 months ago #278256 by sirweb
Replied by sirweb on topic Print User Lists problem
Thanks for your answer.

The Joomla template is unchanged and did never contain Component.php template file..
I also tested to swap to Beez5 which changed the layout in both screen and print but the full URL is still visible in the printout.

It would be possible to use an external Component like AlterReports or jDBexport but I then will have a huge number of reports to create. Would prefer not to.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 8 months ago #278259 by krileon
Replied by krileon on topic Print User Lists problem
Switch to default Joomla protostar and see if it works fine there. You only need to the userlist URL with &tmpl=component appended. Is the URL showing on the page or in your print preview? If just print preview then it's probably a setting in your printing. Note task is deprecated and you should replace it with view in your URL. Example as follows.

index.php?option=com_comprofiler&view=userslist&listid=11&tmpl=component


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • sirweb
  • sirweb
  • ONLINE
  • Posts: 226
  • Thanks: 25
  • Karma: 2
8 years 8 months ago #278260 by sirweb
Replied by sirweb on topic Print User Lists problem

krileon wrote: Switch to default Joomla protostar and see if it works fine there. You only need to the userlist URL with &tmpl=component appended. Is the URL showing on the page or in your print preview? If just print preview then it's probably a setting in your printing. Note task is deprecated and you should replace it with view in your URL. Example as follows.

index.php?option=com_comprofiler&view=userslist&listid=11&tmpl=component

Yes, this is the URL format I normally use.
It is the same problem in all browsers; IE, FF, Chrome... and it has been tested on a large number of computers.

Using protostar did not make any difference.
I will Wake up an old backup of J! 2.5.28/CB 1.9 and check that one again.

Please Log in or Create an account to join the conversation.

  • sirweb
  • sirweb
  • ONLINE
  • Posts: 226
  • Thanks: 25
  • Karma: 2
8 years 8 months ago #278275 by sirweb
Replied by sirweb on topic Print User Lists problem
[quote="shultman" post=278260I will Wake up an old backup of J! 2.5.28/CB 1.9 and check that one again.[/quote]

I have now tested the old site on localhost; Joomla 2.5.28 and CB 1.9.1 and in that Environment the printout looks fine.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum