help to better help you:

Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!

Hide "Kategorien" from Detail Site

Hide "Kategorien" from Detail Site

6 years 10 months ago
#25266
Hi,

my question is, if it is possible to hide the row "Kategorien" from the Detail Site. Please, have a look at the picture. And if not, is it possible unlink "Turniere" from "Kategorien?

Thanks for help.

My best,

ToKo

Attachments:

Please Log in or Create an account to join the conversation.

Re: Hide "Kategorien" from Detail Site

6 years 10 months ago - 6 years 10 months ago
#25267
sorry, answer was too easy.
Last edit: 6 years 10 months ago by jojo12.
The following user(s) said Thank You: Toko1976

Please Log in or Create an account to join the conversation.

Re: Hide "Kategorien" from Detail Site

6 years 10 months ago
#25268
Hi,

thanks for reply. I did hide this but in the front it is always showed. I also hide category in the module. But it doesn't work.
So what can I do?

My best,
ToKo

Please Log in or Create an account to join the conversation.

Re: Hide "Kategorien" from Detail Site

6 years 10 months ago
#25269
thank you for your report :evil:

there may be better solutions than this:
go to components/jem/event/tmpl/default.php search categories and put /* at start and */ at end. in my case its about line 96 until 114.
The following user(s) said Thank You: Toko1976

Please Log in or Create an account to join the conversation.

Re: Hide "Kategorien" from Detail Site

6 years 10 months ago - 6 years 10 months ago
#25270
Hi jojo12,

I can't find this: components/jem/event/tmpl/default.php

I have no folder "event"
I'm so sorry, but I hope, there will be a solution for my problem.
My best,

ToKo

Attachments:

Last edit: 6 years 10 months ago by Toko1976.

Please Log in or Create an account to join the conversation.

Re: Hide "Kategorien" from Detail Site

6 years 10 months ago
#25271
Ok, I found it here:

/components/com_jem/views/event/tmpl/default.php

The following code is the one which shows the line, I don't want to have:

<dt class="category"><?php echo $n < 2 ? JText::_('COM_JEM_CATEGORY') : JText::_('COM_JEM_CATEGORIES'); ?>:</dt>
<dd class="category">
<?php
$i = 0;
foreach ((array)$this->categories as $category) :
?><a href="<?php echo JRoute::_(JemHelperRoute::getCategoryRoute($category->catslug)); ?>"><?php echo $this->escape($category->catname); ?></a><?php
$i++;
if ($i != $n) :
echo ', ';
endif;
endforeach;
?>
I have delete this, know it works.

JEM is great and I love it after a ew hours. Great job.

Thx,

ToKo

Please Log in or Create an account to join the conversation.

Time to create page: 0.509 seconds