Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Questions
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Important - The support forums are now in "read-only" mode as we transition to an alternative help desk solution. Feel free to contact us here with any of your questions or search the forums for an existing solution.
 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 15th, 2012, 11:37 AM
paulinethomas paulinethomas is offline
 
Join Date: Sep 2012
Posts: 84
Default stop tag from showing

Hi,
How do I stop a particular tag from showing in tag cloud, one merchant has added the tags product and product feed to every item!,
Regards,
Pauline
__________________
ptom
  #2  
Old October 15th, 2012, 11:53 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi,

You can adjust the Tag cloud attributes to filter out the offending tag. Here's how to modify the tag cloud attributes:

http://www.datafeedr.com/videos?vide...rc=yt#videotop
/show...0909#post20909

If that doesn't work, you could remove it manually by modifying your tag loop. Let's say you want to get rid of the tag named "footwear", you could do this:

HTML Code:
[store.each_tag sort="name" limit="75" size="80/200%" freq="20/80"]
	<?php if ($$[tag.name dash=' '] != 'footwear') : ?>
		<a href="[tag.link]" title="[tag.count] products" style="font-size:[tag.size]">[tag.name dash=" "]</a>
	<?php endif; ?>
[/store.each_tag]
Eric
  #3  
Old October 15th, 2012, 12:11 PM
paulinethomas paulinethomas is offline
 
Join Date: Sep 2012
Posts: 84
Default

Thank you,
I've used this method:

<?php if ($$[tag.name dash=' '] != 'feed') : ?> <a href="[tag.link]" title="[tag.count] products" style="font-size:[tag.size]">[tag.name dash=" "]</a> <?php endif; ?>

how do I remove more than one tag, sorry can't work it out, have tried!,

Regards,
Pauline.
__________________
ptom
  #4  
Old October 15th, 2012, 12:41 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi,

Like this:

HTML Code:
[store.each_tag sort="name" limit="75" size="80/200%" freq="20/80"]
	<?php if ($$[tag.name dash=' '] != 'footwear' || $$[tag.name dash=' '] != 'shoes' || $$[tag.name dash=' '] != 'boots') : ?>
		<a href="[tag.link]" title="[tag.count] products" style="font-size:[tag.size]">[tag.name dash=" "]</a>
	<?php endif; ?>
[/store.each_tag]
Eric
  #5  
Old October 15th, 2012, 01:14 PM
paulinethomas paulinethomas is offline
 
Join Date: Sep 2012
Posts: 84
Default

Hi Eric,

[store.each_tag sort="count" limit="20" size="80/200%" freq="5/50"]
<?php if ($$[tag.name dash=' '] != 'feed' || $$[tag.name dash=' '] != 'product-feed') : ?> <a href="[tag.link]" title="[tag.count] products" style="font-size:[tag.size]">[tag.name dash=" "]</a> <?php endif; ?>
[/store.each_tag]

this is how it looks it doesn't seem to work, tried it with just the tag product and product feed but won't work with more than 1

regards,
pauline
__________________
ptom
  #6  
Old October 15th, 2012, 02:15 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi,

Oops, sorry about that. Replace all occurrences of || with &&.

Eric
  #7  
Old October 15th, 2012, 02:29 PM
paulinethomas paulinethomas is offline
 
Join Date: Sep 2012
Posts: 84
Default

That worked,

Thanks very much,
pauline
__________________
ptom
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Stop drip feed? macfink Questions 7 June 11th, 2014 08:34 AM
Any way to stop tag pages from being generated? RockDiesel Questions 5 November 23rd, 2011 08:13 AM
How to stop the same product eihabw Questions 1 July 14th, 2011 08:32 PM


All times are GMT -5. The time now is 01:08 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.