Posted on: 06/15/05 02:03am
By: jhackwith
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
Replacing Language Calls With Images
Posted on: 10/03/05 01:07am
By: jhackwith
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).
Replacing Language Calls With Images
Posted on: 10/03/05 01:15am
By: machinari
[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.[/QUOTE]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.
Replacing Language Calls With Images
Posted on: 10/03/05 07:51pm
By: suprsidr
With javascript this would be simple. I use something similar in my
toggle blocks[*1] .
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:
<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
Replacing Language Calls With Images
Posted on: 10/03/05 11:41pm
By: suprsidr
You can find full instructions with code for replacing block titles
here[*2] .
If that is what you are looking for?
Cheers
Replacing Language Calls With Images
Posted on: 10/11/05 01:54am
By: jhackwith
Thanks so much for the replies; I'm playing with the posted code with great results.