Keyword

Latest item module -

  • Janos Kovacs
  • Janos Kovacs's Avatar Topic Author
  • Offline
  • New Member
More
14 years 1 month ago #86907 by Janos Kovacs
Latest item module - was created by Janos Kovacs
Hi,I'm a new user of K2, and I think it's a great thing....but I have a little problem on my latest item module. I have two dots in the content, what comes with the source code. I want to remove them, but after long time searching can't find the real place of this little snippets.

In the page source looks the code:<div id="k2ModuleBox138" class="k2ItemsBlock ">
<ul> <li class="even lastItem"> <!-- Plugins: BeforeDisplay --> <!-- K2 Plugins: K2BeforeDisplay --> <!-- Plugins: AfterDisplayTitle --> <!-- K2 Plugins: K2AfterDisplayTitle --> <!-- Plugins: BeforeDisplayContent --> <!-- K2 Plugins: K2BeforeDisplayContent -->
<div class="moduleItemIntrotext"> <p><strong>IFI alkalom: nyári szünet!</strong></p><br /><p><strong>Augusztus 13-14. </strong><strong>GYEREKTÁBOR</strong><br />A gyerektábor kárpótlása<br />Érdeklődni: Tóth Anikónál</p><p><strong><br /></strong></p><p><strong>Augusztus 15. vasárnap Istentisztelet</strong></p> </div> <div class="clr"></div>
<div class="clr"></div> <!-- Plugins: AfterDisplayContent --> <!-- K2 Plugins: K2AfterDisplayContent --> <!-- Plugins: AfterDisplay --> <!-- K2 Plugins: K2AfterDisplay --> <div class="clr"></div> </li> <li class="clearList"></li>
</ul>

So anybody can help me?I want to remove even the two <li></li> tags or the <ul></ul> property.THXJK

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

  • Janos Kovacs
  • Janos Kovacs's Avatar Topic Author
  • Offline
  • New Member
More
14 years 1 month ago #86908 by Janos Kovacs
Replied by Janos Kovacs on topic Latest item module -
So... nobody... THX :-(

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

More
14 years 1 month ago #86909 by karsh
Replied by karsh on topic Latest item module -
Hi,

Edit file modules/mod_k2_content/tmpl/Default/default.php and remove (or comment) the 2 ul tags at line #21 and #176. Then replace the li tags at line #23, #173 and #175 with the div tag and you are set.

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

  • Janos Kovacs
  • Janos Kovacs's Avatar Topic Author
  • Offline
  • New Member
More
14 years 1 month ago #86910 by Janos Kovacs
Replied by Janos Kovacs on topic Latest item module -
It was a very helpful post. Many thanx for you my friend, it works!

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

More
13 years 6 days ago #86911 by Rob
Replied by Rob on topic Latest item module -
I have just had exactly the same problem and with a bit if sniffing around I see we are not the only ones.

Why this bullet (list) is coded into the default.php is beyond me. I thought this could be achieved optionally with style list-style-type?? But may thanks for the above answer I would not have found this otherwise and my client was hated it. It is a tiny thing but it became a huge issue for me. So thx again!

 

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

  • Kannan Naidu Venugopal
  • Kannan Naidu Venugopal's Avatar
  • Offline
  • Platinum Member
  • Aham Brahmasmi
More
13 years 6 days ago #86912 by Kannan Naidu Venugopal
Replied by Kannan Naidu Venugopal on topic Latest item module -
The bullet list can easily be removed by adding this line below in the k2.css without modifying any php codes.

div.k2ItemsBlock ul { list-style-type: none; }

 

K2 Rocks \m/

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


Powered by Kunena Forum