eSyndiCat User Forums esyndicat directory software esyndicat support

Go Back   eSyndiCat User Forums > eSyndiCat Directory Software [FREE] > Common Questions

Common Questions Latest releases, patches, bugfixes and changes in eSyndiCat Directory Software free version. Feel really frustrated after having spent several hours trying to figure out what went wrong with your directory? Wait no more! Click the link above and post your issues. Right here. Right now.

Reply
 
Thread Tools Display Modes
Old 08-25-2010   #1
riccopt
 
Join Date: Mar 2009
Posts: 47
riccopt is on a distinguished road
Default Category Descriptions

how can I show them on my index page?
I know I have to change something on the LAYOUT.PHP file, but I can't find exactly WHAT and WHERE
riccopt is offline   Reply With Quote
Old 09-02-2010   #2
Alex B.
Tech Support
 
Alex B.'s Avatar
 
Join Date: Oct 2008
Posts: 1,009
Alex B. is on a distinguished road
Default

Could you specify where exactly you want to place descriptions?
I will post required changes to be done
__________________
Best Regards, Alex B.
HELPDESK
Alex B. is offline   Reply With Quote
Old 09-02-2010   #3
riccopt
 
Join Date: Mar 2009
Posts: 47
riccopt is on a distinguished road
Default

I want the category description to appear as a TITLE tag of all my category links...
I want that on the INDEX and on the SUB CATEGORIES
<a href="URL" id="xxx" rel="xxx" title="CATEGORY DESCRIPTION">CATEGORY TITLE</a>

Last edited by riccopt; 09-02-2010 at 11:42 PM.
riccopt is offline   Reply With Quote
Old 09-05-2010   #4
riccopt
 
Join Date: Mar 2009
Posts: 47
riccopt is on a distinguished road
Default

I did the following, but I am getting EMPTY DESCRIPTIONS
Layout.php all I added was this
PHP Code:
                if ($aSubcategories)
                {
                    
$subcats '';
                    if (
$value['subcategories'])
                    {
                        
$subcats "<div class=\"subcategories\">";
                        
$cnt2 1;
                        foreach (
$value['subcategories'] as $key2=>$value2)
                        {
                            
$value2['title'] = html($value2['title']);
                            
$value2['description'] = html($value2['description']);
                            
$min = (count($value['subcategories']) < $aSubcategories) ? count($value['subcategories']) : $aSubcategories;
                            
$divid = ($cnt2 $min) ? ', ' '';
                            
$url2 MOD_REWRITE $value2['path']."/" "index.php?category=".$value2['id'];
                            
$subcats .= "<a href=\"".$base.$url2."\" class=\"screenshot\" id=\"c{$value2['id']}\" title=\"{$value2['description']}\" >{$value2['title']}</a>{$divid}";
                            
$cnt2++;
                        }
                        
$subcats .= "</div>";
                    }
                } 
and this on Dir.php

PHP Code:
    function getBreadcrumb($aCategory, &$aBreadcrumb)
    {
        
$this->mTable $this->mPrefix."categories";
        
//path,description
        
$category $this->get("row","id_parent,title,description,path","id='$aCategory'");
        
$aBreadcrumb = array ('id' => $aCategory'title' => $category['title'], 'path' => $category['path'], 'description' => $category['description']);
        if ((int)
$category['id_parent'] > 0)
        {
            
$this->getBreadcrumb($category['id_parent'], $aBreadcrumb);
        }
    } 
riccopt is offline   Reply With Quote
Old 09-05-2010   #5
TopWebNames
 
TopWebNames's Avatar
 
Join Date: May 2010
Location: Hawaii
Posts: 731
TopWebNames is on a distinguished road
Default

Hi riccopt. Please post your URL when you have this working the way that you want so that we can see how it looks.

Thanks!
__________________
"The Best Of The Internet" - Premium, world class, paid only Internet directory - www.TheBestOfTheInternet.com

High quality, intuitive phrase, type-in keyword, "Top Web Names" for sale - www.TopWebNames.com
TopWebNames is offline   Reply With Quote
Old 09-05-2010   #6
riccopt
 
Join Date: Mar 2009
Posts: 47
riccopt is on a distinguished road
Default

Quote:
Originally Posted by TopWebNames View Post
Hi riccopt. Please post your URL when you have this working the way that you want so that we can see how it looks.

Thanks!
the site I am working on is for ADULTS ONLY... so I am not sure that eSyndicat guys would like this URL being posted here
riccopt is offline   Reply With Quote
Old 09-05-2010   #7
riccopt
 
Join Date: Mar 2009
Posts: 47
riccopt is on a distinguished road
Default

I found out what is the problem...
only need to find out a solution...
the array the is being made for the subcategories doesn't have the DESCRIPTION... it only has the ID, the TITLE and the PATH...
riccopt is offline   Reply With Quote
Old 09-05-2010   #8
TopWebNames
 
TopWebNames's Avatar
 
Join Date: May 2010
Location: Hawaii
Posts: 731
TopWebNames is on a distinguished road
Default

I just opened my first eSyndiCat directory, www.TheBestOfTheInternet.com, several days ago. My next directory will be an Adult directory. I just asked Simon yesterday if there are any other Templates coming out soon, in the works, etc. because none of the existing 2.3 Templates are right for me. I'd really like to see what you have. Please send me the URL in a PM. Maybe have other forum members who want to see what you're working on send you a PM.

Thanks
__________________
"The Best Of The Internet" - Premium, world class, paid only Internet directory - www.TheBestOfTheInternet.com

High quality, intuitive phrase, type-in keyword, "Top Web Names" for sale - www.TopWebNames.com
TopWebNames is offline   Reply With Quote
Old 09-05-2010   #9
riccopt
 
Join Date: Mar 2009
Posts: 47
riccopt is on a distinguished road
Default

I am working on something similar to Free Ones...

I actually decided that I would like to have the description form the subcategories to be shown as the rel tag instead of the title tag...

since I will be accepting galleries and freesites on my website I need to work a lot of things out before I can complete my work... do you know if it is possible to send an email confirmation (one of those that the person has to click on so that his link is added to the APPROVAL list?
riccopt is offline   Reply With Quote
Old 09-05-2010   #10
TopWebNames
 
TopWebNames's Avatar
 
Join Date: May 2010
Location: Hawaii
Posts: 731
TopWebNames is on a distinguished road
Default

Quote:
Originally Posted by riccopt View Post
(1) I am working on something similar to Free Ones...

(2) I actually decided that I would like to have the description form the subcategories to be shown as the rel tag instead of the title tag...

(3) since I will be accepting galleries and freesites on my website I need to work a lot of things out before I can complete my work... do you know if it is possible to send an email confirmation (one of those that the person has to click on so that his link is added to the APPROVAL list?

1 - I don't know what "Free Ones" is, or means. What is it?

2 - Sorry, I don't know what you mean.

3 - I know that someone has to click on a link in the email that the system sends so they can register for an account, before their account is then noted for "Approval" for Admin/you to change to "Active", BEFORE they can suggest/submit a listing. They don't get an email that they need to click a link in to have a listing, but Admin/you need to then also change it from "Approval" or "Suspended" (I changed this to "Pending"), before their listing will display. Most of these things are settings that Admin/you need to "Configure" the way that you want them to function.

I hope some of this helps
__________________
"The Best Of The Internet" - Premium, world class, paid only Internet directory - www.TheBestOfTheInternet.com

High quality, intuitive phrase, type-in keyword, "Top Web Names" for sale - www.TopWebNames.com
TopWebNames 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 11:14 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