Page 1 of 11
Forum moderator: bigblog 
uCoz Community » General Information » First Steps with uCoz » site news entries (entries appearance)
site news entries
babytiler10
Posts: 6
Reputation: 0
Message # 1 | 1:36 AM
Please how can I make my attachments preview show beside my entries?
If I can please get CSS code.

B.T.E
bigblog
Great & Powerful
Posts: 1298
Reputation: 62
Message # 2 | 3:31 PM
babytiler10, here's a very basic code. Instead of $MESSAGE$, use:
Code
<a href="$IMG_URL1$" target="_blank" class="ulightbox"><img src="$IMG_SMALL_URL1" alt="<?if($IMG1_ALT$)?>$IMG1_ALT$<?else?>$ENTRY_TITLE$<?endif?>" title="<?if($IMG1_TITLE$)?>$IMG1_TITLE$<?else?>$TITLE$<?endif?>" align="left" style="margin-right: 12px; margin-bottom: 12px;" /></a>$MESSAGE$

It will show the first picture uploaded to the entry.

trixie took over this account halp
babytiler10
Posts: 6
Reputation: 0
Message # 3 | 8:02 PM
Please am am sorry, am new to website developing and my ucoz site is Babytilerworld.do.am ... Please where should I apply that code, is it in CSS?
B.T.E
bigblog
Great & Powerful
Posts: 1298
Reputation: 62
Message # 4 | 6:41 AM
babytiler10, :)

You should go to the Control Panel » Design customization » Appearance of entries (under the desired module). There, you need to replace $MESSAGE$ with the code I have provided in my previous message. No changes need to be done in the style sheet of the web site.

Please, keep in mind that you will need to have at least one image uploaded to all the entries in order to make this code work.

trixie took over this account halp
Sunny
Posts: 9296
Reputation: 456
Message # 5 | 2:15 PM
Moved to First Steps with uCoz.
I'm not active on the forum anymore. Please contact other forum staff.
babytiler10
Posts: 6
Reputation: 0
Message # 6 | 2:38 PM
Thanks for the message
B.T.E
chrisdvanne
Posts: 19
Reputation: 0
Message # 7 | 12:08 PM
Quote bigblog ()
here's a very basic code. Instead of $MESSAGE$, use:

I think a <?endif?> is missing at the end of your alt tag.
bigblog
Great & Powerful
Posts: 1298
Reputation: 62
Message # 8 | 6:09 PM
chrisdvanne, whoops, sorry, fixed it!
trixie took over this account halp
uCoz Community » General Information » First Steps with uCoz » site news entries (entries appearance)
Page 1 of 11
Search: