Sujet fermé
Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5

[Résolu] Mettre une image par défaut sur CGBlog
#18

jissey a écrit :fait des print_r pour qu'on s'y retrouve, c'est pas clair et ça commence à être trop embrouillé!!
Copie le résultat de ça :
Code :
[== Indéfini ==]
{foreach from=$entry->fields item='field'}
<pre>{$field|print_r}</pre>
{/foreach}
Code :
[== Indéfini ==]
<h2>Nos actualités</h2>


<div class="CGBlogSummary">
<div class="CGBlogSummaryPostdate">
    Le 24 avril 2015
</div>
<div class="CGBlogSummaryLink">
<a href="http://www.arcal.org/index.php?mact=CGBlog,cntnt01,detail,0&amp;cntnt01articleid=5&amp;cntnt01returnid=15" title="News 1 (sans image)">News 1 (sans image)</a>
</div>
<div class="CGBlogSummarySummary">
    <p>Sommaire news 1</p>    </div>
</div>


<div class="CGBlogSummary">
<pre>stdClass Object
(
    [name] => Photo
    [type] => image
    [value] => badauds_sur__la_place30x30cm_.JPG
)
1</pre>
<div class="CGBlogSummaryPostdate">
    Le 24 avril 2015
</div>
<div class="CGBlogSummaryLink">
<a href="http://www.arcal.org/index.php?mact=CGBlog,cntnt01,detail,0&amp;cntnt01articleid=4&amp;cntnt01returnid=15" title="News 2 (avec image badauds.jpg)">News 2 (avec image badauds.jpg)</a>
</div>

<div class="CGBlogSummarySummary">
    <p>Sommaire news 2</p>    </div>
</div>


<div class="CGBlogSummary">
<pre>stdClass Object
(
    [name] => Photo
    [type] => image
    [value] => IMG_0541.JPG
)
1</pre>
<div class="CGBlogSummaryPostdate">
    Le 24 avril 2015
</div>
<div class="CGBlogSummaryLink">
<a href="http://www.arcal.org/index.php?mact=CGBlog,cntnt01,detail,0&amp;cntnt01articleid=2&amp;cntnt01returnid=15" title="News 3 (avec image IMG_0541.jpg)">News 3 (avec image IMG_0541.jpg)</a>
</div>
<div class="CGBlogSummarySummary">
    <p>Sommaire news 3</p>    </div>


</div>

CMSMS 1.6
90plan OVH
Sujet fermé


Messages dans ce sujet

Atteindre :


Utilisateur(s) parcourant ce sujet : 2 visiteur(s)