PDA

View Full Version : Tags on archived articles?


dan_rotiu
02-17-2008, 06:07 AM
Hi there,

Is there a way for tags to remain also for archived articles?

Thanx

northlandadv
02-17-2008, 01:44 PM
IN your article/default.tpl you'll note a div area with

<vte:include file="{VIVVO_TEMPLATE_DIR}box/article_tags.tpl" />

If you include this in your archive/default.tpl it will display the tags.

dan_rotiu
02-18-2008, 06:39 AM
IN your article/default.tpl you'll note a div area with

<vte:include file="{VIVVO_TEMPLATE_DIR}box/article_tags.tpl" />

If you include this in your archive/default.tpl it will display the tags.


Thanks, that's good to know, but that's not what I want to do. Probably I didn't put the question right. My english is not very good.

The ideea is that after you archive an article which has tag: "xxxxxx", you don't find it in the list of articles with tag: "xxxxxx" anymore.

Hope to be understood now :)

Alex
02-18-2008, 08:18 AM
I'm afraid this cannot be done easily. It defies the very purpose of archive - to be excluded from all standard db queries. It can be, however, done via customization of php core, but if you choose to do so be aware you will make upgrades/patches more difficult for yourself.

Micha
02-18-2008, 08:47 AM
The ideea is that after you archive an article which has tag: "xxxxxx", you don't find it in the list of articles with tag: "xxxxxx" anymore.

This works by default (at least for me).

After I set article to "Archived" status it automatically removes that article from tag search.

dan_rotiu
02-19-2008, 06:09 AM
I'm afraid this cannot be done easily. It defies the very purpose of archive - to be excluded from all standard db queries. It can be, however, done via customization of php core, but if you choose to do so be aware you will make upgrades/patches more difficult for yourself.

Thanks for your answer.

dan_rotiu
02-19-2008, 06:16 AM
This works by default (at least for me).

After I set article to "Archived" status it automatically removes that article from tag search.

That's the ideea. I want my archived articles to have the tags and appear in tags search. For example, right now if I click on any tag from homepage it goes to an empty page (because the articles with that specific tags were archived. You can take a look here : http://www.glasularadului.ro

Definately, I have to improve my english. :o