Page 1 of 2

Re: [RELEASED] Product Tags + Tag Cloud Module

Posted: Wed Oct 07, 2009 11:46 pm
by Qphoria
Awesome! I was looking at doing this at some point but good to see someone else got it working.

One note I would add from a developer standpoint is to try to edit as few of the core files as possible.
For example, the catalog/model/catalog/product.php file
You could have just made your own tags.php file and referenced that from the module. This way you wouldn't have to edit the core file.. similar steps can be taken to avoid editing in other files too.

You will see the importance of this during upgrades and as more mods come out and start replacing the same files.

But otherwise nice work!

Re: [RELEASED] Product Tags + Tag Cloud Module

Posted: Thu Oct 08, 2009 4:36 am
by Qphoria
Yea, I dont mean to insinuate you could keep ALL code out of the core files..there are ways I've found to "limit" the editing of other core files whenever possible.

Re: [RELEASED] Product Tags + Tag Cloud Module

Posted: Thu Oct 08, 2009 11:55 am
by madany
hi davgothic... could u remark your code/script, so i know where to insert code into each existing files
Thx :)

Re: [RELEASED] Product Tags + Tag Cloud Module

Posted: Thu Oct 08, 2009 4:05 pm
by yegga
hi davy and qphoria,

i uploaded the files ands ran the sql - but clicking on the tags doesnt show up in search. thoughts?

Re: [RELEASED] Product Tags + Tag Cloud Module

Posted: Thu Oct 08, 2009 4:52 pm
by yegga
furthermore, the text showing up in the sidebar is 'No tags to display'

this string isn't in tagcloud.php in the language files: it isn't heading_title or text_notags; so where is it coming from?

Re: [RELEASED] Product Tags + Tag Cloud Module

Posted: Thu Oct 08, 2009 5:16 pm
by yegga
@dav:

1. the url looks like this: ../index.php?route=product/search&keyword=tag&description=1

2. can you please tell me how to remove the hardcoded line? my site isn't in english, and i'd like to comment it out please.

3. yes, i have added tags to products.

is there some minimum number of tags that must be present to show up in the sidebar?

Re: [RELEASED] Product Tags + Tag Cloud Module

Posted: Thu Oct 08, 2009 5:21 pm
by yegga
also: the tags do not display accented characters (in other languages using the latin script)

how does one fix this? presumably from the sql tables, yes? could you tell me the right way to do this? will i need to make tags again?

Re: [RELEASED] Product Tags + Tag Cloud Module

Posted: Thu Oct 08, 2009 6:22 pm
by yegga
davy: ah yes, editing the module leads to the tags showing up in the sidebar, cool.

search is still broken: so clicking on the tags in the sidebar lead to a zero result page.

if i were to upgrade to the new mod, what files do i have to change?

Re: [RELEASED] Product Tags + Tag Cloud Module

Posted: Thu Oct 08, 2009 6:35 pm
by yegga
also: is there a way of specifying how many words go on one line?

i'd like to limit it to 3 words per line

Re: [RELEASED] Product Tags + Tag Cloud Module

Posted: Thu Oct 08, 2009 6:55 pm
by yegga
dave: i did a diff on my existing product.php and the one you have modified in the new contrib.

here is the result of the diff: http://pastebin.ca/1603885

in your last post you mention changes on line 77 and 133, but the diff shows up a lot more changes.

should i change them all?

Re: [RELEASED] Product Tags + Tag Cloud Module

Posted: Thu Oct 08, 2009 7:07 pm
by yegga
further: you're right, i used css to fix the number of words per line.

also: right now the tag cloud orders the tags randomly, is there any way of doing this alphabetically?

Re: [RELEASED] Product Tags + Tag Cloud Module

Posted: Thu Oct 08, 2009 8:18 pm
by yegga
dav: i went through all the steps you mention; its still off. clicking on tags leads to zero search result page.

am i messing something up in the admin perhaps?

Re: [RELEASED] Product Tags + Tag Cloud Module

Posted: Thu Oct 08, 2009 8:27 pm
by yegga
edit: its all good now. i was updating an ancient version of product.php.

looks good davy, thakn you for this mod!

Re: [RELEASED] Product Tags + Tag Cloud Module

Posted: Thu Oct 08, 2009 8:32 pm
by yegga
a suggestion: how would you go about pulling all tags on one page?

Re: [RELEASED] Product Tags + Tag Cloud Module

Posted: Sun Nov 15, 2009 8:52 pm
by moggiex
Does anyone have an idea on how to repair this module for v1.3.4 ?

Matt

Re: [RELEASED] Product Tags + Tag Cloud Module

Posted: Wed Nov 25, 2009 4:09 am
by Skyhigh
Maybe my browsers b0rked, but the original post with the download link seems to have disappeared?

Does anyone have a link to a download of the 1.3.2 version please?

(looks like the mod I've been looking for, for months!)

Re: [RELEASED] Product Tags + Tag Cloud Module

Posted: Fri Feb 19, 2010 12:39 am
by matt5409
me too! this is really the deciding factor for me, product tags are very important :)

Re: [RELEASED] Product Tags + Tag Cloud Module

Posted: Fri Feb 19, 2010 12:49 am
by Qphoria
Ya, I'm not sure what happened here.

Re: [RELEASED] Product Tags + Tag Cloud Module

Posted: Fri Feb 19, 2010 12:52 am
by i2Paq
Qphoria wrote:Ya, I'm not sure what happened here.
It wasn't me! ;D

Here.

Re: [RELEASED] Product Tags + Tag Cloud Module

Posted: Fri Feb 19, 2010 1:04 am
by Qphoria
i2Paq wrote:
Qphoria wrote:Ya, I'm not sure what happened here.
It wasn't me! ;D

Here.
I confess you were my first suspect :P