I tried the new ’tplTagLinks’ parameter included in the latest development version (1454); calling up a chunk that builds the correct rel-tag sintax:
<a href="[(site_url)]tags/[+tag+]" class="ditto_tag" rel="tag">[+tag+]</a>
this correctly returns standard-compliants tag links.
Now, to make the urls point tho the right content (the Taglanding page), you’ll have to add a modRewrite rule in the
.htaccess, assuming your tagLanding page has a docID of 495:
#.htaccess apache-server directives
#RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
RewriteRule ^tags/(.*)$ index.php?id=495&tags=$1&start=0 [L,QSA]
works, but as you see I have commented the general Rewrite-rule for friendly urls;
infact I still have to understand how to make the 2 RewriteRules co-exist, it should be something like:
#.htaccess apache-server directives
RewriteRule ^(.*)$ index.php?q=$1 [QSA]
RewriteRule ^tags/(.*)$ /italiano/Tagged-documents.html?tags=$1
where the 2nd line tries to match and substitute on the friendly-url created by the first one.
This is having no effect on the server behaviour, either the rule does nt match anything, or it needs some specific
RewriteCond %{REQUEST_URI} before it...
Any Apache ModRewrite guru wants to take a look into this?
I have spent the morning on the apache docs without finding the fix!
then issue#48 in Ditto Trac is [SOLVED] !
This is quite an important aspect to market MODx (also) as a blogging platform...
PS: Mark, [+tags+] in the longtitle field of the landing page is again returning me empty strings with rev1454, can it be it got screwed with all the activities you are doing on tagging functions to support these new parameters?