I was going to pm OG on this but thought it would a bit imposing..
I am modifiying the content part article_menu by adding two new radio buttons so that the list can be displayed either as a row or column.
the code for the new 'row display' is the tinyest of changes to 'cnt15.article.inc.php' as is creating the radiobuttons in 'cnt15.inc.php' but getting the value of the radiobuttons to the code is beating me
would anyone understand the anatomy of a content part well enough to help/teach me how i can do this?
any help apreciated.
and don't be shy on this one Oliver
a little clue to help you understand what I am doing:

cnt15.article.inc.php:
Code: Select all
if($result = mysql_query($alink_sql, $db) or die("error while getting link article list: ".$alink_sql)) {
if ($orient == 0){
while($row = mysql_fetch_row($result)) {
$alinkmenu['link'] .= "<td valign=\"top\" nowrap>".$template_default["article"]["link_article_sign"]."</td>\n";
$alinkmenu['link'] .= "<td><a href=\"index.php?id=".$row[2].",".$row[0].",0,0,1,0\" target=\"_self\"";
$alinkmenu['link'] .= get_class_attrib($template_default["article"]["link_article_class"]).">";;
$alinkmenu['link'] .= html_specialchars($row[1])."</a></td>"; //\n
}
}else{
while($row = mysql_fetch_row($result)) {
$alinkmenu['link'] .= "<tr valign=\"top\"><td nowrap>".$template_default["article"]["link_article_sign"]."</td>\n";
$alinkmenu['link'] .= "<td><a href=\"index.php?id=".$row[2].",".$row[0].",0,0,1,0\" target=\"_self\"";
$alinkmenu['link'] .= get_class_attrib($template_default["article"]["link_article_class"]).">";;
$alinkmenu['link'] .= html_specialchars($row[1])."</a></td></tr>"; //\n
}
}