PDA

View Full Version : What is the meaning of "URL Title" for a new categ


james88
06-11-2005, 04:19 PM
Hi all,

My script is running beautifully - and I've customized it into my site design, although I have to say this took a heck of a lot of playing with. There are still some problems - Smarty templates take quite a lot of getting used to!

Anyway, my question is, when in admin, and I create a new CATEGORY, there is a field "URL Title" (and the "Allowed symbols are: a-z, A-Z, 0-9, _, -").

Can anyone clarify WHAT exactly this is? Why would a CATEGORY need a "URL Title" - what is this, it's not a URL as I can't put one in.

Please clarify this for me. I can put some text in and it never seems to show in the browser so what is it and what's the point?

Thankyou
James

dcb
06-11-2005, 04:27 PM
This field allows you to customize the URL path of the category (if you use URL rewrite)
For example on your site URL Title for "Free and commercial PHP scripts" is PHPScripts2, so the category URL will be
PHPScripts2/

james88
06-11-2005, 04:37 PM
Thankyou for clearing that up. I have to say I'm finding Smarty a bit harsh on the head - perhaps I'm old fashioned and just prefer normal PHP includes.

Anyway, script is great.. where can I make a donation?

dcb
06-11-2005, 04:40 PM
It seems that David removed the donation link from the home page when he updated it :D. I'm sure he'll put it back and let you know :wink: .

james88
06-11-2005, 04:43 PM
I hope he does - he deserves something for this. I've noticed a product called Barracuda out there which is $200, and I reakon this is at least as good. I couldn't afford it - I want to give him something at least...

dcb
06-11-2005, 04:52 PM
As for Smarty, I know it can be a little tough in the beginning, but once you learn it, you're gonna love it.

Besides the fact that it keeps you application logic separated from the interface and that it has a few plugins that can speed up HTML coding, one other important feature is caching. Once a page is generated the resulting HTML code is kept in cache and future requests can be served with minimum PHP code and no database calls, or very little - just counting the hits, for example. This can make a difference for sites with a lot of traffic.

Page caching is not enabled for the moment in rc2, but it will be in a future version.