eSyndiCat User Forums esyndicat directory software esyndicat support

Go Back   eSyndiCat User Forums > eSyndiCat Directory Software [FREE] > User interface

User interface Discuss eSyndiCat templates here. All the questions regarding eSyndiCat [FREE] Front end

Reply
 
Thread Tools Display Modes
Old 12-30-2008   #1
olti
 
Join Date: Feb 2007
Posts: 18
olti is on a distinguished road
Default Remove Suggest Listing from the frontpage

Hi,

I would like to remove the "Suggest Listing" link from the frontpage because a lot of users don't choose the right categories, but just add them in the root, and it is a lot of work to change every single entry to get them into the right category.

Regards.
__________________
LinksMoz|||Balkans
Albania|||Shqiperia
olti is offline   Reply With Quote
Old 01-08-2009   #2
olti
 
Join Date: Feb 2007
Posts: 18
olti is on a distinguished road
Default

Any help here?
__________________
LinksMoz|||Balkans
Albania|||Shqiperia
olti is offline   Reply With Quote
Old 01-09-2009   #3
Alex B.
Tech Support
 
Alex B.'s Avatar
 
Join Date: Oct 2008
Posts: 989
Alex B. is on a distinguished road
Default

Go to root >> templates >> "current_template".
Open Layout.php
find these lines:
PHP Code:
$menu['suggest-listing']['caption'] = $gDirLang['suggest_listing'];
$menu['suggest-listing']['url'] = $config->get('base').$config->get('dir')."suggest-listing.php?id={$aCategory}"
delete or comment it
__________________
Best Regards, Alex B.
HELPDESK
Alex B. is offline   Reply With Quote
Old 01-09-2009   #4
olti
 
Join Date: Feb 2007
Posts: 18
olti is on a distinguished road
Default

Thank you Alex,
But the problem is that these action removes the Suggest link at all. I need it removed only from the frontpage, not for the categories and subcategories.

Cheers
__________________
LinksMoz|||Balkans
Albania|||Shqiperia
olti is offline   Reply With Quote
Old 01-13-2009   #5
Vladimir T.
Tech Support
 
Vladimir T.'s Avatar
 
Join Date: Nov 2007
Location: Earth
Posts: 973
Vladimir T. is on a distinguished road
Default

Hi
Please edit ./templates/Your_TEMPLATE/Layout.php
find
PHP Code:
$menu['suggest-listing']['caption'] = $gDirLang['suggest_listing'];
$menu['suggest-listing']['url'] = $config->get('base').$config->get('dir')."suggest-listing.php?id={$aCategory}"
replace to
PHP Code:
if('home' != $gTab || $aCategory )
{
    
$menu['suggest-listing']['caption'] = $gDirLang['suggest_listing'];
    
$menu['suggest-listing']['url'] = $config->get('base').$config->get('dir')."suggest-listing.php?id={$aCategory}";

__________________
Best Regards,

If you need help just send ticket to HelpDesk
For you information: I disabled Private Message.

I do not available...
PP.S. Admin Panel 2.3 manual is available here http://www.esyndicat.com/docs/
Vladimir T. is offline   Reply With Quote
Old 01-14-2009   #6
olti
 
Join Date: Feb 2007
Posts: 18
olti is on a distinguished road
Default

Cool!

It works

Thanks you very much.
__________________
LinksMoz|||Balkans
Albania|||Shqiperia
olti is offline   Reply With Quote
Old 01-27-2009   #7
Vladimir T.
Tech Support
 
Vladimir T.'s Avatar
 
Join Date: Nov 2007
Location: Earth
Posts: 973
Vladimir T. is on a distinguished road
Default

You are welcome
__________________
Best Regards,

If you need help just send ticket to HelpDesk
For you information: I disabled Private Message.

I do not available...
PP.S. Admin Panel 2.3 manual is available here http://www.esyndicat.com/docs/
Vladimir T. is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 08:08 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Testimonials | Articles | Support | Documentation | Privacy Policy | License | Affiliates | Contact Us | SEO Resources