Remove the original navigation of the member center and add home page navigation, which is more conducive to users browsing the website.
Here's how:
Suitable for 5.6, 5.7 and others that have not been tried.
1. First find "/include/common. func. php", open common.func.php, and add the following code at the end:
function pasterTempletDiy($path)
{
  require_once(DEDEINC."/arc.partview.class.php");
  global $cfg_basedir,$cfg_templets_dir;
  $tmpfile = $cfg_basedir.$ cfg_templets_dir."/".$ path;// Path of template file
  $dtp = new PartView();
  $dtp->SetTemplet($tmpfile);
  $dtp->Display();
}
two
Open the member center "head. thm", remove the original navigation, and add:
<</b>? php
   pasterTempletDiy("default/head.htm");
?>
3. Add CSS link:
<</b>link rel="stylesheet" href="{dede:global.cfg_templets_skin/}/default/style/style.css" type="text/css" media="all">
4. You also need to use the navigation of the original member center as the navigation just added in the secondary view (you can't operate without adding the member center, because you deleted it first)

Post reply

Can't comment until