Mini Frontpage whole DIV clicable

Hi
It's possible to make with Mini Frontpage whole place (not only title and image) clickable. I mean clickable DIV - .mfp-table-cell-inner.
Im using tabbed-slide-left-right layout.

Second question is about sef links. It's possible to made thats links but not to adding article or category to menu, not showing component/content/

Thanks
11 years 3 days ago #1 by Mariusz

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

  • Posted by TemplatePlazza (5263) Offline
Hi marianok,

It's possible to make with Mini Frontpage whole place (not only title and image) clickable. I mean clickable DIV - .mfp-table-cell-inner.
Im using tabbed-slide-left-right layout.

Yes you can try to add
<a href="<?php echo $item->link; ?>">
before the code
<div class="mfp-table-cell-inner">
in the files :
[root]/modules/mod_minifrontpage/themes/tabbed-slide-left-right/tmpl/bottom.php
[root]/modules/mod_minifrontpage/themes/tabbed-slide-left-right/tmpl/lastcell.php
[root]/modules/mod_minifrontpage/themes/tabbed-slide-left-right/tmpl/lastcolumn.php
(don't for get to add the closing </a> after the closing tag of <div class="mfp-table-cell-inner">

Second question is about sef links. It's possible to made thats links but not to adding article or category to menu, not showing component/content/

Idon't understand what exactly you want here. can you elaborate it more?
11 years 2 days ago #2 by TemplatePlazza

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

Thanks, I add style to DIV: <div class="mfp-table-cell-inner" style="display:block;cursor:pointer;"> and it works :o

Second question is about link. Now my links looks like domain.com/component/content/article/category-name/article-name
I would like it looks domain.com/category-name/article-name.
My each menu position is single article in there {loadposition categoryname} and for single page is another module with another category page.
My site has menu where each page is only for present articles from category.
When I dont get category to menu position links dont look fine and has "component/content/article"
There is any possibility to make SEF links?
11 years 2 days ago #3 by Mariusz

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

  • Posted by TemplatePlazza (5263) Offline
Hi Marianok, Sorry for delay in responding.
It's a joomla native behaviour. Maybe you can try this trick : try to create a hidden menu pointed to the category you want. Now the link should be changed
10 years 11 months ago #4 by TemplatePlazza

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

Powered by Kunena Forum