Tags auf der Startseite

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
tobgo
Posts: 52
Joined: Fri Sep 15, 2006 1:54 pm

Tags auf der Startseite

Post by tobgo »

Hallo,
auf der Startseite werden alle tags angezeigt, auch die, welche noch nicht freigeschaltet wurden. Macht das Sinn?
In der inc\Tags.php werden doch alle Tags geladen. Wie und wo (Zeile)kann ich hinterlegen

Code: Select all

WHERE faqdata.active = yes 
tobgo
Posts: 52
Joined: Fri Sep 15, 2006 1:54 pm

Post by tobgo »

hab da was in Zeile 81 (inc\Tags.php) gefunden...
Folgende Änderung hab ich durchgeführt:

Code: Select all

SELECT faqtags.tagging_id, faqtags.tagging_name
FROM faqtags, faqdata_tags, faqdata
WHERE faqtags.tagging_id = faqdata_tags.tagging_id
AND faqdata_tags.record_id = faqdata.id
AND faqdata.active = 'yes'
ORDER BY tagging_name
Scheint zu funktionieren. :D
Aber wird diese Funktion noch wo anders verwendet?
Post Reply