Changing category view

Phoca Download - download manager
ChezHJ
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 26 Jun 2021, 16:27

Changing category view

Post by ChezHJ »

I'm trying to add an image in the category view by adding {pdimage} in the second textbox in the layout.
Also tried to show number of downloads
<p>{pdimage}{pddownloads}{pdtitle}{pdfiledesctop} {pdfile} {pddescription}</p>
but I only get an overview of the title, icon, download link and detail & download button
If there is a text in the description, than that is shown
I've looked at https://www.phoca.cz/documents/17-phoca ... parameters, searched the forum but can't seem to find the answer. What am I missing here??
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Changing category view

Post by Jan »

Hi, which way to display ouput do you use?

- standard
- Bootstrap
- or custom layout?

Can you paste a screenshot of where you set the layout?

Jan
If you find Phoca extensions useful, please support the project
ChezHJ
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 26 Jun 2021, 16:27

Re: Changing category view

Post by ChezHJ »

Using Joomlashine template, so I'm assuming it's the sun framework
Screenshot https://imgur.com/a/Z36j3MC
and how I try to edit
https://imgur.com/a/TXTVz0j
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Changing category view

Post by Jan »

Hi,

image - check if you have selected some image for the file:

Image

number of downloads - check if the parameter "Display Downloads" (in Phoca Download options) is enabled

Image

Jan
If you find Phoca extensions useful, please support the project
ChezHJ
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 26 Jun 2021, 16:27

Re: Changing category view

Post by ChezHJ »

Settings: display downloads - check
https://i.imgur.com/ZAjgxVd.png

Image in the file - check
https://i.imgur.com/jo8kmGQ.png

Everything looks okay, I changed nothing, still no effect...
ChezHJ
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 26 Jun 2021, 16:27

Re: Changing category view

Post by ChezHJ »

Based on your earlier question I just tried if the default Beez3 template makes the layout change, it doesn't
There most be something I'm missing here <<puzzled>>
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Changing category view

Post by Jan »

When you have tested Beez and it does not work, this even seems that your template does not have template override. So probably no problem with template override.

It is really hard to say what can be wrong there. Testing now, without any problem, everything is displayed for me. Which version of Phoca Download do you use?

When you disable the layout and let the standard component output, is everything OK there (I don't mean, if both the items are displayed, but if the standard output is displayed OK?)

Jan
If you find Phoca extensions useful, please support the project
ChezHJ
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 26 Jun 2021, 16:27

Re: Changing category view

Post by ChezHJ »

Hi Jan,
playing around with Display Specific Layout and Display Bootstrap 3 layout, now on Yes, No resp. it seams to work.
Not sure why it wasn't before.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Changing category view

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply