Webmastersite.net
Register Log In

My site, my layout, before I buy

Comments on My site, my layout, before I buy

syn
Beginner

Usergroup: Member
Joined: Dec 19, 2004

Total Topics: 2
Total Comments: 5
syn
Posted Dec 19, 2004 - 6:57 AM:

Hi all,

I've been trying out the basic edition for a few days and have not been able to figure a few things out. Some I will figure out later, but my main issue currently is with templating. After searching and trying various methods, I'm more unclear.

I would like to use my own page layout (simple 2 columns, perhaps 3, an image header, text footer) with Links. If at all possible, I'd like to stick with this layout on every page and simply call the variables and sections I want within the layout. Top list over here, categories over there, leaving the finer details to the script core.

The majority of my customizations really need to be in the wrapper if I continue to use it, with other basic generated content in the body. I've not been able to call certain things from the wrapper though - I can list the categories but cannot add their descriptions as a link title, for instance. Moving the category list to the main.tpl template works fine of course. Moving items like this to main.tpl would mean having to also move it to every other template (?).

The long and short of it is that I'd like to keep things simple - use my own layout and call parts where I need them within my layout. Is there a possible solution before I proceed further?

Thanks in advance,
syn
Thermit
Member

Usergroup: Customer
Joined: Oct 25, 2004

Total Topics: 8
Total Comments: 28
Thermit
Posted Dec 19, 2004 - 6:43 PM:

>> The majority of my customizations really need to be in the wrapper if I continue to use it,

If you can explain the reason for this, it might help answer the question.

You probably already know that the wrapper is mainly for providing a common page layout, like colors, logos at the top, navigation bars on the left and/or right, and common footer info.

Are you wanting a common navigation bar that contains the dynamic categories?
syn
Beginner

Usergroup: Member
Joined: Dec 19, 2004

Total Topics: 2
Total Comments: 5
syn
Posted Dec 20, 2004 - 6:39 AM:

Good morning,

Thanks for the reply.

"Are you wanting a common navigation bar that contains the dynamic categories?" Absolutely!

For a visual, my test area is at http://www.syndicolor.com/directory/index.php (view in Firefox! I'll be concerned with IE later). I'd like to keep the main categories in the left column but link titles (<a title="...) are not working if this is placed in the wrapper. I'd also like to show the number of links next to each cat as well as add a top list. I'd like for the middle column to be only the latest added links (with an icon, description, hits for each - will figure out the icon part later ). I will be removing the right column altogether.

Click on any category and you'll see a plain displaylinks.tpl output - nothing more there than one division enclosing the output.

For each page, if I could just call "thisheader" and "thispart" I think I'd understand better and be able to move on to the actual script details
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Dec 21, 2004 - 5:48 AM:

syn wrote:
I can list the categories but cannot add their descriptions as a link title, for instance.

This doesn't make any sense, as category descriptions have nothing to do with link titles.

Anyhow, if you want a list of categories outside of the main category list page, make a toplist for it. Toplists do work in the wrapper.
syn
Beginner

Usergroup: Member
Joined: Dec 19, 2004

Total Topics: 2
Total Comments: 5
syn
Posted Dec 22, 2004 - 5:35 AM:

"syn wrote:
I can list the categories but cannot add their descriptions as a link title, for instance."

"This doesn't make any sense, as category descriptions have nothing to do with link titles."

Hi there,

It makes tons of sense while attempting a compliant and accessible layout for any website, also to keep things simple for visitors. To keep it simple, category link: a href="categorylink" title="categorydescription".

OK.. thanks for the input.
syn
Rik
Forum Regular

Usergroup: Customer
Joined: Sep 22, 2004
Location: Wake Forest, NC

Total Topics: 23
Total Comments: 161
Rik
Posted Dec 22, 2004 - 2:30 PM:

Nice look, hope you get it all going.

Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.