Follow us on Twitter
Welcome, Guest
Please Login or Register.    Lost Password?
JoomAce Support
AceSEF
General Support

Tags: Advantage? For what? How to use?
(2 viewing) David Rogers, (1) Guest
Go to bottomPage: 12
TOPIC: Tags: Advantage? For what? How to use?
*
#15119
Re: Tags: Advantage? For what? How to use? 2 Months, 1 Week ago  
Nothing. I expected also to see something on frontend. But nothing.
For this you would need an additional 'Cloud' (module) feature in ACSSEF.

I got it to work as part of an URL. For example:
1. Create an ACETAG called: MYACETAG
2. Call it via: your_site/MYACETAG

When it works this link will show you a list of all articles aligned to the 'Tag'.

In this way it works for me. Not really comfortable and I can not see a great help for me in the moment. But who knows...
Kay-Uwe Koalick
PRO Customer
Posts: 6
graphgraph
Click here to see the profile of this user
The administrator has disabled public write access.
 
#15121
Re: Tags: Advantage? For what? How to use? 2 Months, 1 Week ago  
Thanks that helps a bit. I can now see a list of articles.

BUT . . . **none** of these are the articles that I have enabled tags on; and most of them are duplicated several times.

They are the list of articles that shows under the Items column in the Tags Manager - but trying to turn off the duplicates there doesn't work - each block of duplicates publishes or unpublishes together.

AND . . . what is the 'Show Tags : before text /after text' option for in the Configuration |Tags tab?

I'm now differently confused

Bob
Bob Janes
Non-Customer
Posts: 11
graphgraph
Click here to see the profile of this user
The administrator has disabled public write access.
 
#15129
Re: Tags: Advantage? For what? How to use? 2 Months, 1 Week ago  
Here you've a screenshot (scroll down) on how it will be showed inside articles:
www.joomace.net/blog/introducing-acesef-15

Kay-Uwe, I'm going to write a flexible module right now where you'll be able to show tags cloud.

Bob, that page is displayed after you click on the tag. Could you plz open a ticket including a super admin account so I could check this issue myself?
Denis Dulici
Administrator
Posts: 2683
graph
Click here to see the profile of this user
Gender: Male
Last Edit: 2010/10/22 12:14 By denis.
If you use AceSEF, please support us by posting a rating and a review at the Joomla! Extensions Directory
The administrator has disabled public write access.
 
#15141
Re: Tags: Advantage? For what? How to use? 2 Months, 1 Week ago  
Hi Denis,

Thank you - I was expecting to see something like that.

I'll open the ticket in a few minutes.

Bob

PS I left a note on the last ticket saying I was happy to chat about the Packt book. I'll leave my email in the new ticket.
Bob Janes
Non-Customer
Posts: 11
graphgraph
Click here to see the profile of this user
The administrator has disabled public write access.
 
#15501
Re: Tags: Advantage? For what? How to use? 1 Month, 3 Weeks ago  
Hi Denis,

Thank you for fixing the issue about the display of tags in an article.

That left me with some more issues about which article are displayed on the Tags listing page. As I said earlier:
  1. I don't see the aticles that I have specifically tagged

  2. I do see many articles that I have not specifically tagged

  3. There are many duplicates in the articles list


I have now solved a part of 1 here:

For an article/sef_url to show in the tag page listing:
  • Tagging must be enabled in the Metadata
  • The tag name must be in the MetaKeywords in one of these formats: 'tag,' ', tag', ', tag,'
  • The Metadata Title must not be empty
  • The Metadata must be published

The MetaKeyword part has a bug: it will not find a lone keyword if there are no commas before or after. Here is a fix for this in models/tags.php around line 123
Code:

$tag4 = $this->_db->Quote($this->_db->getEscaped($tag, true), false);
$where[] = "(m.keywords LIKE {$tag1} OR m.keywords LIKE {$tag2} OR m.keywords LIKE {$tag3} OR m.keywords LIKE {$tag4})";



For 2 I found that Tags are enabled on many SEF URLs that I did not set so I guess that there is some automatic process here that I haven't tracked down.

A fix for this is to limit the Tag list to Custom SEF URLs. I have done this by adding
Code:

$where[] = "u.params LIKE '%custom=1%'";
at around line 97 in the models/tags.php file This effectively blocks all the auto-enabled SEF URLs. It would be good to see this as a configuration option.

For issue 3 the duplication can be fixed by adding a GROUP BY statement around line 81 of models/tags.php
Code:

$this->_query = "SELECT m.id, m.url_sef, m.title, m.description, m.keywords, u.url_real FROM #__acesef_metadata AS m, #__acesef_urls AS u {$where} GROUP BY m.`id` ORDER BY m.title ";


Bob
Bob Janes
Non-Customer
Posts: 11
graphgraph
Click here to see the profile of this user
The administrator has disabled public write access.
 
#15503
Re: Tags: Advantage? For what? How to use? 1 Month, 3 Weeks ago  
Hi Denis,

Another small issue about the display of the Tags listing title. The tag I was using was 'branding' with lower case b, I wanted the page title to be the Tag title which is 'Branding'.

Fix is to add this function to models/tags.php
Code:

function getTitle() {
$tag = AcesefUtility::cleanText(trim(JRequest::getString('tag', null)));
$query = "
SELECT `title` 
FROM `#__acesef_tags` 
WHERE `title` LIKE '$tag'
";
return AceDatabase::loadResult($query);
}


and to alter line 35 of views/tags/view.html.php to
Code:

$params->set('page_title', $this->get('Title'));
This forces the page title back to the titel set in the Tag configuration.

Bob
Bob Janes
Non-Customer
Posts: 11
graphgraph
Click here to see the profile of this user
The administrator has disabled public write access.
 
#15504
Re: Tags: Advantage? For what? How to use? 1 Month, 3 Weeks ago  
Hi Denis,

Last one for the moment.

In the listing the JavaScript toggle to show the item description is shown even if there isn't an item description. The fix to hide this is to add && $row->description in line 99 of views/tags/default.php
Code:

AcesefConfig->tags_show_item_desc == 1 && $row->description ) { ?>


You can see the result of these changes at www.psychotactics.com/branding where I now have a list of the specifically tagged Custom SEF URLs.

Bob

On this listing I've also moved the JavaScript toggle into a separate column and tweaked the CSS to display it.
Bob Janes
Non-Customer
Posts: 11
graphgraph
Click here to see the profile of this user
The administrator has disabled public write access.
 
#15509
Re: Tags: Advantage? For what? How to use? 1 Month, 3 Weeks ago  
Hi Denis,

I'm still struggling to understand the tagging system.

What is the function of the acesef_tags_map table entries? It seems as if an article entered there displays the 'tags list' in the page body but does not show in the 'Tag list' page for that tag.

Bob
Bob Janes
Non-Customer
Posts: 11
graphgraph
Click here to see the profile of this user
Last Edit: 2010/11/08 12:27 By GreyHead.
The administrator has disabled public write access.
 
#15830
Re: Tags: Advantage? For what? How to use? 1 Month, 2 Weeks ago  
Hi Denis,

Gentle bump.

Bob
Bob Janes
Non-Customer
Posts: 11
graphgraph
Click here to see the profile of this user
The administrator has disabled public write access.
 
#16468
Re: Tags: Advantage? For what? How to use? 1 Week, 6 Days ago  
Hi Denis,

Slightly less gentle bump.

Still struggling with the tag map question?

Bob
Bob Janes
Non-Customer
Posts: 11
graphgraph
Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 12
JoomAce Support
AceSEF
General Support
Powered by Kunenaget the latest posts directly to your desktop