| Author |
Message |
scottdallas

Joined: 04 May 2006 Posts: 1843 Location: US |
|
|
| Wed Feb 14, 2007 1:22 am |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
Ramon
Joined: 12 Oct 2005 Posts: 462 Location: Hoogeveen, NL |
|
|
|
Haha, bit slow only figuring that out now
With the help op Friendly URLS you can even make the links more neat. (e.g. http://yoursite.com/(categoryname)/
the .htaccess file translates that to http://yoursite.com/(homepage).php?category=(categoryname)
_________________
 |
|
| Thu Feb 15, 2007 9:58 am |
|
 |
scottdallas

Joined: 04 May 2006 Posts: 1843 Location: US |
|
|
|
Oooh very nice. Lots of little things I haven't taken the time to learn I see. Rufu's is something I want to get into more. Rufus and htaccess. Thanks again Ramon. 
_________________ www.scottdizzle.com uses cnr
last update: 07-22-08: 8:30 pm |
|
| Thu Feb 15, 2007 7:18 pm |
|
 |
Saszoo

Joined: 07 Jun 2006 Posts: 409 Location: Norway |
|
|
|
I thought you knew
Thought we discussed it in my thread about category-icon list?
Like I have arranged a list of category-icons that link to mysite.tld/categoryname and how to code the links to automatically adjust to category-management:P
_________________ My cute.ru site |
|
| Thu Feb 15, 2007 11:27 pm |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2736 Location: Germany |
|
|
| Thu Feb 15, 2007 11:48 pm |
|
 |
Saszoo

Joined: 07 Jun 2006 Posts: 409 Location: Norway |
|
|
| Thu Feb 15, 2007 11:53 pm |
|
 |
scottdallas

Joined: 04 May 2006 Posts: 1843 Location: US |
|
|
|
Perhaps, but it's abilities and flexibility hadn't sunk in yet hehe. However, that thread doesn't discuss the main reasons and ideas I had behind using those. I guess in a way it does. I'm talking like in your layout instead of making index.php with links in your navigation system to this.php and that.php you could just put
index.php?category=2
index.php?category=3
and it would do the same thing. But, your <title> and meta tags/keywords would all be the same on each page. It would just provide a faster way of putting your site together.
_________________ www.scottdizzle.com uses cnr
last update: 07-22-08: 8:30 pm |
|
| Fri Feb 16, 2007 12:42 am |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2736 Location: Germany |
|
|
|
Use conditional statements and you can have everything in one file:
 |  | <title><?=($_GET['category'] == 2 ? 'Title of category 2' : ($_GET['category'] == 3 ? 'Title of category 3' : 'Default title')); ?></title> |
|
|
| Fri Feb 16, 2007 1:07 am |
|
 |
|