[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4363: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3542)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3542)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3542)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4367: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3542)
rendre vignettes cliquables dans fiche site

rendre vignettes cliquables dans fiche site

Trouvez ici tout l'aide dont vous avez besoin concernant le script d'annuaire Arfooo.
Merci de reporter les éventuels bugs trouvés.

rendre vignettes cliquables dans fiche site

Messagede yogidan » Ven 28 Oct 2011 11:15

Bonjour,

1. je voudrais que l'image présente dans la fiche d'un site soit cliquable, pouvez vous m'aider please ?

2. J'aimerai également afficher des images de tailles + grandes, j'ai modifié la taille dans Configuration/Adresse du service de génération de thumbs (URL) , mais les images restent de petites tailles.

3. Dans la fiche du site, il y a une ligne url, l'adresse du site n'est pas cliquable à cet endroit, je souhaiterai qu'elle soit cliquable, on doit pouvoir modifier ça ?

4. et dernière question... dans la fiche du site, est il possible de supprimer la ligne hits, et la ligne note ?

J'espère que quelqu'un aura la gentillesse de prendre quelques minutes pour m'aider... :)

Bonne journée à tous et merci Arfoo !

Mon annuaire est ici:


Daniel
yogidan
 
Messages: 9
Inscription: Dim 23 Oct 2011 16:04


Re: rendre vignettes cliquables dans fiche site

Messagede Angra-Mainyu » Sam 29 Oct 2011 05:31

Angra-Mainyu
 
Messages: 455
Inscription: Dim 14 Sep 2008 23:37

Re: rendre vignettes cliquables dans fiche site

Messagede light01 » Sam 29 Oct 2011 16:54

Bonjour yogidan :)
--
light01
 
Messages: 15
Inscription: Lun 22 Aoû 2011 15:49

Re: rendre vignettes cliquables dans fiche site

Messagede yogidan » Dim 30 Oct 2011 10:37

Merci pour cette réponse ! :)

Donc,

A propos de rendre l'image cliquable dans la fiche du site:
en faisant la modif ci dessus,
quand je suis sur ma page d'aacueil et que je clique sur un site pour le tester,
sa fiche ne s'ouvre pas et j'ai ce message d'erreur:
Parse error: syntax error, unexpected T_ENDIF in /home/danieljo/public_html/equilibre-zen/annuaire-zen/components/template_lite/class.template.php(535) : eval()'d code on line 217

pour l'url cliquable, en faisant le changement indiqué ci dessus,
l'url est bien cliquable, mais ne redirige pas vers le site, (alors que le lien de base arfoo fonctionne,
le message d'erreur est:
Erreur, Page inaccessible ...
La page que vous avez désirez atteindre n'existe pas (ou plus). Excusez-nous pour la gêne occasionnée ...


Pour supprimer les hits et notes dnas la fiche du site,
j'ai essayé de faire la modif et j'ai cetter erreur de code:

Parse error: syntax error, unexpected $end in /home/danieljo/public_html/equilibre-zen/annuaire-zen/components/template_lite/class.template.php(535) : eval()'d code on line 359

Mais pour cette dernière partie, je n'ai pas trouvé exactement le code indiqué,
pour info voici mon code du fichier details.tpl sans aucune des modifs ci dessus,
car ça n'a pas fonctionné comme espéré... :

{capture assign="headData"}
<link href="{"/templates/$templateName/jquery/colorbox/colorbox.css"|resurl}" rel="stylesheet" type="text/css" />
<link href="{"/templates/$templateName/jquery/theme/ui.all.css"|resurl}" rel="stylesheet" type="text/css" />
<link href="{"/templates/$templateName/jquery/jquery-rating/jquery.rating.css"|resurl}" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="{'/javascript/jquery/jquery.captchaCode.js'|resurl}"></script>
<script type="text/javascript" src="{'/javascript/jquery/jquery.livequery.js'|resurl}"></script>
<script type="text/javascript" src="{'/javascript/jquery/jquery-validate/jquery.validate.js'|resurl}"></script>
<script type="text/javascript" src="{'/javascript/jquery/jquery-ui.js'|resurl}"></script>
<script type="text/javascript" src="{'/javascript/jquery/jquery.popup.js'|resurl}"></script>
<script type="text/javascript" src="{'/javascript/jquery/colorbox/jquery.colorbox.js'|resurl}"></script>
<script type="text/javascript" src="{'/javascript/jquery/jquery.form.js'|resurl}"></script>
<script type="text/javascript" src="{'/javascript/jquery/jquery.formTool.js'|resurl}"></script>
<script type="text/javascript" src="{'/javascript/jquery/jquery-rating/jquery.rating.js'|resurl}"></script>
<script type="text/javascript" src="{'/javascript/site/detailsOnLoad.js'|resurl}"></script>
<script type="text/javascript" src="{'/javascript/site/visitSite.js'|resurl}"></script>
<script type="text/javascript">
{if isset($ajaxGoogleDetails)}setting.retrieveGoogleDetailsSiteId = {$site.siteId};
{/if}
setting.categoryId = {$site.categoryId};
</script>
{/capture}

{include file="includes/header.tpl" title=$site.siteTitle includeSearchEngine=true}

<div class="show_arbo">
<a href="{$setting.siteRootUrl}" class="link_showarbo">{'show_arbo_directory'|lang}</a> &gt;
{foreach from=$site.categoryParents value=categoryParent}
<a href="{$categoryParent|objurl:'category'}" class="link_showarbo">{if !empty($categoryParent.navigationName)}{$categoryParent.navigationName}{else}{$categoryParent.name}{/if}</a> &gt;
{/foreach}
<a href="{$site|objurl:'siteDetails'}" class="link_showarbo">{$site.siteTitle}</a>
</div>

{displayAd place="overInformationOfWebsite"}

<div class="title_h">
<h1>{$site.siteTitle}</h1>
{if $setting.rssSitesEnabled && isset($display.siteRssHref)}
<a href="{$display.siteRssHref}" ><img src="{"/templates/$templateName/images/rss.gif"|resurl}" class="rss_image" alt="{'siteDetails_rss'|lang} {$site.siteTitle}" /></a>
{/if}
</div>

<div class="column_in">

<div id="column_in_details">
{if $site.htmlModeEnabled}
{$site.description|htmlspecialchars_decode|nl2br}
{else}
{$site.description|nl2br}
{/if}

<br /><br />

{if $site.url}
{'siteDetails_see_sentence'|lang} <a href="{$site.url}" title="{$site.siteTitle}" class="link_black_blue_b_u" target="_blank" onclick="return visitSite({$site.siteId})">{$site.siteTitle}</a>{'siteDetails_categorie'|lang}
{assign var="lastCategory" value=$site.categoryParents|@array_slice:-1}
{foreach from=$lastCategory value=category} <a href="{$category|objurl:'category'}" class="link_black_grey">{$category.name}</a> {/foreach}
<br /><br />
{/if}

{if $setting.keywordsEnabled && !empty($site.keywords)}
{'siteDetails_keyword_sentence'|lang} {assign var="counter" value=$site.keywords|@count}
{foreach from=$site.keywords value=keyword}
{ math equation="x - 1" x=$counter assign="counter" }
<a href="{$keyword|objurl:'keyword'}" title="{$keyword.keyword}" class="link_black_grey">{$keyword.keyword}</a>{if $counter > 0}, {/if}
{/foreach}
<br /><br />
{/if}

{if $setting.countryFlagsEnabled && $site.countryCode}
<div class="form_details">
<label class="title_details">{'siteDetails_language'|lang}</label>
<div class="infos_details"><img src="{"/templates/$templateName/images/flags/$site.countryCode"|resurl}.png" alt="{$site.countryCode}" class="flag_image_details" /></div>
</div>
{/if}

{if $site.url}
<div class="form_details">
<label class="title_details">{'siteDetails_url'|lang}</label>
<div class="infos_details"><span class="text_characters_orange">{$site.url|domain}</span></div>
</div>
{/if}

{if $site.returnBond != ''}
<div class="form_details">
<label class="title_details">{'siteDetails_backlink'|lang}</label>
<div class="infos_details"><a href="{$site.returnBond}" title="{$site.returnBond}" class="link_black_grey" target="_blank">{$site.returnBond}</a></div>
</div>
{/if}

<div class="form_details">
<label class="title_details">{'siteDetails_hits'|lang}</label>
<div class="infos_details">{$site.visitsCount}</div>
</div>

<div class="form_details">
<label class="title_details">{'siteDetails_rate'|lang}</label>
<div class="infos_details">
<div class="column_in_comment_in_right">
{assign var='roundedVotesAverage' value=$site.votesAverage|round}
{for start=1 stop=6 step=1 value=i}
<input name="starmain" type="radio" value="{$i}" class="star" disabled="disabled" {if $roundedVotesAverage == $i}checked="checked"{/if}/>
{/for}
</div>
<div class="column_in_comment_in_right">
{$site.votesAverage}/5 {'siteDetails_for'|lang} {$site.votesCount} {'siteDetails__rate'|lang}
</div>
</div>
</div>

{if $setting.commentsEnabled}
<div class="form_details">
<label class="title_details">{'siteDetails_comments'|lang}</label>
<div class="infos_details">{$site.commentsCount}</div>
</div>
{/if}

<div class="form_details">
<label class="title_details">{'siteDetails_validation_date'|lang}</label>
<div class="infos_details">{$site.creationDate|strtotime|date:$setting.dateFormat}</div>
</div>

{if !empty($site.extraFields)}
{foreach from=$site.extraFields value=extraField}
{if $extraField.label || $extraField.value}
<div class="form_details">
<label class="title_details">{$extraField.name}</label>
<div class="infos_details">
{switch from=$extraField.type}
{case value="text"}
{$extraField.value}
{case value="textarea"}
{$extraField.value}
{case value="range"}
{$extraField.value}
{case value="select"}
{$extraField.label}
{case value="radio"}
{$extraField.label}
{case value="checkbox"}
{foreach from=$extraField.label value=extraFieldLabel name="loop"}{if $templatelite.foreach.loop.iteration == 1}{$extraFieldLabel}{else}, {$extraFieldLabel}{/if}{/foreach}
{case value="url"}
<a href="{$extraField.value.url}"{if !empty($extraField.config.nofollow)} rel="nofollow"{/if}>{if !empty($extraField.config.anchor) && !empty($extraField.value.anchor)}{$extraField.value.anchor}{else}{$extraField.value.url}{/if}</a>
{case value="file"}
<a href="{"/uploads/files/$extraField.value.fileSrc"|resurl}" target="_blank">{$extraField.value.title}</a>
{/switch}
{if $extraField.suffix}
{$extraField.suffix}
{/if}
</div>
</div>
{/if}
{/foreach}
{/if}

</div>


<div id="column_in_right_details">

{if $setting.sitesImages && empty($site.photos)}
<img src="{$site.imageSrc}" alt="{$site.siteTitle}" class="website_image" />
{/if}

{if !empty($site.photos)}
{foreach from=$site.photos value=photo}
<a href="{$photo.src|realImgSrc:'gallery':'normal':$photo.altText}" rel="galleryPhotos" style="display:none;" id="mediumImageLink{$photo.photoId}"><img src="{$photo.src|realImgSrc:'gallery':'medium'}" alt="{$photo.altText}" class="mediumImage" /></a>
{/foreach}

{foreach from=$site.photos value=photo}
<img src="{$photo.src|realImgSrc:'gallery':'nano'}" photoId="{$photo.photoId}" mediumSrc="{$photo.src|realImgSrc:'gallery':'medium'}" normalSrc="{$photo.src|realImgSrc:'gallery':'normal'}" alt="" class="nanoImage" />
{/foreach}
{/if}

<div class="menudetails">
<ul>
<li id="header_interaction">{'siteDetails_interaction'|lang}</li>
<li id="warn"><a href="{"/contact/problemPopup/$site.siteId"|url}" class="link_black_grey_underline dialog" rel="nofollow" title="{'siteDetails_report_problem'|lang}" id="problemPopupLink">{'siteDetails_report_problem'|lang}</a></li>
{if $setting.commentsEnabled}
<li id="comment_rating"><a href="{"/comment/popup/$site.siteId"|url}" class="link_black_grey_underline dialog" rel="nofollow" title="{'siteDetails_write_comment'|lang} / {'siteDetails_rate_website'|lang}" id="commentPopupLink">{'siteDetails_write_comment'|lang} / {'siteDetails_rate_website'|lang}</a></li>
{/if}
{if $site.searchPartnership}
<li id="contact"><a href="{"/contact/contactPopup/$site.siteId"|url}" class="dialog" rel="nofollow" title="{'siteDetails_contact_webmaster'|lang}" id="contactAdvertiserLink">{'siteDetails_contact_webmaster'|lang}</a></li>
{/if}
{if $site.url}
{if $setting.showingPagerankEnabled || $setting.showingBacklinksCountEnabled ||$setting.showingIndexedPagesCountEnabled}
<li id="header_info_google">{'siteDetails_google_infos'|lang}</li>
{if $setting.showingPagerankEnabled}
<li class="text">{'siteDetails_pagerank'|lang} <span id="pageRank"> {if isset($site.pageRank) && empty($ajaxGoogleDetails)}
<img src="{"/templates/$templateName/images/pagerank/pr"|resurl}{$site.pageRank}.gif" alt="{'siteDetails_pagerank'|lang} {$site.pageRank}" />{else}{'siteDetails_loading'|lang}{/if}</span></li>{/if}
{if $setting.showingBacklinksCountEnabled}
<li class="text">{'siteDetails_number_backlinks'|lang} <span id="backlinksCount">{if isset($site.backlinksCount)}{$site.backlinksCount}{else}{'siteDetails_loading'|lang}{/if}</span></li>{/if}
{if $setting.showingIndexedPagesCountEnabled}
<li class="text">{'siteDetails_number_indexed_pages'|lang} <span id="indexedPagesCount"> {if isset($site.indexedPagesCount)}{$site.indexedPagesCount}{else}{'siteDetails_loading'|lang}{/if}</span></li>{/if}
{/if}
{/if}
</ul>
</div>

</div>


{displayAd place="underInformationOfWebsite"}

{displayAd place="underInformationGoogle"}
</div>

{if $setting.remoteRssParsingEnabled && ($site.rssFeedOfSite != '' && $site.rssTitle != '')}
<div class="title_h_2">
<h2>{'siteDetails_rss_feed'|lang} {$site.siteTitle}: <a href="{$site.rssFeedOfSite}" title="{$site.rssTitle}" class="link_black_blue_b_u">{$site.rssTitle}</a></h2>
</div>
<div class="column_in">
{if !empty($remoteRss)}
{foreach from=$remoteRss.items value=item}
<a href="{$item.link}" class="link_black_blue_b_u" target="_blank">{$item.title|truncate:$setting.numberOfCharactersForRssParsing}</a><br />
{if isset($item.description)}{$item.description|truncate:$setting.numberOfCharactersForRssParsing}<br />{/if}<br />
{/foreach}
{/if}
</div>
{/if}

{displayAd place="underInformationFluxRss"}

{if $setting.companyInfoEnabled && ($site.address != '' || $site.zipCode != '' || $site.city != '' || $site.country != '' || $site.phoneNumber != '' || $site.faxNumber)}
<div class="title_h_2">
<h2>{'siteDetails_company_information'|lang}: {$site.siteTitle}</h2>
</div>
<div class="column_in">

{if $site.address != ''}
<div class="form_details">
<label class="title_details">{'siteDetails_adress'|lang}</label>
<div class="infos_details">{$site.address}</div>
</div>
{/if}

{if $site.zipCode != ''}
<div class="form_details">
<label class="title_details">{'siteDetails_postal_code'|lang}</label>
<div class="infos_details">{$site.zipCode}</div>
</div>
{/if}

{if $site.city != ''}
<div class="form_details">
<label class="title_details">{'siteDetails_city'|lang}</label>
<div class="infos_details">{$site.city}</div>
</div>
{/if}

{if $site.country != ''}
<div class="form_details">
<label class="title_details">{'siteDetails_country'|lang}</label>
<div class="infos_details">{$site.country}</div>
</div>
{/if}

{if $site.phoneNumber != ''}
<div class="form_details">
<label class="title_details">{'siteDetails_phone_number'|lang}</label>
<div class="infos_details">{$site.phoneNumber}</div>
</div>
{/if}

{if $site.faxNumber != ''}
<div class="form_details">
<label class="title_details">{'siteDetails_fax_number'|lang}</label>
<div class="infos_details">{$site.faxNumber}</div>
</div>
{/if}

{if !empty($googleMap)}
<div id="map">
{$googleMap|htmlspecialchars_decode}
</div>
{/if}
</div>
{displayAd place="underInformationCompany"}
{/if}

{if !empty($site.comments)}
<div class="title_h_2" id="commentPost">
<h2>{'siteDetails_comments'|lang}: {$site.siteTitle}</h2>
</div>
<div class="column_in">
<!-- Comment Item -->
{foreach from=$site.comments value=comment}
<div class="column_in_comment{cycle values='_grey,'}">
<div class="column_in_comment_in">
<div class="column_in_comment_in_left">
{$comment.pseudo} <span class="text_comment">{'siteDetails_wrote_on'|lang}, {$comment.date|strtotime|date:$setting.dateFormat} |
</div>
<div class="column_in_comment_in_right">
{'siteDetails_comment_rate'|lang}
</div>
<div class="column_in_comment_in_right">
{if $comment.rating != ""} {for start=1 stop=6 step=1 value=i}<input name="star-c{$comment.commentId}" type="radio" value="{$i}" class="star" disabled="disabled" {if $comment.rating == $i}checked="checked"{/if}/>{/for} {$comment.rating}{'siteDetails_5'|lang}{else}{'siteDetails_na'|lang}{/if}</span>
</div>
</div>
{$comment.text|nl2br}
</div>
{/foreach}
<!-- END Comment Item -->
</div>
{/if}

{if !empty($site.randomSites)}
<div class="title_h_2">
<h2>{'siteDetails_related_sites'|lang} {$site.siteTitle}</h2>
</div>
<div class="column_in">
{foreach from=$site.randomSites value=randomSite}
<div class="column_in_thematic">
<a href="{$randomSite|objurl:'siteDetails'}" title="{$randomSite.siteTitle}" class="link_black_blue_b_u">{$randomSite.siteTitle}</a><br />
<span class="text_thematic_close">{$randomSite.description|htmlspecialchars_decode|strip_tags|truncate:$setting.randomSitesInDetailsDescriptionLength}</span>
</div>
{/foreach}
</div>
{displayAd place="underThematicCloseWebsite"}
{/if}

{include file="includes/footer.tpl"}





Voilà, merci encore et merci de me donner votre avis.

Pour précison, avant de tester,
j'ai vidé le cache, j'ai ajouté un site et fais la mise à jour du site annuaire et fais chaque manip une à une séparément.

A bientôt, i hope :)

Daniel
Dernière édition par yogidan le Dim 30 Oct 2011 10:39, édité 2 fois.
yogidan
 
Messages: 9
Inscription: Dim 23 Oct 2011 16:04

Re: rendre vignettes cliquables dans fiche site

Messagede yogidan » Dim 30 Oct 2011 10:38

yogidan
 
Messages: 9
Inscription: Dim 23 Oct 2011 16:04


Retourner vers Installation, aide et report de bugs

 


  • Articles en relation
    Réponses
    Vus
    Dernier message

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 0 invités

 
Copyright © arfooo.com  2007 - 2011  -  Tous droits réservés  -  Partenaires de confiance
Sites du groupe: petites annonces gratuites   voyance en direct - tirage tarot   Consultant en référencement
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group | phpBB SEO Traduction par: phpBB-fr.com
cron