Keyword

Each attachment in new line

  • MIGLAND
  • MIGLAND's Avatar Topic Author
  • Offline
  • New Member
More
13 years 9 months ago #91434 by MIGLAND
Each attachment in new line was created by MIGLAND
Hi I have site wiche use particulary from section attachments and works fine but would be better to see when each attachment show in new line. How made it?
How add to each attachment icon connected with its extension.

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

More
13 years 9 months ago #91435 by william white
Replied by william white on topic Each attachment in new line
Create an override Then edit item.php in the override. Search for -- Item attachments -- in that file, and just below in the foreach loop add a line break after it displays an attachment.

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

  • MIGLAND
  • MIGLAND's Avatar Topic Author
  • Offline
  • New Member
More
13 years 9 months ago #91436 by MIGLAND
Replied by MIGLAND on topic Each attachment in new line
Hi
thx for fast answer but if its possible please give me more details about changes whitch shoud I make....


William White said:Create an override Then edit item.php in the override. Search for -- Item attachments -- in that file, and just below in the foreach loop add a line break after it displays an attachment.

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

More
13 years 9 months ago #91437 by william white
Replied by william white on topic Each attachment in new line
I will send you more links and take a look at it when i have time. see friend request.

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

  • MIGLAND
  • MIGLAND's Avatar Topic Author
  • Offline
  • New Member
More
13 years 9 months ago #91438 by MIGLAND
Replied by MIGLAND on topic Each attachment in new line
Thanks a lot for your support. I need it to hubertus-wagrowiec.com/index.php?option=com_k2&view=itemlist&layout=category&task=category&id=1&Itemid=47

William White said:I will send you more links and take a look at it when i have time. see friend request.

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

More
13 years 7 months ago #91439 by JoomlaWorks
Replied by JoomlaWorks on topic Each attachment in new line
The <br /> you added will create invalid HTML output. The solution is to location this specific element (li) in the CSS of K2 and remove the inline or float:left property it make have. Or just add clear:both to it...

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
13 years 1 week ago #91440 by paulus
Replied by paulus on topic Each attachment in new line
And where would this be in the CSS? I have found an attachments section on lines 241 - 247, but nothing I change seems to impact the actual output!

Using Joomla! 1.6.6 and K2 2.5

 

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


Powered by Kunena Forum