RandomSite for specific Category

Propose here your templates, your plugins or ask one.
All tutorials available for Arfooo Directory are available in this category.

Moderator: effi

RandomSite for specific Category

Postby coolsascha » Mon Feb 16, 2009 12:43 pm

Hello,
ive copied the actions and added in the leftmenu the copied RadomSite tpl. http://www.erotik-weblink.de/
Now I want that at this point it only shows sites with an myhure.de containing the domain!?!?

Ive shown the domain beside the picture..

It only should show Sites like xxx.myhure.de in the domain. How is this possible?

My first problem is the myhure.tpl (i created):
Code: Select all
<table style="width: 100%">
{foreach from=$randomSites value=site}
   <tr>
      <td style="width: 50px">
      <a href="{"/site/details/$site.siteId/%s"|url:$site.siteTitle}" title="{$site.siteTitle}" >
        <img alt="{$site.siteTitle}" src="{$site.imageSrc}" class="myhure_image" />
        </a>
      </td>
      <td>{$site.url|domain}</td>
   </tr>
{/foreach}
</table>


There is no way to like use this:
Code: Select all
<table style="width: 100%">
{foreach from=$randomSites value=site}
{If erigi("myhure.de", {$site.url|domain})}
   <tr>
      <td style="width: 50px">
      <a href="{"/site/details/$site.siteId/%s"|url:$site.siteTitle}" title="{$site.siteTitle}" >
        <img alt="{$site.siteTitle}" src="{$site.imageSrc}" class="myhure_image" />
        </a>
      </td>
      <td>{$site.url|domain}</td>
   </tr>
{/if}
{/foreach}
</table>


what can I do?
coolsascha
 
Posts: 1
Joined: Mon Feb 16, 2009 12:36 pm

Return to Templates, plugins and tutorials

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

 
Copyright © arfooo.net  2007 - 2010  -  All rights reserved.
Arfooo website group: petites annonces gratuites   voyance en direct - tirage tarot   Consultant en référencement
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group | phpBB SEO
cron