Navigation
Last Seen Users
Technox H01:37:03
Ohno01:54:19
pat10203:05:12
Pardoc03:10:46
Not_mad03:23:18
fabizso03:32:30
douwe_yntema03:37:56
julioharima08:17:36
vampalicious08:32:24
tungtung09:12:52

Members: 27,569
Newest: Technox H
Downloads v7
Downloads v6
One-click Translation
Translate This Site

Member Poll
Which version of PHP-Fusion are you using?

6.xx.xx
6.xx.xx
4% [19 Votes]

7.00.xx
7.00.xx
8% [38 Votes]

7.01.xx
7.01.xx
8% [40 Votes]

7.02.xx
7.02.xx
80% [400 Votes]

Votes: 497
You must login to vote.
Started: 26/03/2012 11:58

Polls Archive
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Connect via Facebook
Connect via Facebook
Our Coders
Shoutbox
You must login to post a message.

18-05-2013 10:01
Can I link a panel to another subdomain? If so how? openside() echo ??? "http://xxxxx/infus
ions/panel/panel.p
hp" closeside()

18-05-2013 01:20

18-05-2013 01:19

18-05-2013 01:18

18-05-2013 00:49

18-05-2013 00:48

18-05-2013 00:21

16-05-2013 22:09
monclermoncler

16-05-2013 22:08
bottes uggbottes ugg Cheers!

16-05-2013 22:07
<a href="http://www.bo
ttesuggpaschersold
e.com/">ugg pas cher</a>ugg pas cher Cheers!

Shoutbox Archive
In memoriam

Nick Jones
1973-2011

Sponsors
View Thread
Who is here? 1 guest(s)
 Print Thread
Articles Hierarchy - how to remove?
artis
Hello there!
I just installed php - fusion 7.02.04 and there is already attached Articles Hierarchy panel! Can anyone knows how to remove it?!

Thank you!

p.s. sorry about my English...! Smile
Edited by artis on 13-02-2012 02:26
 
Web
Smokeman
Hi there!

Open up the file /articles.php - and find:
Download source  Code
# Breadcrumbs
# Original Code from Rizald "Elyn" Maxwell
# Rewritten for 7.02 by MarcusG

$isTrue = false;
$str = "";
if (isset($_GET['article_id'])&& isnum($_GET['article_id'])){
   $result = dbquery(
      "SELECT ta.article_cat, tac.article_cat_name, ta.article_id, ta.article_subject FROM ".DB_ARTICLES." ta
      LEFT JOIN ".DB_ARTICLE_CATS." tac ON ta.article_cat=tac.article_cat_id
      WHERE article_id='".$_GET['article_id']."'"
      );
   if (dbrows($result)) {
      $data = dbarray($result);
      $str .= "<a href='".FUSION_SELF."'><strong>".$locale['404']."</strong></a>";
      $str .= " &raquo; <a href='".FUSION_SELF."?cat_id=".$data['article_cat']."'>".$data['article_cat_name']."</a>";
      $str .= " &raquo; <a href='".FUSION_SELF."?article_id=".$_GET['article_id']."'>".$data['article_subject']."</a>";
      $isTrue = true;
   }
} elseif (isset($_GET['cat_id']) && isnum($_GET['cat_id'])){
   $result = dbquery(
      "SELECT article_cat_name FROM ".DB_ARTICLE_CATS."
      WHERE article_cat_id='".$_GET['cat_id']."'");
   if (dbrows($result)) {
      $data = dbarray($result);
      $str .= "<a href='".FUSION_SELF."'><strong>".$locale['404']."</strong></a>";
      $str .= " &raquo; <a href='".FUSION_SELF."?cat_id=".$_GET['cat_id']."'>".$data['article_cat_name']."</a>";
      $isTrue = true;
   }
}

if($isTrue){
   opentable($locale['405']);
   echo $str;
   closetable();
}

# end of breadcrumbs



- delete or out comment it.
 
Web
artis
Deleted!

Works well!

Thank you!
 
Web
Jump to Forum:
Similar Threads
Thread Forum Replies Last Post
Articles: Similar Articles Mod/Infusion Modification Request 5 05-03-2013 01:43
BookMark Mod 4 news and articles Mod/Infusion Modification Request 5 23-05-2012 01:41
BBCode and YouTube for Articles AND News.. Mod/Infusion Modification Request 1 23-05-2012 01:14
Subcategories for Articles, Downloads and Links Mod Request 8 22-05-2012 23:46
remove share thread PHP-Fusion Modifications 1 22-05-2012 21:31