Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Disable link for Category in Zen Tools filter

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hello, I used BASE3 template on my site with house project.
ztekielce.2be.pl/domtodom/index.php

Is there a possibity to turn off link from "category" on Zenfilter?. I just want static text.

Should I change it directly in php file? Which one ?

And other question.

CAN I ADD extrafield for normal joomla article? How shoud i assign it to Zenfilter ?
Extra filelds works only for K2?
  • marta's Avatar
  • marta
  • 3 Month Basic
  • 10 posts
  • Karma: 0
Last Edit: 9 years 5 months ago by marta.
The administrator has disabled public write access.
Hi

I need a bit more clarification on what we are looking - to do
Are we talking zentools filters(tabs), k2 zenkit filters(tabs) or chrome module zentabs?
Where are the tabs going to be used?

What type of extra fields are we looking at?

We don't support T3 extra fields in the templates
We don't at the moment support k2 extra fields in zentools or zenkit either (I would need to check on zenkit with a developer)

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Zen Tools - with layout grid.
I added items:
Image, Category and Title.

I want to turn off link on Category
  • marta's Avatar
  • marta
  • 3 Month Basic
  • 10 posts
  • Karma: 0
The administrator has disabled public write access.
Is removing the category from the layout drag and drop an option?
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
I know that I can remove from drag and drop.
But I want to have text - category , but without <a> link
  • marta's Avatar
  • marta
  • 3 Month Basic
  • 10 posts
  • Karma: 0
The administrator has disabled public write access.
Right - I don't know the answer to that question so will need to get back to you

I'm not sure how complicated this is

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Propably I should change mod_zentools\tmpl\default.php file but I don't know which line.
  • marta's Avatar
  • marta
  • 3 Month Basic
  • 10 posts
  • Karma: 0
The administrator has disabled public write access.
I will ask but we are a bit short handed at the moment due to flu
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
The following user(s) said Thank You: marta
Hello, any news?
  • marta's Avatar
  • marta
  • 3 Month Basic
  • 10 posts
  • Karma: 0
The administrator has disabled public write access.
Hi,

You should create a template override for the default.php file rather than hacking it. If you copy the file to your template html folder

/html/mod_zentools

and change the name it will become an alternative layout that you can select in the advanced parameters.

You need to search in that file for
$item->category = $item->catlink.'<span>'.$item->category.'</span>'.$catlinkclose;

and change it to
$item->category = '<span>'.$item->category.'</span>';

Regards,

Rob
  • Robert Went's Avatar
  • Robert Went
  • Moderator
  • 2210 posts
  • 196 Thanks
  • Karma: 90
The administrator has disabled public write access.
The following user(s) said Thank You: marta
Big thanks, all correct!

That's wha i needed!
  • marta's Avatar
  • marta
  • 3 Month Basic
  • 10 posts
  • Karma: 0
The administrator has disabled public write access.
Thanks for the update and thanks Rob :)

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers