Tom's Guide > Forum > Programmation > Cutenews pas pour extension

Cutenews pas pour extension

Forum Programmation : Cutenews pas pour extension

TomsGuide.com : 800 000 inscrits répondent à toutes vos questions high-tech et informatique. Pour obtenir de l'aide, inscrivez-vous gratuitement !
Mot :    Pseudo :           
 

Bonjour a tous et a toutes !
J'ai recu la découpe de mon site sur decoupe-fr
Le probleme est que le site est extensible en hauteur donc lorsque je rajoute des news le site s'allonge énormement donc voila c'est assez soulant ...
J'utilise Cutenews
Je voudrais aussi utiliser les pages 1,2,3 etc avec cutenews au lieu de l'extentibilité, enfin si un peu d'extension mais limité s'il vous plait et aussi les dernieres news du haut .
Test crash sur mon site: http://intserver.free.fr

Je voudrais aussi savoir pourquoi lorsque je rajoute des news avec "é" ou lorsque que je mets "à" il met des codes bizarres ... J'ai remplacé le "é" par &eacute et la ca marche et "à" par &agrave .
Donc je voudrais ne pas a avoir tout le temps a taper ces codes dans mes news ...

Merci d'avance et bonne journée .

Liens sponsorisés
Inscrivez-vous ou connectez-vous pour masquer ceci.

Désolé pour le double post mais j'avais l'intention de tout finir aujourd'hui donc je demande votre aide en urgence :
Comment fait on pour qu'il ne soit pas extensible ?

Layout.css

Citation :


/* Header
---------------------------------------------------*/

h1#header { font-size:0}



/* Intro
-----------------------------------------------------------*/
#intro{ background:url(img/intro.jpg) repeat-x; margin:0 1px;height: 100px; position:relative}



/* sidebar
-----------------------------------------------------------*/
#sidebar{float: left; width: 272px; padding:150px 0 20px 5px;}








/* Content
-----------------------------------------------------------*/
#content{ margin: 0 0 0 291px; padding-top:17px}



/* Footer
-----------------------------------------------------------*/
#footer{padding:50px 7px 0;clear: both;color: #555;text-align:center;}



Style.css

Citation :

@import "layout.css";

/* Valeurs par default
-----------------------------------------------------------*/
*{margin: 0; padding: 0; list-style: nonne;}

/* body arriere plan et taille police
-----------------------------------------------------------*/
html{}
body{background:#333;font:63.5% Verdana, Arial, Helvetica, sans-serif;color:#333;}

/* definition des liens
--------------------------------------------------------------*/
a, a:visited { text-decoration: none; color:#3D809B; text-transform:capitalize}
a img {border: 0}
a:hover {color:#ccc;}










/* Contenu de Intro speedbar et search
---------------------------------------------------*/
#intro #speedbar{
margin-right: 290px;
font-size:2em;
padding-top:8px;
}
#intro #speedbar li{
display: inline;
margin:0 30px;
}

#intro #search{
position: absolute;
top: 0;
left: 436px;
width: 260px;
height: 100px;
background:url(img/search.jpg)
}

#intro #search p{
padding: 41px 0 0 41px;
}

#intro #search #q{
width: 145px;
height: 18px;
border: 0;
background: none
}

#intro #search #sub1{
width: 28px;
height: 18px;
border: 0;
margin-left:5px;
background:none
}










/* Contenu de sidebar
---------------------------------------------------*/


#sidebar .box{
width: 130px;
}


#sidebar #leftbox{
float: left;
}


#sidebar #rightbox{
margin-left: 137px;
}


#sidebar h2{
height: 16px;
text-transform: capitalize;
color: #000;
line-height:15px;
padding-left:10px;
background:#3D7F97;
font-size:1.1em;
}


#sidebar ul{
line-height:17px;
font-size:1.1em;
padding:5px 0 20px;
height: auto! important;
height: 150px;
min-height:150px;
}

#sidebar ul li{
padding:0 5px 0 10px;
}


#sidebar ul li a{
color: #333;
}


#sidebar #partenaires{
padding: 60px 0;
}






/* Contenu de content
--------------------------------------------------------------------------------------------------------*/
#content .news{ margin:0 0 40px; font-size:1.1em;}
#content .news .p2{ text-align:right; padding:10px 20px 5px; line-height:22px;font-variant:small-caps; font-size:0.8em}
#content .news h3{padding: 0;font-size:0; margin-bottom:15px;}
#content .news h3#hnews{padding: 0 0 0 42px;font-size:0; margin-bottom:5px;}
#content .news ul#ulnews{padding: 0 10px 20px 42px; font-size:0.9em;}
#content .news ul#ulnews a{margin-left: 6px;}

#content .news .p1 {padding:3px 20px 3px 0;font-size: 0.9em;line-height:16px;}
#content .news .p1 a{ font-size:0.9em;}
#content .news .p1 .avatar{float: left; margin: 0 10px 10px 0}
#content #breadcrumb {font-size:1em;font-weight:bold; text-align:center; padding: 25px 15px 4px; color: #990000;}
#content #breadcrumb a{margin: 0 3px; color: #990000;}



/* Contenu de footer
--------------------------------------------------------------------------------------------------------*/
#footer p{ padding:5px; color:#3D809B; font-weight:bold}
#footer a{color:#222} #footer a:hover, #sidebar ul li a:hover{color: #3D809B}


Répondre à jeyanthan

Voila le template trouvé sur la page admin:

Active News:

Citation :

{title}
{avatar}
{short-story}
{full-story}
{author}
{author-name}
[mail] and [/mail]
{date}
[link] and [/link]
[full-link] and [/full-link]
[com-link] and [/com-link]
{comments-num}
{category}
{category-icon} - Title of the article
- Show Avatar image (if any)
- Short story of news item
- The full story
- Author of the article, with link to his email (if any)
- The name of the author, without email
- Will generate a link to the author mail (if any) eg. [mail]Email[/mail]
- Date when the story is written
- Will generate a permanent link to the full story
- Link to the full story of article, only if there is full story
- Generate link to the comments of article
- This will display the number of comments posted for article
- Name of the category where article is posted (if any)
- Shows the category icon (if any)

<div style="width:420px; margin-bottom:30px;">
<div><strong>{title}</strong></div>
<div style="float:left;">{avatar}</div>
<div style="text-align:justify; padding:3px; margin-top:3px; margin-bottom:5px; border-top:1px solid #D3D3D3;">{short-story}</div>

<div style="float: right;">[full-link]Read more •[/full-link] [com-link]{comments-num} Commentaires[/com-link]</div>

<div><em>Posté le {date} par {author}</em></div>
</div>



Full Story:

Citation :


{title}
{avatar}
{full-story}
{short-story}
{author}
{author-name}
[mail] and [/mail]
{date}
{comments-num}
{category}
{category-icon} - Title of the article
- Show Avatar image (if any)
- The full story
- Short story of news item
- Author of the article, with link to his email (if any)
- The name of the author, without email
- Will generate a link to the author mail (if any) eg. [mail]Email[/mail]
- Date when the story is written
- This will display the number of comments posted for article
- Name of the category where article is posted (if any)
- Shows the category icon (if any)

<div style="width:420px; margin-bottom:15px;">
<div><strong>{title}</strong></div>

<div style="text-align:justify; padding:3px; margin-top:3px; margin-bottom:5px; border-top:1px solid #D3D3D3;">{full-story}</div>

<div style="float: right;">{comments-num} Commentaires</div>

<div><em>Posté le {date} par {author}</em></div>
</div>



Comment:

Citation :

{author}
{mail}
{date}
{comment}
{comment-iteration} - Name of the comment poster
- E-mail of the poster
- Date when the comment was posted
- The Comment
- Show the sequential number of individual comment
<div style="width: 400px; margin-bottom:20px;">

<div style="border-bottom:1px solid black;"> Par <strong>{author}</strong> @ {date}</div>

<div style="padding:2px; background-color:#F9F9F9">{comment}</div>

</div>




Add Comment form

Citation :

Please do not edit this unless you have basic HTML knowledge !!!
<table border="0" width="370" cellspacing="0" cellpadding="0">
<tr>
<td width="60">Name:</td>
<td><input type="text" name="name"></td>
</tr>
<tr>
<td>E-mail:</td>
<td><input type="text" name="mail"> (optional)</td>
</tr>
<tr>
<td>Smile:</td>
<td>{smilies}</td>
</tr>
<tr>
<td colspan="2">
<textarea cols="40" rows="6" id=commentsbox name="comments"></textarea><br />
<input type="submit" name="submit" value="Add My Comment">
<input type=checkbox name=CNremember id=CNremember value=1><label for=CNremember> Se souvenir de moi</label>
<a href="javascript:CNforget();">M'oublier</a>
</td>
</tr>
</table>



News Pagination:

Citation :

[prev-link] and [/prev-link]
[next-link] and [/next-link]
{pages}
- Will generate a link to preveous page (if there is)
- Will generate a link to next page (if there is)
- Shows linked numbers of the pages; example: 1 2 3 4
<p align="center">[prev-link]<< Précedent[/prev-link] {pages} [next-link]Suivante >>[/next-link]</p>



Comments Pagination:

Citation :

[prev-link] and [/prev-link]
[next-link] and [/next-link]
{pages}
- Will generate a link to preveous page (if there is)
- Will generate a link to next page (if there is)
- Shows linked numbers of the pages; example: 1 2 3 4
<p align="center">[prev-link]<< Les plus vieilles[/prev-link] ({pages}) [next-link] Les récentes >>[/next-link]</p>



Message édité par jeyanthan le 09-12-2007 à 09:45:25
Répondre à jeyanthan
Tom's Guide > Forum > Programmation > Cutenews pas pour extension
Aller à :

Il y a 2619 utilisateurs connus et inconnus. Pour voir la liste des connectés connus, cliquez ici.

Attention

Vous allez répondre sur un sujet resté inactif pendant plus de 6 mois.
Assurez-vous d'apporter des éléments nouveaux à la discussion avant de poursuivre.

Répondre Annuler
Liens