Home

Search result for tags
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Search result for tags
#26241
Search result for tags 1 Month ago Karma: 0
Hi I would like to display search results for the video tags on search.tpl (olderversion)

this is as far as I have got (not working)... not sure how the tags are referenced,
Code:

<h5 class="header">{$smarty.const._HWDVIDS_TITLE_VIDMATCHING} "{$searchterm}"</h5>
<div class="videosearch">
  {if $print_matchvids}
    {foreach name=outer item=data from=$matchingvids}
      {include file='video_list.tpl'}
    {/foreach}
  {else}
    <div class="padding">{$mvempty}</div>
  {/if}
</div>
{$vpageNavigation}
<h5 class="header">{$smarty.const._HWDVIDS_TITLE_GROUPMATCHING} "{$searchterm}"</h5>
<div class="groupsearch">
  {if $print_matchgrps}
    {foreach name=outer item=data from=$matchinggroups}
      {include file='group_list.tpl'}
    {/foreach}
  {else}
    <div class="padding">{$mgempty}</div>
  {/if}
</div>
{$gpageNavigation}


I want to show tag search results here
Code:


<h5 class="header">{$smarty.const._HWDVIDS_TITLE_VTAGSMATCHING} "{$searchterm}"</h5>
<div class="groupsearch">
  {if $print_matchvtags}
    {foreach name=outer item=data from=$matchingvtags}
      {include file='video_list.tpl'}
    {/foreach}
  {else}
    <div class="padding">{$mgempty}</div>
  {/if}
</div>
{$gpageNavigation}


cheers
richiebee
Gold Boarder
Posts: 205
graphgraph
User Offline Click here to see the profile of this user
Gender: Male
Last Edit: 2010/02/06 08:16 By richiebee.
The topic has been locked.
 
#26305
Re:Search result for tags 1 Month ago Karma: 150
I'm sorry, but I don't understand what you are trying to do.

You are using a set of template variables that don't exist. Unless you have defined these in the source code, they won't work.
Davros
Administrator
Posts: 10790
graph
User Offline Click here to see the profile of this user
The topic has been locked.
If you like hwdVideoShare please consider rating it in the Joomla Extensions Directory
 
#26335
Re:Search result for tags 1 Month ago Karma: 0
O.K.

what are is the variables for the video tags - That are entered when a video is uploaded
(that I can then show matching results on the search results page?)
at the moment when I enter the a word into the search it is not giving any tag results as it is only showing videos and groups, I am trying to make it so videos with tags that match the search show as well...

cheers,
richiebee
Gold Boarder
Posts: 205
graphgraph
User Offline Click here to see the profile of this user
Gender: Male
The topic has been locked.
 
#26345
Re:Search result for tags 1 Month ago Karma: 150
I am trying to make it so videos with tags that match the search show as well...Well, thats what already happens. You enter a search term, teh software searches for all videos and groups that are related, and displays them in order of relevancy.

To find matching videos it will search the title, description and tags.
Davros
Administrator
Posts: 10790
graph
User Offline Click here to see the profile of this user
The topic has been locked.
If you like hwdVideoShare please consider rating it in the Joomla Extensions Directory
 
#26389
Re:Search result for tags 1 Month ago Karma: 0
Thanks for the response,

however the tags results aren't showing when I test it,
what could be wrong I am using mod_hwd_vs_search?

cheers
richiebee
Gold Boarder
Posts: 205
graphgraph
User Offline Click here to see the profile of this user
Gender: Male
The topic has been locked.
 
#26413
Re:Search result for tags 1 Month ago Karma: 150
however the tags results aren't showing when I test itDo results show when you are using the search from the component?

How many videos do you have in your gallery?
Davros
Administrator
Posts: 10790
graph
User Offline Click here to see the profile of this user
The topic has been locked.
If you like hwdVideoShare please consider rating it in the Joomla Extensions Directory
 
#26569
Re:Search result for tags 4 Weeks ago Karma: 0
I only have 15 videos in this gallery,
I tested it with my other site and it worked...
so I guess the answer is there!
richiebee
Gold Boarder
Posts: 205
graphgraph
User Offline Click here to see the profile of this user
Gender: Male
The topic has been locked.
 
Go to topPage: 12
get the latest posts directly to your desktop

Copyright © 2007-2010 Highwood Design | Your Details | Terms of Use | About