با سلام.
چطور میشه بخش رو از داخل pathway برداشت یا حداقل کاری کرد قسمت چینش و اینکه بقیه مجموعه ها رم نشون میده رو ازش ورداشت
نمایش نسخه قابل چاپ
با سلام.
چطور میشه بخش رو از داخل pathway برداشت یا حداقل کاری کرد قسمت چینش و اینکه بقیه مجموعه ها رم نشون میده رو ازش ورداشت
با سلام.
منظور شما رو متوجه نشدم، اگر واضح تر توضیح می دادید خیلی خوب بود، به هر حال برای ویرایش pathway شما نیاز به دانش PHP خواهید داشت، وارد پوشه includes شده و فایل core.classes.php را باز کنید.
در صورتی که علاقه دارید این کار توسط گروه مامبولرن انجام شود می توانید با آدرس sales [at] mambolearn [dot] com تماس بگیرید.کد:function makePathway () {
$mainframe =& mosMainFrame::getInstance();
$customs = $mainframe->getCustomPathWay();
$last = count($this->_names) - 1;
if ($last == 0 AND count($customs == 0)) return '';
$result = "<span class='pathway'>";
$config =& mamboCore::getMamboCore();
$rootpath = $config->rootPath();
$imgPath = 'templates/'.$mainframe->getTemplate().'/images/arrow.png';
if (file_exists( "$rootpath/$imgPath" )) $img = "<img src='$config->mosConfig_live_site/$imgPath' border='0' alt='arrow' />";
else {
$imgPath = '/images/M_images/arrow.png';
if (file_exists( "$rootpath/$imgPath" )) $img = "<img src='$config->mosConfig_live_site/images/M_images/arrow.png' alt='arrow' />";
else $img = '&gt;';
}
foreach ($this->_names as $i=>$name) {
if ($i === $last AND count($customs) == 0) $result .= "$name</span>";
elseif (strstr($this->_urls[$i], 'view')) $result .= "";
else {
$sefurl = sefRelToAbs($this->_urls[$i]);
$result .= "<a href='$sefurl' class='pathway'>$name</a>";
$result .= "&nbsp;$img&nbsp;";
}
}
foreach ($customs as $custom) $result .= $custom;
if (count($customs)) $result .= '</span>';
return $result;
}
موفق و پیروز باشید
یا علی