Edit the sidebar on eDirectory

Written by Christian Rumi 20 December 2012 11,033 views No Comment

This is information that will help you edit your eDirectory site sidebar.

First you’ll need to know these paths:

/custom/domain_1/theme/default/body/listing_detail.php

If you copy, cut and upload that file, you’ll see your header and footer still.

Look for this in the above file:

include(LISTING_EDIRECTORY_ROOT.”/join.php”);

LISTING_EDIRECTORY_ROOT is the directory of the page you are on – it’s within the public/root directory.

If you delete it you’ll be able to remove it from the page. If you want to, you can edit a number of parts of your sidebar – actually whatever is there. The files listed on the site I’m working on has these files:

<? include(LISTING_EDIRECTORY_ROOT.”/join.php”); ?>
<? include(LISTING_EDIRECTORY_ROOT.”/detail_maps.php”); ?>
<? include(LISTING_EDIRECTORY_ROOT.”/detail_deals.php”); ?>
<? include(LISTING_EDIRECTORY_ROOT.”/detail_reviews.php”); ?>
<? include(LISTING_EDIRECTORY_ROOT.”/detail_checkin.php”); ?>
<? include(EDIRECTORY_ROOT.”/frontend/banner_featured.php”); ?>
<? include(EDIRECTORY_ROOT.”/frontend/banner_sponsoredlinks.php”); ?>
<? include(EDIRECTORY_ROOT.”/frontend/googleads.php”); ?>

If you’re somewhat good at coding you should be able to play around. Adding a double forward slash (//) before “include” in the above code will comment out that section, and so it won’t display on your page.

 

Written by

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.