Strange error. PDF doesn't work even I made instructions!

Phoca PDF - creating PDF documents in Joomla! CMS
MarcinAdamek
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 03 Dec 2015, 14:11

Re: Strange error. PDF doesn't work even I made instructions

Post by MarcinAdamek »

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.
christine
Phoca Hero
Phoca Hero
Posts: 2818
Joined: 28 Nov 2010, 17:20

Re: Strange error. PDF doesn't work even I made instructions

Post by christine »

Hi Marcin,

that's why I wrote also: "it's implemented as a toggled function?" and of course some templates need to be customized.

Fine, that you solved it - it seems so. You also made layout override, that's important.

Where to find this here?: /templates/urbanlife/XTC/css.php?id=28&group=typo
row 79 -> padding: 9px 27px; zI changed to padding: 0px 0px;

of course in template with firebug, but is it a compiled/compressed CSS?
Just to know about and if thread is solved. Thank you for info :wink:

Kind regards, Christine
Post Reply