0

I am using roksprocket as a simple to use filter system of articles. Sadly I could not find a way to disable the badly looking tags underneath the modules itself. Of course there is a possible to use CSS with

display: none;

but is that the only way for roksprocket?

an example of the issue can be found in this free UML tool article

1 Answer 1

1

You can try the following:

I did not check if there is a possibility to override the roksproket layouts in the template manager, since I do not use roksproket, but you can find the tags part of the mosaic theme layout here:

in yourjoomla/com_roksproket/layouts/mosaic/themes/default folder in item.php file.

If you open that file and // comment out the lines from line 59 to 67 then the tags will not show up anymore in your mosaic item layout on your pages.

So this part of the code has to be commented out/overriden or deleted:

We do not need the ugly tags here:

<?php if (count($item->custom_tags_list)) : ?>
    <ul class="sprocket-mosaic-tags">
    <?php
        foreach($item->custom_tags_list as $key => $name){
            echo ' <li class="sprocket-tags-'.$key.'">'.$name.'</li>';
            }
    ?>
    </ul>
<?php endif; ?>

This action does not influence the tags on any other parts or layouts of the sites, only where these mosaics are displayed.

I hope this can be in help of you.

7
  • thx! do you have me a hint about the template manager? Do not know what you exactly mean?
    – laendle
    Commented Jan 18, 2019 at 16:05
  • @laendle - The Joomla template manager is at extensions->templates->templates->yourtemplate. There you can find the template file editor of Jomla and the Create overrides tab too. (This place usually called "Joomla template manager".
    – Zollie
    Commented Jan 18, 2019 at 17:33
  • @laendle - have you used the above solution successfully? Have you managed to clear the layout from the ugly tags in this module?
    – Zollie
    Commented Jan 19, 2019 at 19:11
  • 1
    sadly I did not had luck, updating your post also, since the folder was not fully defined. I even could not see where the <li> have not been generated. Also adding some additional text was not traced out (in uncommented variant of course)
    – laendle
    Commented Jan 20, 2019 at 13:04
  • @laendle - I do not fully understand your issue, but what I wrote in my answer is that you just have to comment out the code part what I gave you in my answer, exactly in that file and folder that I gave full path to. And it’s done.
    – Zollie
    Commented Jan 20, 2019 at 14:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.