Tom J
Organiser: South Wales Premium Member
Registered: 8th Sep 03
Location: Bridgend
User status: Offline
|
When you are hovering over a button along the top of the forum, it displays some text in a box underneath, cant find the file to change this?
|
Ian
Site Administrator
Registered: 28th Aug 99
Location: Liverpool
User status: Offline
|
Is it alternative text for the images? Do you have an example?
|
Steve
Premium Member
Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
|
in your corresponding tpl file, find the html for the image and change its alt value
|
Tom J
Organiser: South Wales Premium Member
Registered: 8th Sep 03
Location: Bridgend
User status: Offline
|
forgot to explain,
in overall header it has stuff like {L_PROFILE} and {L_SEARCH} in the alt values, also the links have {U_PROFILE} and {U_SEARCH}
which files do these refer to? I created a new page called links.php and {U_LINKS} and {L_LINKS} wont work?
|
Tom J
Organiser: South Wales Premium Member
Registered: 8th Sep 03
Location: Bridgend
User status: Offline
|
if i try to use {U_LINKS} it just refers me back to the forum index
[Edited on 19-05-2007 by Tom J]
|
Steve
Premium Member
Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
|
those values will be dynamically generated from includes\page_header.php
most L_ values are taken from the language php files in Lang\english\lang_main.php
[Edited on 19-05-2007 by Steve]
|
PaulW
Member
Registered: 26th Jan 03
Location: Atherton, Greater Manchester
User status: Offline
|
L_PROFILE and L_SEARCH are the language descriptiors. ie, Profile, Search - they are defined within your language file.
U_PROFILE and U_SEARCH are the URL's to the different pages. They are defined in the .php file (ie, index.php)
but as your heading the header, you need to edit includes/header.php or something like that.
|
Tom J
Organiser: South Wales Premium Member
Registered: 8th Sep 03
Location: Bridgend
User status: Offline
|
thanks guys, the U and the L values were set out in page header.php
I was looking through all the lang files and couldn't find them
|
Tom J
Organiser: South Wales Premium Member
Registered: 8th Sep 03
Location: Bridgend
User status: Offline
|
http://www.swfconline.co.uk/forum/links.php
also on this page it keeps on wanting to send any links back to links.php, any ideas?
its a page set up like FAQ so it is like an array, and i've input it in lang_links.php
$faq[] = array("--","Links");
$faq[] = array("http://www.sheff-weds.co.uk", "Unofficial Sheffield Wednesday Website");
[Edited on 19-05-2007 by Tom J]
|
Steve
Premium Member
Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
|
the array is a number generated youl notice
http://www.swfconline.co.uk/forum/links.php#0
you need to make the URL the same as what it appears at in your HTML
[Edited on 19-05-2007 by Steve]
|
Tom J
Organiser: South Wales Premium Member
Registered: 8th Sep 03
Location: Bridgend
User status: Offline
|
so what would it be if i wanted a link to corsasport there?
|
Steve
Premium Member
Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
|
in that case surely you wouldnt be displaying it as http://www.sheff-weds.co.uk then?
|
Tom J
Organiser: South Wales Premium Member
Registered: 8th Sep 03
Location: Bridgend
User status: Offline
|
do you mean i will need a href and the tags? my brain is fried i can't think
|
Tom J
Organiser: South Wales Premium Member
Registered: 8th Sep 03
Location: Bridgend
User status: Offline
|
i was asking what it would be for corsasport so you could give me an example
|
Steve
Premium Member
Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
|
ah, do you have any sort of HTML tpl file for the links page?
|
Tom J
Organiser: South Wales Premium Member
Registered: 8th Sep 03
Location: Bridgend
User status: Offline
|
yes, links body.tpl
|
Tom J
Organiser: South Wales Premium Member
Registered: 8th Sep 03
Location: Bridgend
User status: Offline
|
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
<td align="left" class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></td>
</tr>
</table>
<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<th class="thHead">{L_FAQ_TITLE}</th>
</tr>
<tr>
<td class="row1">
<!-- BEGIN faq_block_link -->
<span class="gen"><b>{faq_block_link.BLOCK_TITLE}</b></span><br />
<!-- BEGIN faq_row_link -->
<span class="gen"><a href="{faq_block_link.faq_row_link.U_FAQ_LINK}" class="postlink">{faq_block_link.faq_row_link.FAQ_LINK}</a></span><br />
<!-- END faq_row_link -->
<br />
<!-- END faq_block_link -->
</td>
</tr>
<tr>
<td class="catBottom" height="28"> </td>
</tr>
</table>
<br clear="all" />
<!-- BEGIN faq_block -->
<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="catHead" height="28" align="center"><span class="cattitle">{faq_block.BLOCK_TITLE}</span></td>
</tr>
<!-- BEGIN faq_row -->
<tr>
<td class="{faq_block.faq_row.ROW_CLASS}" align="left" valign="top"><span class="postbody"><a name="{faq_block.faq_row.U_FAQ_ID}"></a><b>{faq_block.faq_row.FAQ_QUESTION}</b></span><br /><span class="postbody">{faq_block.faq_row.FAQ_ANSWER}<br /><a class="postlink" href="#Top">{L_BACK_TO_TOP}</a></span></td>
</tr>
<tr>
<td class="spaceRow" height="1"><img src="templates/subSilver/images/spacer.gif" alt="" width="1" height="1" /></td>
</tr>
<!-- END faq_row -->
</table>
<br clear="all" />
<!-- END faq_block -->
<table width="100%" cellspacing="2" border="0" align="center">
<tr>
<td align="right" valign="middle" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /><br />{JUMPBOX}</td>
</tr>
</table>
|
Steve
Premium Member
Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
|
well in there you will have something like
<a href="{LINK}">{LINKNAME}</a>
well just make it
<a href="{LINK}">{LINK}</a>
or in the links.php make whatever the variable that outputs {link} to equal {linkname}
|
Steve
Premium Member
Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
|
quote: Originally posted by Tom J
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
<td align="left" class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></td>
</tr>
</table>
<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<th class="thHead">{L_FAQ_TITLE}</th>
</tr>
<tr>
<td class="row1">
<!-- BEGIN faq_block_link -->
<span class="gen"><b>{faq_block_link.BLOCK_TITLE}</b></span><br />
<!-- BEGIN faq_row_link -->
<span class="gen"><a href="{faq_block_link.faq_row_link.U_FAQ_LINK}" class="postlink">{faq_block_link.faq_row_link.FAQ_LINK}</a></span><br />
<!-- END faq_row_link -->
<br />
<!-- END faq_block_link -->
</td>
</tr>
<tr>
<td class="catBottom" height="28"> </td>
</tr>
</table>
<br clear="all" />
<!-- BEGIN faq_block -->
<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="catHead" height="28" align="center"><span class="cattitle">{faq_block.BLOCK_TITLE}</span></td>
</tr>
<!-- BEGIN faq_row -->
<tr>
<td class="{faq_block.faq_row.ROW_CLASS}" align="left" valign="top"><span class="postbody"><a name="{faq_block.faq_row.U_FAQ_ID}"></a><b>{faq_block.faq_row.FAQ_QUESTION}</b></span><br /><span class="postbody">{faq_block.faq_row.FAQ_ANSWER}<br /><a class="postlink" href="#Top">{L_BACK_TO_TOP}</a></span></td>
</tr>
<tr>
<td class="spaceRow" height="1"><img src="templates/subSilver/images/spacer.gif" alt="" width="1" height="1" /></td>
</tr>
<!-- END faq_row -->
</table>
<br clear="all" />
<!-- END faq_block -->
<table width="100%" cellspacing="2" border="0" align="center">
<tr>
<td align="right" valign="middle" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /><br />{JUMPBOX}</td>
</tr>
</table>
looks like you have too much stuff going on in ther that you dont need, i would personally rewrite something from scratch
se FAQ uses anchors and links to the anchor so it drops down.
you will need to dynamically generate these anchors etc.
easier to just write it so the link goes to the website not flick to somewhere else on your page
[Edited on 19-05-2007 by Steve]
|
Tom J
Organiser: South Wales Premium Member
Registered: 8th Sep 03
Location: Bridgend
User status: Offline
|
might just change it so it isn't like a faq page and just start with a basic html page
|
Steve
Premium Member
Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
|
either design it entirely in html, or just have a basic database query to pull the link from the database, if you wanted to make it so you could add links from the admin control panel etc
|
Steve
Premium Member
Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
|
i can make you a quick php file that includes the page header and footer that outputs to a blank html file if you want
|
Tom J
Organiser: South Wales Premium Member
Registered: 8th Sep 03
Location: Bridgend
User status: Offline
|
would this do the same thing?
http://www.phpbbhacks.com/download/1972
|
Steve
Premium Member
Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
|
no that creates a blank admin page
although this is
http://www.phpbbhacks.com/download/1945
|
Tom J
Organiser: South Wales Premium Member
Registered: 8th Sep 03
Location: Bridgend
User status: Offline
|
cheers steve
|