Author |
Message |
Tizwit
Involved


Joined: Aug 29, 2004
Posts: 324
Location: New Mexico
|
Posted:
Wed Nov 30, 2005 5:27 am |
|
I am trying to figure out how to make the following thing look the same:
On this site:
http://www.4support.org/modules.php?name=News&new_topic=2
you can see that the first news announcement does not have the duplication in the title as the second one does :
News: ** GOOD NEWS ** Michelle's Update">News: ** GOOD NEWS ** Michelle's Update
The only way I can get the duplication to not show up is to select "Articles" when submitted but I want to be able to not have it posted on the main page.
Any suggestions? |
_________________ Brian
www.4Support.org
Helping the Children in the NM Children's Hospital |
|
|
 |
Guardian2003
Site Admin

Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Wed Nov 30, 2005 10:36 am |
|
Hmm, wondering why you have the double quotes character in there, its almost is if it is trying to post a link in title. |
|
|
|
 |
evaders99
Former Moderator in Good Standing

Joined: Apr 30, 2004
Posts: 3221
|
Posted:
Wed Nov 30, 2005 2:50 pm |
|
Possible that your theme.php has something duplicated in the themeindex() function or the story_home.html
It really does depend on how the theme is coded |
_________________ - Only registered users can see links on this board! Get registered or login! -
Need help? Only registered users can see links on this board! Get registered or login! |
|
|
 |
Tizwit

|
Posted:
Wed Nov 30, 2005 5:27 pm |
|
this may be it. I changed Themes and it corrected.
Thanx |
|
|
|
 |
guynuked
Hangin' Around

Joined: Jan 11, 2004
Posts: 37
|
Posted:
Sun Feb 26, 2006 12:17 am |
|
Sorry if this was already answered, I've tried, "double subject article", "double title" and "duplicate title". This post was only one I found.
I can confirm that this is isolated to: fisubice Theme
Because when I change to another theme, it disappears, therefore most likely pointed to fisubice Theme that is the culprit.
Yet, I cannot figure out what's causing the duplicate titling.
This is in story_home.html:
Quote: | <table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td bgcolor="#486386"><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF">
<tr>
<td height="27" style="background-image: url(/themes/fisubice/images/cellpic3.gif)"><table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td><font class="storytitle"><b title="$title">$title</b></font><font class="block-title"> </font></td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor="#F4F6FB"><table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td><a href="modules.php?name=News&new_topic=$topic" title="$topictext"><img src="$tipath$topicimage" border="0" alt="$topictext" title="$topictext" align="right" hspace="10" vspace="10"></a><font class="storycontent">$content</font></td>
</tr>
</table></td>
</tr>
<tr>
<td height="27" bgcolor="#F4F6FB"><table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td ><div align="center"><font class="content">$posted</font><br><font class="content">$morelink</font></div></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
|
This is in theme.php:
Quote: | /************************************************************/
/* Function themeindex() */
/* */
/* This function format the stories on the Homepage */
/************************************************************/
function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
global $anonymous, $tipath;
if ($notes != "") {
$notes = "<br><br><b>"._NOTE."</b> <i>$notes</i>\n";
} else {
$notes = "";
}
if ("$aid" == "$informant") {
$content = "$thetext$notes\n";
} else {
if($informant != "") {
global $admin, $user;
if (is_user($user)||is_admin($admin)) $content = "<a href=\"modules.php?name=Your_Account&op=userinfo&username=$informant\">$informant</a> ";
else $content = $informant.' ';//Raven 10/16/2005
} else {
$content = "$anonymous ";
}
$content .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
}
$posted = ""._POSTEDBY." ";
// $posted .= get_author($aid);
if (is_user($user)||is_admin($admin)) $posted .= "<a href=\"modules.php?name=Your_Account&op=userinfo&username=$aid\">$aid</a>";
else $posted .= $aid; //Raven 10/16/2005
$posted .= " "._ON." $time $timezone ($counter "._READS.")";
$tmpl_file = "themes/fisubice/story_home.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
}
|
Do you see anything obvious?
Note this only happens on main page, it isn't a problem when after you click on 'Read More...' as the title isn't duplicated. |
|
|
|
 |
Guardian2003

|
Posted:
Sun Feb 26, 2006 9:01 am |
|
In story_home you can see the title repeated twice in this line
Code:<td><font class="storytitle"><b title="$title">$title</b></font><font class="block-title"> </font></td>
|
|
|
|
|
 |
guynuked

|
Posted:
Sun Feb 26, 2006 3:53 pm |
|
Thanks for your sharp eyes.
Raven might want to fix that as it came with RN 2.02:
<td><font class="storytitle"><b>$title</b></font><font class="block-title"> </font></td>
in story_home.html |
|
|
|
 |
Guardian2003

|
Posted:
Mon Feb 27, 2006 12:12 am |
|
I believe it already has been as it was reported and the fix posted in the RN forums here. |
|
|
|
 |
|