Hi,
I am trying to customize the PG.
In "categories view" the name of a category is treated as a link.
In "category view" the name of a category is not treated as link anymore, but as a normal text.
I want to achieve the same in both views - that name is NOT a link, so the same as for the "category view".
Where can I change it?
Thanks in advance!
Regards
Name of category in categories view and category view
-
- Phoca Enthusiast
- Posts: 68
- Joined: 20 Oct 2011, 16:37
-
- Phoca Hero
- Posts: 2737
- Joined: 28 Nov 2010, 17:20
-
- Phoca Enthusiast
- Posts: 68
- Joined: 20 Oct 2011, 16:37
Re: Name of category in categories view and category view
Maybe not what I expected, but is working. Thank you
-
- Phoca Hero
- Posts: 2737
- Joined: 28 Nov 2010, 17:20
Re: Name of category in categories view and category view
Hi,
Kind regards
Christine
You wrote:
With above code the categories name is not klickable. What did you expect instead?I want to achieve the same in both views - that name is NOT a link, so the same as for the "category view".
Kind regards
Christine
-
- Phoca Enthusiast
- Posts: 68
- Joined: 20 Oct 2011, 16:37
Re: Name of category in categories view and category view
Well, what I expected was that someone would point me to the place where the name of the category in the categories view is configured as link.
And generally explain the idea where the same thing on one occasion is a link, but on another not. Does not make sense to me.
Regards
And generally explain the idea where the same thing on one occasion is a link, but on another not. Does not make sense to me.
Regards
-
- Phoca Enthusiast
- Posts: 68
- Joined: 20 Oct 2011, 16:37
Re: Name of category in categories view and category view
The reason is also that if I leave it like that, the name of category will still be in the color of the visited link from the site. I also want to change the font color to be the standard font color, and if I use
a {
}
in the custom css, with the !important option, then all link colours on the whole page will be changed.
Regards
a {
}
in the custom css, with the !important option, then all link colours on the whole page will be changed.
Regards
-
- Phoca Hero
- Posts: 2737
- Joined: 28 Nov 2010, 17:20
Re: Name of category in categories view and category view
Hi,
You should use explicit the required segment, e.g.:
Kind regards
Christine
of course, as it's for all "a" link.
You should use explicit the required segment, e.g.:
Code: Select all
.pg-csv-name a {
color:blue;
}
Christine
- Jan
- Phoca Hero
- Posts: 47887
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Name of category in categories view and category view
Hi,
you can change it per template override, the link in categories view:
components\com_phocagallery\views\categories\tmpl\default_categories.php
the title in category view:
components\com_phocagallery\views\category\tmpl\default_images.php
In categories view, there is always a link to category but in category view, you can disable displaying of detail of an image, so there is not always a link to image view (detail view with no popup), this is the difference why categories view has a link and category view not.
Jan
you can change it per template override, the link in categories view:
components\com_phocagallery\views\categories\tmpl\default_categories.php
the title in category view:
components\com_phocagallery\views\category\tmpl\default_images.php
In categories view, there is always a link to category but in category view, you can disable displaying of detail of an image, so there is not always a link to image view (detail view with no popup), this is the difference why categories view has a link and category view not.
Jan
If you find Phoca extensions useful, please support the project