Re: Strange error. PDF doesn't work even I made instructions
Posted: 11 Dec 2015, 05:32
Thank you Christine,
I tried your way to solve it. This worked but only for one article that was linked in code.
So I decided to change dropdown-toggle menu to one simple PDF icon:
/plugins/system/phocapdf/phocapdf.php -> row 77 and 80 -> I deleted "dropdown-menu actions"
/templates/urbanlife/html/layouts/joomla/content/icons.php -> row 33 -> I deleted "btn dropdown-toggle" and "icon-cog" and "caret"
/components/com_content/helpers/icon.php -> row 103 -> I deleted "icon-envelope"
/media/jui/css/bootstrap.min.css -> I changed background-image:url("../img/glyphicons-halflings.png");
to
background-image:url("../img/pdfczerwony.png"); <- this is my own pdf icon
background-position: -24px -24px; changed to background-position: 0px 0px;
/templates/urbanlife/XTC/css.php?id=28&group=typo
row 2065 ->
width: 14px;
height: 14px;
line-height: 14px;
I changed to:
width: 62px;
height: 33px;
line-height: 14px;
/templates/urbanlife/XTC/css.php?id=28&group=typo
row 79 -> padding: 9px 27px; zI changed to padding: 0px 0px;
And thats it! Simple icon for PDF rendering.
I tried your way to solve it. This worked but only for one article that was linked in code.
So I decided to change dropdown-toggle menu to one simple PDF icon:
/plugins/system/phocapdf/phocapdf.php -> row 77 and 80 -> I deleted "dropdown-menu actions"
/templates/urbanlife/html/layouts/joomla/content/icons.php -> row 33 -> I deleted "btn dropdown-toggle" and "icon-cog" and "caret"
/components/com_content/helpers/icon.php -> row 103 -> I deleted "icon-envelope"
/media/jui/css/bootstrap.min.css -> I changed background-image:url("../img/glyphicons-halflings.png");
to
background-image:url("../img/pdfczerwony.png"); <- this is my own pdf icon
background-position: -24px -24px; changed to background-position: 0px 0px;
/templates/urbanlife/XTC/css.php?id=28&group=typo
row 2065 ->
width: 14px;
height: 14px;
line-height: 14px;
I changed to:
width: 62px;
height: 33px;
line-height: 14px;
/templates/urbanlife/XTC/css.php?id=28&group=typo
row 79 -> padding: 9px 27px; zI changed to padding: 0px 0px;
And thats it! Simple icon for PDF rendering.