By Tuan Nguyen Anh on Wednesday, 03 April 2019
Posted in General
Replies 3
Likes 0
Views 768
Votes 0
Hi,

I just install this ext.
When I review the first default post , the view is different between view and print view (as per attached pics)

The text-allign is set center on view mode
Hello Tuan,

On the print view, we don't apply much css on the post as that will affect how the post is being printed. Ideally, when you want to print, you do not really want to have all these additional css being added on the post.
·
Wednesday, 03 April 2019 23:07
·
0 Likes
·
0 Votes
·
0 Comments
·
1. How I remove the additional css, we compose the post from you composer, and not put any additional css.

2. When print pdf, we want to remove some elements from the post such as: author, category, ... is it possible.

3. I want to add header and footer to the pdf file, is it possible, this pdf file look like catalog or brochure pdf. Is it possible OR is there any third party extention solve my issues.

Your composer is great. It is more useful if we can generate custom pdf files from the posts
·
Thursday, 22 August 2019 01:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

1. How I remove the additional css, we compose the post from you composer, and not put any additional css.

Actually, css/styling mentioned above are coming from the template and Easyblog them itself. We striped them all and it is not necessary to implement them on Print view.

2. When print pdf, we want to remove some elements from the post such as: author, category, ... is it possible.

You can edit them here .../components/com_easyblog/themes/wireframe/blogs/entry/default.print.php by removing codes below. Please give it a try and see how it goes.


<span class="post-category">
<?php echo JText::sprintf('COM_EASYBLOG_POSTED_BY_AUTHOR', $post->getAuthorPermalink(), $post->getAuthorName()); ?>
<?php echo JText::sprintf('COM_EASYBLOG_IN', $post->category->getPermalink(), $this->escape($post->category->getTitle())); ?>
</span>


3. I want to add header and footer to the pdf file, is it possible, this pdf file look like catalog or brochure pdf.

You should be able to customize this files .../components/com_easyblog/themes/wireframe/blogs/entry/default.print.php as well and add them respectively.

To avoid those changes from being overwritten on your next version update, you need to do template override for that files as you can refer here https://stackideas.com/docs/easyblog/administrators/customizations/template-overriding

Please give it a try and see how it goes.
·
Thursday, 22 August 2019 11:58
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post