A few notes about the new homepage...

  • Thread starter Thread starter Jordan
  • 8 comments
  • 1,442 views

Jordan

Site Founder
Administrator
Messages
24,554
United States
United States
Messages
GTP_Jordan
Messages
GTP_Jordan
As you can see, I've changed the Game Guides' main page to something a bit more user-friendly. The only thing I couldn't figure out was how to link a thumbnail image to another page, instead of linking to the image's details page. I searched and searched, but couldn't find exactly how to do it. Perhaps some of you who have been using MediaWiki longer than I will know how to solve this, and if so, please take a shot at it. I'd even be happy if the homepage images weren't links at all, I just don't want people to be directed to the image page.

Let me know if any of you can figure something out!
 
Fore some reason, it won't let me create an account to try myself, so I'll go this route. On our site, we have pictures and text as links and we do it like this:

Code:
<td width="33%" valign=top>
  <A HREF="link.html">
    <p class="projecttitle">
      <u>Title</u><br><br>
      <IMG SRC="pics/name.jpg" BORDER="0">
    </p>               
  </A>
</td>

I'm not the best at this, but I hope that helps.
 
Any chance there could be a direct link to "My GTPlanet" from the main page?
 
TB
Fore some reason, it won't let me create an account to try myself, so I'll go this route. On our site, we have pictures and text as links and we do it like this:
Thanks, but I can't use most of those HTML tags in Wiki articles. Most of the formatting is done with these special codes just for MediaWiki. If you want to edit the Wiki, you'll need to apply first for an account here. I look forward to you signing up! :)

Any chance there could be a direct link to "My GTPlanet" from the main page?
I'm not really sure if that would make much sense, as the two pieces of software are not related and force users to use separate accounts.

Jordan, you can use HTML in a Wiki article.

That's the only way I can figure out how to make an image point to another link or article when you click it.
Unfortunately, image and anchor tags are not on that list. :( But, there is good news! As I played around with the HTML, I suddenly got it working by simply replacing the image path with the "visible text" of a normal external link! :)
 
mwusers.com is a forum dedicated to MediaWiki users.
I'm over there as 'Cyril', and Chris, the super mod over there is also a member of GTP.

Edit :
Your solution works because you're using external links instead of internal links.
As far as I know, the only way to do it with internal links would be to create new classes in the CSS, define their background url property and an appropriate padding, then create in the wiki page <div>'s or <span>'s.
 
flat-out
mwusers.com is a forum dedicated to MediaWiki users.
I'm over there as 'Cyril', and Chris, the super mod over there is also a member of GTP.
What a great resource! I've been looking for such a community for a while now, thanks for the link! :)
 
I know that flat-out already posted, but just try [[pagetolinkto|imageurl]].

So, [[Main_Page|http://www.google.com/intl/en/images/logo.gif]] would link to the main page and show a picture of the Google logo.

If you link off site, you can just do [linkurl imageurl]

So, [http://www.google.com http://www.google.com/intl/en/images/logo.gif] would link to Google and show the Google logo.

The site MWUser's is not sponsored or affiliated with MediaWiki or Wikipedia, but we exist because we don't like the MediaWiki mailing list.

Also, one of the user's over there is working on integrating MediaWiki and vBulletin. You could look into that.
 
Back