xcur theme

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
Wizard
Regular
Posts: 103
Joined: Sat Aug 13, 2005 7:18 am
Location: Southern California
Contact:

xcur theme

Post by Wizard »

In the xcur theme, what is the image that is not showing up in the corner of postings? I think I hovered over once and is said something like PostDateIcon. Where do I configure this? or at least get an Avatar or theme image to show.
Wizard
My WeBlog
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: xcur theme

Post by Don Chambers »

Do you have the theme/template installed? The name is not familiar to me - if you do not yet have it active, where did you see it?

Sounds to me like an image file failed to upload correctly... perhaps you want to try ftp-ing all template files again?
=Don=
Wizard
Regular
Posts: 103
Joined: Sat Aug 13, 2005 7:18 am
Location: Southern California
Contact:

Re: xcur theme

Post by Wizard »

Yes, I have loaded to three different web sites so far and get the same results. I downloaded/installed using SPARTACUS and here is a testing site where you can see what I am talking about.
http://www.xref.com/clients/scc/s9y/index.php?/
Wizard
My WeBlog
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: xcur theme

Post by Don Chambers »

Not sure who authored that template... their demo site lacks any entries, but if it had any, I suspect it would reveal the same problem.

The problem is a faulty path name to the icon.... when I view the source of your page, paths to other foreground images are like this:

Code: Select all

/clients/scc/s9y/templates/axcur/img/forward.gif
/clients/scc/s9y/templates/axcur/img/xml.gif
However, this date icon has this path:

Code: Select all

/info/templates/rl1/img/PostDateIcon.png
I suspect the template author hard coded the path to their own development server, rather than use the relative template path.

You will need to edit the file entries.tpl.... search for the line that contains "PostDateIcon.png". If you can tell me what that line currently is, I can tell you what you should change it to, which is PROBABLY (but not definitely) this:

Code: Select all

<img class="art-metadata-icon" src="{serendipity_getFile file='img/PostDateIcon.png'}" width="18" height="18" alt="PostDateIcon" />
The alt text could also be a language variable.... anyway, you can either try my modification above to see if I guessed correctly, or you could just post the current version here and I will respond.
=Don=
Wizard
Regular
Posts: 103
Joined: Sat Aug 13, 2005 7:18 am
Location: Southern California
Contact:

Re: xcur theme

Post by Wizard »

That was it. Thanks for your help. Not sure why he had it, I will probably change to something else. Thanks again.
Wizard
My WeBlog
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: xcur theme

Post by Don Chambers »

Wizard wrote:That was it. Thanks for your help. Not sure why he had it, I will probably change to something else. Thanks again.
Happy to help Wizard! I think I have seen your blog before. Keep up the good work, and do not hesitate to ask if you need additional assistance! 8)
=Don=
Post Reply