display all categories on left column - eSyndiCat User Forums
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 02-15-2007   #1
2hard2get
 
Join Date: May 2006
Posts: 60
2hard2get is an unknown quantity at this point
Default display all categories on left column

How can I display all the categories, by Alphabetical order on the left column?

My template is auto_GREEN_BLUE Version 2.0
__________________
www.webshopguiden.dk
www.danmarksguiden.dk

"Don't tell me it can't be done"
2hard2get is offline   Reply With Quote
Old 02-15-2007   #2
Tilek E.
 
Join Date: Sep 2006
Posts: 384
Tilek E. is on a distinguished road
Default

Hi 2hard2get,

It's easy enough. First of all you should go to Admin Panel » Configuration » Page Navigation and Listings and change the Number of columns from 3 to 1.

Then open header.tpl file and insert the highlighted code as follows:

Code:
<div class="content">
	<table cellpadding="0" cellspacing="0" width="100%">
	<tr>
		<td valign="top" height="10%" class="column">

{if $categories}
	<div class="box">
		<div class="box-caption-right">
			<div class="box-caption-left">
				<div class="box-caption">{$lang.categories}</div>
			</div>
		</div>
		{$categories}
	</div>
{/if}

{if $config.editors}
	<div class="box">
		<div class="box-caption-right">
			<div class="box-caption-left">
					<div class="box-caption">{$lang.editors_area}</div>
			</div>
		</div>
		<div class="box-content">
Do not forget to delete the highlighted code from index.tpl file.
Tilek E. is offline   Reply With Quote
Old 02-15-2007   #3
2hard2get
 
Join Date: May 2006
Posts: 60
2hard2get is an unknown quantity at this point
Default

Sorry but thats not what i ment, i still want category i the center of page, but category navigations i the rigth side on all pages.
__________________
www.webshopguiden.dk
www.danmarksguiden.dk

"Don't tell me it can't be done"
2hard2get is offline   Reply With Quote
Old 02-15-2007   #4
Greg
Super Moderator
 
Greg's Avatar
 
Join Date: Oct 2005
Location: Phoenix,Arizona (Valley of the Sun)
Posts: 5,358
Greg is a jewel in the roughGreg is a jewel in the roughGreg is a jewel in the roughGreg is a jewel in the rough
Default

There's a whole "Sticky" thread at the top of this forum for this.
Look at posts 5,29,40 (depending on your needs)

There may be slight changes you need to make for your template.
__________________
Please don't ask me about script questions or sales issues through "Private Messages". Thanks!
Greg is offline   Reply With Quote
Old 02-15-2007   #5
2hard2get
 
Join Date: May 2006
Posts: 60
2hard2get is an unknown quantity at this point
Default

Looks great Greg.

It woorks, but i want a top over the categori´s call CATEGORY with black background like i have in center categori.

Is it possible not too show right categori i frontpage, only on all other pages.

Also how doo i move center categori a litle too right.
__________________
www.webshopguiden.dk
www.danmarksguiden.dk

"Don't tell me it can't be done"
2hard2get is offline   Reply With Quote
Old 02-15-2007   #6
Greg
Super Moderator
 
Greg's Avatar
 
Join Date: Oct 2005
Location: Phoenix,Arizona (Valley of the Sun)
Posts: 5,358
Greg is a jewel in the roughGreg is a jewel in the roughGreg is a jewel in the roughGreg is a jewel in the rough
Default

Quote:
Originally Posted by 2hard2get
Looks great Greg.

It woorks, but i want a top over the categori´s call CATEGORY with black background like i have in center categori.

Is it possible not too show right categori i frontpage, only on all other pages.
Try this:
Code:
{if ($category.id) >"0"}
<div class="box">
   <div class="box-caption-right">
   <div class="box-caption-left">
      <div class="box-caption">{$lang.categories}</div>
   </div>
   </div>
   <div class="box-content">
   {foreach from=$top_categories item=top_category}
   <p class="top-category"><a 

href="{$config.base}{$config.dir}{$top_category.path}/">{$top_category.title}</a></p>
   {/foreach}
   </div>
{else}

{/if}
For "Also how doo i move center categori a litle too right." I'll take a look at it later. Have some stuff to do.
__________________
Please don't ask me about script questions or sales issues through "Private Messages". Thanks!
Greg is offline   Reply With Quote
Old 02-15-2007   #7
2hard2get
 
Join Date: May 2006
Posts: 60
2hard2get is an unknown quantity at this point
Cool

Damm your good at this. Thaks a lot.

It looks like i don´t need too move center category now.

By the way, have fun
__________________
www.webshopguiden.dk
www.danmarksguiden.dk

"Don't tell me it can't be done"
2hard2get is offline   Reply With Quote
Old 02-15-2007   #8
Greg
Super Moderator
 
Greg's Avatar
 
Join Date: Oct 2005
Location: Phoenix,Arizona (Valley of the Sun)
Posts: 5,358
Greg is a jewel in the roughGreg is a jewel in the roughGreg is a jewel in the roughGreg is a jewel in the rough
Default

You're welcome

Looks good

One thing I think you forgot was to add the css part:
Code:
p.top-category
{
	line-height: 22px;
}
p.top-category a
{
	color: #1979B5;
	font-weight: bold;	
}
Change to correct color - #1979B5;

Though it doesn't look like you need it.
__________________
Please don't ask me about script questions or sales issues through "Private Messages". Thanks!
Greg is offline   Reply With Quote
Old 02-15-2007   #9
2hard2get
 
Join Date: May 2006
Posts: 60
2hard2get is an unknown quantity at this point
Default

Greg i have a problem with XML button.

When i change it, the size get´s smaller.

I try too make same look and size for Search and XML buttons.
__________________
www.webshopguiden.dk
www.danmarksguiden.dk

"Don't tell me it can't be done"
2hard2get is offline   Reply With Quote
Old 02-15-2007   #10
Greg
Super Moderator
 
Greg's Avatar
 
Join Date: Oct 2005
Location: Phoenix,Arizona (Valley of the Sun)
Posts: 5,358
Greg is a jewel in the roughGreg is a jewel in the roughGreg is a jewel in the roughGreg is a jewel in the rough
Default

The xml buttom is an image (xml.gif). The only way to make it the same size as the search button is to make a new one. And I suck at graphics.
__________________
Please don't ask me about script questions or sales issues through "Private Messages". Thanks!
Greg 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 05:59 AM.


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