CB print profile tab information

2 years 7 months ago #326195 by pjfroelofs
CB print profile tab information was created by pjfroelofs
Is it possible to print the information available on one of the tabs of a user' profile in a presentable way?

I know you could use the printfunction of the webbrowser.
But this will also show the template. (with header/menu/etc)
When selecting the text, and only printing the “selected”, the result is not very ‘sexy’.

Is there some kind of printing option available in the CB profile?

Please advice,
Regards,
Patrick

Please Log in to join the conversation.

2 years 7 months ago #326197 by krileon
Replied by krileon on topic CB print profile tab information
Easiest way to do that is probably to use CB Content Bot then substitute the tab into a Joomla article. The user can then just go to that article and use Joomla article print feature to easily print their tab. Won't work if you need other users to print a specific users tab though. Another option is to create custom print CSS using the media tag print. Example as follows.

@media print {
    // this CSS only applies to print views
}

You could also explore using CB Auto Actions to do this as well. Specifically a Code action. You'd then just directly link to that code action from profile using a Custom HTML field. Adding &users=[user_id] to the auto action URL in the Custom HTML field will ensure it outputs data from that profile.


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 to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.159 seconds

Facebook Twitter LinkedIn