use The website built by DedeCMS system sometimes needs to display the superior in the sub column Column name and Column link , the following code is used.

N-level sub columns call the top level column name and link

{dede:field name='position' runphp='yes'}
$tc="-"; // Separator
$tw=$GLOBALS['cfg_list_symbol']; // Call Location Separator
$tf=split($tw,@me); // Break into arrays
$ta=1;
$tk=trim($tf[$ta]);
$tk=substr($tk,0,-2);
@me=$tk; // Assign value to @ me

Post reply

Can't comment until