10 years ago
2
Topic

Hi,

Our goal is to setup fields used to calculate dynamically URL rewriting and Title of a page.
Is there some way to do that ?

For example we have a page that list articles from an author.

So we would like to get an url like : articles-Author_name.html
And title like : Article From Author_name

Thx

Get a Book for SEBLOD
4229 Posts
Kadministrator
10 years ago
1
Level 1

For URL - you can try various routing options if any of those fits (in component options or in content type configuration), otherwise you would need a custom router that would replace default one.

For title - you can disable article title in the com_content options and add one in the conten type, there you can e.g. add free text field to display "article from" and author field to show its name, all remains is some css that will put both fields in one line

10 years ago
0
Level 2

Hi Klas,

Thx for answer. I will try options for URL.

When i talk about title i mean meta title not title in page.

Get a VIP membership