× If you expect answers you should describe your problem and give as much information's as possible. (SQL-Structure, Template Code, Joomla Version ...) Please read this before posting: joodb.feenders.de/support.html

URL without the ID

More
5 years 10 months ago #4771 by sdd
URL without the ID was created by sdd
Hi!

We're using JooDB 3.7 PRO and Jooms 3.8.8. It's pretty great, but I've got one big stone in my shoe: the URLs. Joomla changed their article URLs from:
/something/123-article-title
to just
/something/article-title when 3.7 was released.

This was a major deal for us. We sell stuff and offer support. Our URLs must be rememberable, logical, look clean and nice.

company.com/system/support/product-name is great.
company.com/system/support/17-product-name ... not so much.

JooDB still includes the ID in all automatically generated URLs, like
joodb.feenders.de/db-example/13-football.

I'd rather not make manual menu items for each and every product and maintain this every time we release or chamge something. Is it possible to get clean URLs using a setting or hack or some other solution?

Thanks!

- Sæbjørn

Please Log in to join the conversation.

More
5 years 10 months ago #4772 by Dirk
Replied by Dirk on topic URL without the ID
Joomla uses the ALIAS field to do this.
The ALIAS is normally the cleaned string of the title.
The alias must be unique for every entry.
Unfortunately nobody has such a column in the table.

In the next major release we will add a automatic
alias field to make joodb compatible with the new
routing.

Meanwhile you could change
/components/com_joodb/route.php
and
/components/com_joodb/model/article.php
to use alias field for routing.
The following user(s) said Thank You: sdd

Please Log in to join the conversation.

More
5 years 10 months ago #4774 by sdd
Replied by sdd on topic URL without the ID
Thanks. Two follow-ups:

1. Regarding your next major release, what kind of time frame are we talking about? In about a week, two months or sometime next year?

2. I know a little PHP, but can't just hack away on those two files without some guidance. I'll try googling around, but if you've got some documentation or resources, it would help a lot.

- Sæbjørn

Please Log in to join the conversation.

Moderators: Dirkjoest