I didn't like the "Talk About It" button at the end of headline because different headline lengths made the button's position look random.
I wanted to move the "Talk About It" button to the bottom-right of the article cell in abouttoday.php. That way, when displaying multiple articles from a feed, all the buttons would line up neatly.
The Talk ABout It button is defined in template histtd_talkit_bit and called in abouttoday.php via $talkitlink at about line 1975.
First remove $talkitlink from its present position next to the title:
OLD:
Code:
$dmainx .= "<tr valign=\"top\"><td class=\"alt1\" valign=\"top\" align=\"left\" width=\"100%\"><ul><li><a href=\"" . $rss_channel["ITEMS"][$i]["LINK"] . "\" target=\"_blank\">" .$rss_channel["ITEMS"][$i]["TITLE"]. "</a>".$talkitlink;
NEW:
Code:
$dmainx .= "<tr valign=\"top\"><td class=\"alt1\" valign=\"top\" align=\"left\" width=\"100%\"><ul><li><a href=\"" . $rss_channel["ITEMS"][$i]["LINK"] . "\" target=\"_blank\">" .$rss_channel["ITEMS"][$i]["TITLE"]. "</a>";
And move it to a new position at about line 1682
OLD:
Code:
$dmainx .= "<br />".iif($maxlengthevent>0,substr($rss_channel["ITEMS"][$i]["DESCRIPTION"],0,$maxlengthevent)." ...[<a href=\"" . $rss_channel["ITEMS"][$i]["LINK"] . "\" target=\"_blank\">more</a>]",$rss_channel["ITEMS"][$i]["DESCRIPTION"]) . "</li></ul></td></tr>";
NEW:
Code:
$dmainx .= "<br />".iif($maxlengthevent>0,substr($rss_channel["ITEMS"][$i]["DESCRIPTION"],0,$maxlengthevent)." ...[<a href=\"" . $rss_channel["ITEMS"][$i]["LINK"] . "\" target=\"_blank\">more</a>]",$rss_channel["ITEMS"][$i]["DESCRIPTION"]) . "</li></ul><div align=\"RIGHT\">$talkitlink</div></td></tr>";
where RIGHT can be LEFT or CENTER also.
In the final, I also took out the ul and li tags, but that's just my preference.
The result is much cleaner looking to my eye.