Gossamer Forum
Home : Products : Links 2.0 : Customization :

help with image

Quote Reply
help with image
Hello, ok for two days I have been searching for some help. Sorry if this is a repeat topic. What I need is how to get my "new" image to show up on my site again. I don't want a new mod or anything just wondering why it's not showing up on my new links and how I get it back, or find it. Could someone please help or refer me to a thread that will help? Thank-you very much
Quote Reply
Re: [sue/fl] help with image In reply to
Make sure you did not accidentally delete it from the template: link.html

<%if isNew%><span class="new-item"><span>new</span></span><%endif%>
<%if isChanged%><span class="updated-item"><span>updated</span></span><%endif%>
<%if isPopular%><span class="popular-item"><span>popular</span></span><%endif%>

Did you modify the nph-build.cgi?


Sandra Roussel
Chonsa Group Design - Fresh Start Housing
Quote Reply
Re: [SandraR] help with image In reply to
SandraR wrote:
Make sure you did not accidentally delete it from the template: link.html

<%if isNew%><span class="new-item"><span>new</span></span><%endif%>
<%if isChanged%><span class="updated-item"><span>updated</span></span><%endif%>
<%if isPopular%><span class="popular-item"><span>popular</span></span><%endif%>

Did you modify the nph-build.cgi?

Hi SandraR, thanks for helping! Ok it was deleted like you said and I put it back in. I'm getting the new back but since my site has been changed the new hardly shows up. Is it real diffucult to link to an "new image" instead of the just the text if I upload one? Keeping in mind that coding is not something I'm good at Smile Thanks agin I appreciate it!
Quote Reply
Re: [sue/fl] help with image In reply to
Quote:
Is it real diffucult to link to an "new image" instead of the just the text if I upload one?

The new actually has an image associated with it, thats why it curves.

To change your "NEW" attributes, change them in your CSS Editor the file is luna_core.css there are restrictions to changing that file. Your changes need to be made in the luna.css. You may want to read up on the thread:
HOWTOs, luna template set docs, and XHTML, CSS resources

Code:
/* link/bookmark status icons */
.new-item, .updated-item, .popular-item, .unpaid-item, .expired-item, .free-item, .bookmark-public, .bookmark-default {
background: transparent url(images/button-left.gif) top left no-repeat;
font-weight: normal;
font-size: 9px;
color: #ffffff;
vertical-align: top;
}
.new-item {
background-color: #FF0000;
}
.updated-item {
background-color: #c5a600;
}
.popular-item {
background-color: #314fb1;
}
.unpaid-item {
background-color: #555555;
}
.expired-item {
background-color: #92589c;
}
.free-item {
background-color: #a7a87c;
}
.bookmark-public {
background-color: #cc6613;
}
.bookmark-default {
background-color: #7fb131;
}
.new-item span, .updated-item span, .popular-item span, .unpaid-item span, .expired-item span, .free-item span, .bookmark-public span, .bookmark-default span {
padding: 0px 3px;
background: transparent url(images/button-right.gif) top right no-repeat;
}



Hope that helps


Sandra Roussel
Chonsa Group Design - Fresh Start Housing
Quote Reply
Re: [SandraR] help with image In reply to
Yikes that sounds like something I don't want to tackle. What I did is add the code back into links.htm like you told me to. Now the new image did show back up on the new links added but it's not curved. For an example:

title--they went for a walk

with the code back in it now looks like this

title--they went for a walk new

So the "new image" looks like I just added the word new to the description.

Hope I'm making some sense! Thanks
Quote Reply
Re: [sue/fl] help with image In reply to
copy and paste your link.html here so I can take a peek


Sandra Roussel
Chonsa Group Design - Fresh Start Housing
Quote Reply
Re: [SandraR] help with image In reply to
SandraR wrote:
copy and paste your link.html here so I can take a peek


Well I figured it out Smile What I ended up doing was linking to the image I uploaded in my links.html page and it works fine! Thanks for taking the time to help me and get me on the right track!