Welcome to Geeklog, Anonymous Thursday, November 28 2024 @ 11:15 am EST
Geeklog Forums
Replacing Language Calls With Images
Status: offline
jhackwith
Forum User
Chatty
Registered: 07/24/04
Posts: 63
Location:Lewiston, Idaho
I'm working on a GL project right now that is coming along famously. However, I'm working with a site navigation designed by someone else and would like to do something, but am unsure where to start.
What I would like to do is replace certain language calls with images. For example, in the User Functions block, I would like an image (that says "User Functions) to be called instead of the text from the language file. This is essential for continuity of design.
I figure that someone out there has done this before, or might know where I could start looking. I'm on the beginner side of intermediate with PHP, MySQL, etc. as I am a web dev but I haven't been able to track down the specific function call that I need to alter.
Any ideas?
TIA,
Jason Hackwith
"Beauty... is the shadow of God on the universe." ~ Gabriela Mistral -- DesolacÃon
What I would like to do is replace certain language calls with images. For example, in the User Functions block, I would like an image (that says "User Functions) to be called instead of the text from the language file. This is essential for continuity of design.
I figure that someone out there has done this before, or might know where I could start looking. I'm on the beginner side of intermediate with PHP, MySQL, etc. as I am a web dev but I haven't been able to track down the specific function call that I need to alter.
Any ideas?
TIA,
Jason Hackwith
"Beauty... is the shadow of God on the universe." ~ Gabriela Mistral -- DesolacÃon
8
11
Quote
Status: offline
jhackwith
Forum User
Chatty
Registered: 07/24/04
Posts: 63
Location:Lewiston, Idaho
Just a bump for this topic, because I'm still very interested in providing this feature for my clients.
NOTE: I am quite willing to negotiate payment terms for a subcontractor who is willing to work on this. Please reply here or at web master at into the flame dot com (no spaces, @ sign, obviously).
"Beauty... is the shadow of God on the universe." ~ Gabriela Mistral -- DesolacÃon
NOTE: I am quite willing to negotiate payment terms for a subcontractor who is willing to work on this. Please reply here or at web master at into the flame dot com (no spaces, @ sign, obviously).
"Beauty... is the shadow of God on the universe." ~ Gabriela Mistral -- DesolacÃon
10
11
Quote
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
Quote by jhackwith: I'm working with a site navigation designed by someone else and would like to do something, but am unsure where to start.
If you mentioned the particular script name your are referring to, maybe we'll see if anyone has experience with it, e.g., the menu plugin or blaine's glmenu, etc.otherwise, if you already know where the text can be found in the language file, you can put html into that array as long as you escape it properly. What i mean to say is that you can put the img tags and style into the language file itself.
11
12
Quote
Status: offline
suprsidr
Forum User
Full Member
Registered: 12/29/04
Posts: 555
Location:Champaign, Illinois
With javascript this would be simple. I use something similar in my toggle blocks.
document.getElementById(id).innerHTML = "<img src='topics.gif' height='10' width='60' border='0' alt=''>";
and then in block-header.thtml you would give:
<div id="{block_title}"> {block_title}</div>
if you look at my toggle blocks package, you could probably disect it and make this work easily
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
Text Formatted Code
if (document.getElementById(id) == "topics"){document.getElementById(id).innerHTML = "<img src='topics.gif' height='10' width='60' border='0' alt=''>";
and then in block-header.thtml you would give:
Text Formatted Code
<div id="{block_title}"> {block_title}</div>
if you look at my toggle blocks package, you could probably disect it and make this work easily
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
9
8
Quote
Status: offline
suprsidr
Forum User
Full Member
Registered: 12/29/04
Posts: 555
Location:Champaign, Illinois
You can find full instructions with code for replacing block titles here.
If that is what you are looking for?
Cheers
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
If that is what you are looking for?
Cheers
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
6
10
Quote
All times are EST. The time is now 11:15 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content