- Posts: 13
COMMUNITY FORUM
Each attachment in new line
- MIGLAND
-
Topic Author
- Offline
- New Member
Less
More
14 years 5 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.
How add to each attachment icon connected with its extension.
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
Less
More
- Posts: 3722
14 years 5 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
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 13
14 years 5 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.
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.
- william white
-
- Offline
- Platinum Member
Less
More
- Posts: 3722
14 years 5 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
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 13
14 years 5 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.
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.
- JoomlaWorks
-
- Offline
- Admin
Less
More
- Posts: 6227
14 years 3 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...
Please Log in or Create an account to join the conversation.
- paulus
-
- Offline
- New Member
Less
More
- Posts: 2
13 years 8 months 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
Using Joomla! 1.6.6 and K2 2.5
Please Log in or Create an account to join the conversation.