vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced Links Directory > vBa Links Directory v1.0 Support > "How Do I..." Questions

Reply
 
Thread Tools Display Modes
  #1  
Old 07-14-2004, 09:22 AM
kittymother kittymother is offline
Member
 
Join Date: Jun 2004
Posts: 73
Default Graphic to show as favorites.

Is there a simple way to add a graphic to indicate the link is in a users favorites? Could the grapic used to indicate that a user is subscribed to a link be easily changed to indicate that it is in their favorites instead? If so, how would I do this?
Reply With Quote
  #2  
Old 07-14-2004, 11:34 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Graphic to show as favorites.

If you look in your 'adv_links_linkbits' template, you'll see the following code:
Code:
<if condition="$show['subscribed']">
			<img alt="" class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" title="$vbphrase[you_are_subscribed_to_this_link]" />
		</if>
If you change "$show['subscribed']" in the <if> condition there to "$links['favid']", then you can just change the phrase to indicate that the link is in the user's favorites.
Reply With Quote
  #3  
Old 07-14-2004, 12:00 PM
kittymother kittymother is offline
Member
 
Join Date: Jun 2004
Posts: 73
Default Re: Graphic to show as favorites.

Thank you very much. This did exactly what I wanted.

I love the way you take time to answer every question and give an answer that someone who doesn't know much, like me, can understand.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

BB 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
Problem adding to favorites from keyword search kittymother Bugs From 1.0 RC2 1 07-12-2004 01:05 PM


All times are GMT -4. The time now is 09:57 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.