-
پاسخ : حذف بخش از Pathway
با سلام.
منظور شما رو متوجه نشدم، اگر واضح تر توضیح می دادید خیلی خوب بود، به هر حال برای ویرایش pathway شما نیاز به دانش PHP خواهید داشت، وارد پوشه includes شده و فایل core.classes.php را باز کنید.
کد:
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;
}
در صورتی که علاقه دارید این کار توسط گروه مامبولرن انجام شود می توانید با آدرس sales [at] mambolearn [dot] com تماس بگیرید.
موفق و پیروز باشید
یا علی
جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.
-
-
04-07-2008 09:50 PM
# ADS
تبلیغات در جوملا فارسی
علاقه مندی ها (Bookmarks)