-
AuthorPosts
-
September 15, 2016 at 5:59 am #968387
Does anybody know, how I could turn my idea into reality????
I would like to have the whole category-module-item as a link, not only the title… I’m not that good in PHP – so I need the community’s help.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
September 15, 2016 at 8:02 am #968417Hi
do u mean by articles category module ? could u give a mockup how u would like to display the module ?September 16, 2016 at 10:44 am #968708<div class="category-module-item border-right"> <div class="category-module-item-inner"> <div class="article-img"> <div class="img-intro"> <img src="/images/abteilungen/allergologie.png" alt=""/> </div> </div> <div class="article-content"> <h4> <a class="mod-articles-category-title " href="/index.php/allergologie">Allergologie</a> </h4> <p class="mod-articles-category-introtext"> Die Allergiediagnostik beinhaltet vier Schritte, die aufeinander...</p> <a class="mod-articles-readmore " href="/index.php/allergologie">View more</a> </div> </div>
I would like to make something like this:
<a href="/index.php/allergologie"><div class="category-module-item border-right"> ... </div> </a>
In which PHP do I find that?
I also would like to format the View More Link with "btn btn-border mod-articles-category-title"… but I dont know where?
Edit: I know, that I find it in five_columns.php…. but I don’t know how to handle it.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
September 16, 2016 at 10:59 am #968710do u mean by articles category module ?
Its in template folder/HTML/module_articles_categorySeptember 16, 2016 at 11:02 am #968713but if I handle it like this…
<a href="/index.php/allergologie"><div class="category-module-item border-right"> ... </div> </a>
September 16, 2016 at 11:16 am #968714at the moment i do…
<div class="category-module-item border-right" onclick="window.location.href='/abteilungen/leitung'">
but i would like to use fewer javascript.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
September 17, 2016 at 1:07 am #968769Hi
You can create your own module layout in template folder/HTML/module_articles_category/
and customize and add the custom work as per your requirements . -
AuthorPosts
This topic contains 6 replies, has 2 voices, and was last updated by Pankaj Sharma 8 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum