Home · Links · Contact Us
Home arrow Forums
Home
Features
FAQ
Screen Shots
Modules
Themes
Demos
Documentation
Forums
Contact Us
Download
Purchase
Quotes

" ... I want to tell you that your thyme product is functional and valuable beyond words. I cannot imagine why any portal would be without it. It is the cornerstone of our new project ..."

" ... Thanks for such a complete project, its making my job much easier. ..."

" ... I have now deployed 4 different calendars and our users love them ... "

" ... Easy to install and use and a great look/design. ..."

" ... This has to be the easiest to use program I think I've had to deal with at all this year. ..."


  FAQFAQ    SearchSearch  RegisterRegister   Log inLog in 
Possible to place .gif beside calendars name?

 
Post new topic   Reply to topic     Forum Index -> Themes
View previous topic :: View next topic  
Author Message
BrH



Joined: 22 Oct 2006
Posts: 17

PostPosted: Tue May 29, 2007 4:56 pm    Post subject: Possible to place .gif beside calendars name? Reply with quote

Hello.

I wonder if it is possible to put a .gif (or .jpg) on both sides of the calendars name? What I woukd like is like I have it on me free hosted calendar wich I'm dropping very soon.
Link to the calendar incl. the two "wanted" .gif (the two animated emblems beside the calenar name) http://my.calendars.net/citroenkalendar

Link to the calendar I would like to put up the same .gifs: http://www.lhm-kaffe.com/citroenkalenderen/index.php

it would be great if there is a way to do this. I have failed doing it my self, need more competent help. Embarassed
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5268

PostPosted: Tue May 29, 2007 8:33 pm    Post subject: Reply with quote

Hi,

To do this you would have to create your own theme. Documentation for creating a theme can be found here

Let me know if you have any questions.
Back to top
View user's profile Send private message Visit poster's website
BrH



Joined: 22 Oct 2006
Posts: 17

PostPosted: Tue May 29, 2007 9:15 pm    Post subject: Reply with quote

Yes, but I have done that. Well, not created my own theme, but done as told in instruction about copying default theme, naming it custom and then used my own colors etc.
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5268

PostPosted: Tue May 29, 2007 9:20 pm    Post subject: Reply with quote

Hi,

Edit themes/custom/functions.php and around line 13, add your gifs to:

echo("<h3 class=header>".$_cur_cal['title'] ."</h3>");

as in something like

echo("<h3 class=header><img src='images/something.gif'>".$_cur_cal['title'] ."</h3>");
Back to top
View user's profile Send private message Visit poster's website
BrH



Joined: 22 Oct 2006
Posts: 17

PostPosted: Wed May 30, 2007 5:50 pm    Post subject: Reply with quote

OK, did as you told me. At least I think I did exactly that. Only a red cross is showing (left og calendars name).

I have checked that the gif is uploaded and ok, it shows up when pointing directly to it.
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5268

PostPosted: Wed May 30, 2007 9:44 pm    Post subject: Reply with quote

Hi,

src='images/something.gif' was just an example. In your case it looks like you'll want to use

src='/images/mini_chevron.gif' (note the / before images)
Back to top
View user's profile Send private message Visit poster's website
BrH



Joined: 22 Oct 2006
Posts: 17

PostPosted: Wed May 30, 2007 9:59 pm    Post subject: Reply with quote

Laughing Even I understood that the name you typed in was just an example. Very Happy I had of course used my own name of the gif.

But what I not had was
Quote:
(note the / before images)
And that did the tric! Now the gif is up and running, Smile

A bit strange though, the gif is not verticaly centered compared with the letters in the name - and the "frame" surrounding the name? Any idea why?

If you please: Is there someting I can do to get some distance/space between the gif and the calendarname?

EDIT: Forget the question about verticality. I see now that it is centered - it's the nature of the "Ë" that makes it look as if it is not centered. Sorry.'
Back to top
View user's profile Send private message
BrH



Joined: 22 Oct 2006
Posts: 17

PostPosted: Wed May 30, 2007 10:24 pm    Post subject: Reply with quote

It's very clear that I not know a thing about this kind of coding: No matter what I try I get an database error when putting in the snip in order to have the same gif to the right of calendar name.

If you are so kind to guide me here as well I actually think I declare my calendar "ready". Wink
Back to top
View user's profile Send private message
BrH



Joined: 22 Oct 2006
Posts: 17

PostPosted: Sun Jun 03, 2007 10:28 pm    Post subject: Reply with quote

No......I'm not able to fix this issue by myself. Sad Not can I insert the .gif in a way that makes it appear at the right side of calendars name as well - nor arrange it to get a little space between the .gif's and calendars name.

Suppose it is easy and self-explaining, but I'm blinded......or incompetent.

Please, any suggestion from someone out there?
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5268

PostPosted: Sun Jun 03, 2007 10:31 pm    Post subject: Reply with quote

Hi,

You should be able to use:

echo("<h3 class=header><img src='/images/mini_chevron.gif'>".$_cur_cal['title'] ."<img src='/images/mini_chevron.gif'></h3>");

What happens if you do that?
Back to top
View user's profile Send private message Visit poster's website
BrH



Joined: 22 Oct 2006
Posts: 17

PostPosted: Sun Jun 03, 2007 10:46 pm    Post subject: Reply with quote

Quote:
What happens if you do that?
What happened is that......it worked. Shocked Confused Smile Smile
Honestly I have NO idea why I wasn't able to do it this way myself. I tried "everything" inserting the last .gif, but obviosly missed it some place. Oh...those small / and . and all the others. Can hardly see them. Confused

Thank you very much, Ian. The only small issue now is if it's posible to have some space between the .gif and the calendar name? This is not a big deal at all, only something I will do if it's easy to do so.
Back to top
View user's profile Send private message
deific



Joined: 03 Jan 2008
Posts: 1

PostPosted: Thu Jan 03, 2008 4:03 am    Post subject: Reply with quote

Try adding &nbsp; which is the code for a space.
I think you can add it right after the mini_chevron.gif"> and then again before <img src="...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Themes All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
© 2005 eXtrovert software unless otherwise noted. All rights reserved.
Portions © 2004 Ben Brown. All rights reserved.
Trademarks are property of their respective owners.