logo
WSN Links PHP Directory Software
Features Showcase Reviews Demos Purchase Manual Support
 

Category Pages
How do I set up category pages?

Version:


Category Pages
vision2004
Member

Usergroup: Member
Joined: Sep 11, 2004
Total Topics: 5
Total Posts: 14
Posted 09/19/04 - 06:10 AM:
quote post
#1
Hi,

What procedure do I use to create my home page(4 columns) with the all the main categories and second page with sub categories(4 columns)?

Thank you
Herman

Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 56
Total Posts: 5844
Posted 09/19/04 - 08:13 AM:
quote post
#2
That doesn't really make any sense at all to me. I've no idea what a "second page" would be or how it'd be linked to, or what exactly you want to do with your home page other than html (if it's just html, the procedure is to write the html or use an editor).

_____________________
"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
vision2004
Member

Usergroup: Member
Joined: Sep 11, 2004
Total Topics: 5
Total Posts: 14
Posted 09/19/04 - 10:10 AM:
quote post
#3
Ok, sorry for the miscommunication: I thought this was done by modifying one of the templates.

So, do I design my own html homepage(ie how I want it to look with all the main categories)and a secondary sub category page?

Then how do I integrate the WSN script with these pages?

Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 56
Total Posts: 5844
Posted 09/19/04 - 11:44 PM:
quote post
#4
You can make your home page be a custom template with a category toplist, or if you're not using it for anything else then you would just use the existing main page template.

So, do I design my own html homepage(ie how I want it to look with all the main categories)and a secondary sub category page?

Depending on what you're trying to do, you create whatever it is you want. If you're trying to modify an existing page, then you modify the existing templates. If you're trying to add a new page, then you add a custom template.

_____________________
"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
vision2004
Member

Usergroup: Member
Joined: Sep 11, 2004
Total Topics: 5
Total Posts: 14
Posted 09/20/04 - 12:37 PM:
quote post
#5
Thanks for your patience Paul.

How do I add my templates(see below)and how do I integrate WSN links into them so I can add/delete/sort links?

Here's the homepage template I created with main categories and links:

http://www.hereiscolorado.ihost-websites.com

Sub category page:
http://www.ihost-websites.com/hereiscolorado/citi...

What is the main page for WSN links...is this the toplist generator?
How do I reverse any changes I make to the WSN templates/top lists etc (in case of mistakes)?

Thank you.

mrowton
Forum Regular
Avatar

Usergroup: Customer
Joined: Feb 19, 2004
Location: Michigan
Total Topics: 59
Total Posts: 189

Last Blog:

Posted 09/20/04 - 12:40 PM:
quote post
#6
"Then how do I integrate the WSN script with these pages?"

Generally the look and feel of your site is controlled by the "wrapper" template, which includes all the stuff at the top and bottom of all pages.

When I use WSN Links I usually start by making this template look the way I want. If you use style sheets (you should) then do this now also.

After you get the "wrapper" template the way you want then you can start your main index page. The stuff you see in the middle of the index page is controlled through the "main" template.

It sounds like you want your main page to display only the top-level categories in a 4-column format.

* Go to your admin panel > General Appearance

Here you can control quite a bit of the sites appearance. Go to the section:

"Number of columns to display of each:
For main page category list and category link listing pages."

Set this to 4

You also only want to display the top-level categories on the main page (no sub-categories)

Look through the "main" template and find the area that looks like the below:




{CATADMIN}

,





This is the area that controls the category display.

Delete


Everything in between


This means that none of the subcategories will be displayed, just high level categories, in 4 columns, on your home page.

I don't understand the part about having the subcategories on a second page. It would seem to me that top-level categories alone are ok, but subcategories without top-level categories would be confusing. Specifically, if you have a list of sub-categories, without top categories then they wouldn't be in context. Perhaps if you could give us an idea of what kind of categories they are, or what your end goal is, then we could help.

_____________________
http://www.packetsource.com/
Directory of Security Papers
mrowton
Forum Regular
Avatar

Usergroup: Customer
Joined: Feb 19, 2004
Location: Michigan
Total Topics: 59
Total Posts: 189

Last Blog:

Posted 09/20/04 - 12:58 PM:
quote post
#7
It looks like you DO want subcategories to display on the home page.

Don’t delete the are as described in the previous post.

Also set the column number of subcategories to 4 in the admin panel here.

Looks like you probably need to add all these categories into the database also.
Why don’t you put in some of the categories into WSN Links, set up the columns numbers in the admin panel, and change your "wrapper" template. That way you can get a better idea of what it will look like. If we have a working version to look at, then we could probably help you more.

_____________________
http://www.packetsource.com/
Directory of Security Papers
vision2004
Member

Usergroup: Member
Joined: Sep 11, 2004
Total Topics: 5
Total Posts: 14
Posted 09/20/04 - 02:28 PM:
quote post
#8
Thanks very much - here's what I wish to do:

1. Visitor arrives on homepage:
http://www.hereiscolorado.ihost-websites.com (click on 'television stations')

2. Visitor taken to Colorado Cities page
http://www.hereiscolorado.ihost-websites.com/citi... (click on denver west)

3. Visitor taken to Denver West Page categories
http://www.hereiscolorado.ihost-websites.com/denv.... These have same catgories as home page.(click on television stations)

4. Visitor taken to Denver West Televison Stations page.
http://www.hereiscolorado.ihost-websites.com/denv... html

I want to be able to add/change/delete links for each page from
admin panel.

How do I do this?
or do I just modify the current WSN templates - if so how?

Thank you.
PS I am trying to find the simplest way possible to achieve this.
mrowton
Forum Regular
Avatar

Usergroup: Customer
Joined: Feb 19, 2004
Location: Michigan
Total Topics: 59
Total Posts: 189

Last Blog:

Posted 09/20/04 - 03:15 PM:
quote post
#9
In your example the category structure will be:

Colorado Media
-Television Stations
--Denver
---West
----Colorado Media
-----Television Stations
------Links here

Thats because all the bold red words are also categories, which makes things kind of redundant.

I would suggest either going

Colorado Media
-Television Stations
--Denver
---West
----Links here

or

Denver
-West
--Media
---Television Stations
----Links here


Just get WSN installed with default installs. Add some of the top level categories, then add subcategories, and subcategories of these until you get to the category that you want link in. After the data is there, you can change the number of columns, table size, colors, etc though the admin interface and templates. For a directory such as this its important to get a handle on the category structure early.

I think that if you just get some categories and links into the system, you'll be surprised at how customizable it is.

_____________________
http://www.packetsource.com/
Directory of Security Papers
vision2004
Member

Usergroup: Member
Joined: Sep 11, 2004
Total Topics: 5
Total Posts: 14
Posted 09/20/04 - 08:40 PM:
quote post
#10
Thank you..I created a category (in add category/link section).
Colorado Media
-Television Stations
--Denver
---West
----Links (2)

however I still don't understand how to alter the main template (which one is it?)to have it look like the one I created in html.

What is the main WSN links page and what does it look like?
Is this it?
http://www.ihost-websites.com/hereiscolorado/index.php

Confused

mrowton
Forum Regular
Avatar

Usergroup: Customer
Joined: Feb 19, 2004
Location: Michigan
Total Topics: 59
Total Posts: 189

Last Blog:

Posted 09/20/04 - 09:27 PM:
quote post
#11
logon to your admin panel www.domain.com/admin/

Click the "templates" link, under the "custimizations" area on the left nav bar

This page is your list of templates, the second down from the top left is called "Main Index."

Clicking it allows you to edit it online (or download and edit offline) and preview before making changes.


_____________________
http://www.packetsource.com/
Directory of Security Papers
vision2004
Member

Usergroup: Member
Joined: Sep 11, 2004
Total Topics: 5
Total Posts: 14
Posted 09/21/04 - 06:14 AM:
quote post
#12
Thanks for the feedback.

After reading about customization of templates in the manual, I still don't understand about how to alter the templates using variables.

I tried pasteing the template code in Dreamweaver, to edit it for changes. What variables do I use to display my home page similar to what I created here:
http://www.hereiscolorado.ihost-websites.com/

Do I need to be a php programmer to make changes?

I wish there was a step by step procedure how to achieve these modification tasks.
vision2004
Member

Usergroup: Member
Joined: Sep 11, 2004
Total Topics: 5
Total Posts: 14
Posted 09/21/04 - 07:21 PM:
quote post
#13
Hi,

Could you please give me your feedback on the categories organization from this page (before I go further and enter all my categories).

http://www.ihost-websites.com/hereiscolorado/index.php

Follow Colorado Media-Televison Stations-Denver West-Links(2)

Am I on the right track?

Thank you

Search thread for
Download thread as


You don't have permission to post.

Please login or register.

Admin Control Panel

   
Home    |    Features    |    Showcase    |    Reviews    |    Demos    |    Purchase    |    Manual    |    Support
© 2008 Paul Knierim. All rights reserved.