• Pagina 1 din 1
  • 1
Comunitatea uCoz » Configurări ale sistemului uCoz » Configurarea design-ului » Trimite unui prieten (Buton)
Trimite unui prieten
marius15
Postări: 265
Reputație: 9
Mesaj # 1 | 6:25 PM
Salutare tuturor .
Am vazut pe diferite site-uri un buton numit Trimite unui prieten ,si as dori sa stiu daca pe site-urile noastre se poate face acest lucru .
As fi vrut daca se poate face in asa fel incat langa fiecare film sa apara acet buton undeva in zona marcata in imaginea urmatoare :

Sa fie un buton sau daca se poate am vazut pe un alt site acest gen de butoane care apar langa descrierea fiecarui film :
.
Daca se poate face acest lucru ,va rog frumos sa imi ziceti si mie un cod sau script care poate face asta si va rog mult sa imi ziceti unde trebuie aplicat pentru ca sa apara astfel .
Site-ul unde am vazut unul dintre exemple este AICI

ArtyRo
Postări: 3502
Reputație: 140
Mesaj # 2 | 6:40 PM
marius15
Postări: 265
Reputație: 9
Mesaj # 3 | 7:02 PM
Mersi mult Musatinu ,am rezolvat am codul care arata cam asa:

Code
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_preferred_4"></a>
<a class="addthis_button_compact"></a>
<a class="addthis_counter addthis_bubble_style"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4f1ad1fb3f311e59"></script>
<!-- AddThis Button END -->

As vrea sa stiu daca la acest cod trebuie modificat ceva si unde trebuie sa il aplic ca sa nu stric nimic in modulul filmelor.
Pagina mea arata astfel FILME

Devil
Postări: 1235
Reputație: 54
Mesaj # 4 | 8:31 PM
marius15, codul il pui in "Page with full entry text and associated comments" la modulul File catalog. Codul il pui unde vrei sa apara
marius15
Postări: 265
Reputație: 9
Mesaj # 5 | 8:55 PM
Quote (Devil)
marius15, codul il pui in "Page with full entry text and associated comments" la modulul File catalog. Codul il pui unde vrei sa apara

Am inteles oarecum ,insa imi este teama sa nu stric ceva si as dori daca ma poti ajuta sa pun acel cod despre care vorbeam ,exact deasupra casutei de comentarii.
Am intrat acolo unde ai spus tu DEVIL si am urmatorul cod acolo

Code
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">

<title>$ENTRY_TITLE$ - $CAT_NAME$ <?if($SECTION_NAME$)?>- $SECTION_NAME$<?endif?> - $MODULE_NAME$ - $SITE_NAME$</title>
<?$META_DESCRIPTION$?>
<link type="text/css" rel="StyleSheet" href="/_st/my.css" />
</head>

<body style="background:url('/.s/t/431/1.jpg') #000000; margin:0px; padding:0px;">
$ADMIN_BAR$
$GLOBAL_AHEADER$

<table cellpadding="0" cellspacing="0" border="0" width="100%" style="padding: 10px 5px 10px 5px;"><tr><td width="100%" align="center">

<!-- <middle> -->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="top" width="217">
$GLOBAL_CLEFTER$
</td>

<td valign="top" style="padding:0px 10px 0px 10px;">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td width="14" height="13"><img src="/.s/t/431/2.jpg" border="0"></td><td height="13" style="background:url('/.s/t/431/3.jpg');"></td><td width="14" height="13"><img src="/.s/t/431/4.jpg" border="0"></td></tr>
<tr><td width="14" style="background:url('/.s/t/431/5.jpg');"></td><td style="background:url('/.s/t/431/6.jpg') #F2E7BA;padding:5px;"><!-- <body> --><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="80%"><a href="$HOME_PAGE_LINK$"><!--<s5176>-->Principală<!--</s>--></a> » <a href="$MODULE_URL$"><!--<s5182>-->Fişiere<!--</s>--></a> <?if($SECTION_NAME$)?>» <a href="$SECTION_URL$">$SECTION_NAME$</a><?endif?> » <a href="$CAT_URL$">$CAT_NAME$</a></td>
<td align="right" style="white-space: nowrap;"><?if($ADD_ENTRY_LINK$)?>[ <a href="$ADD_ENTRY_LINK$"><!--<s5186>-->Adaugă o intrare nouă<!--</s>--></a> ]<?endif?></td>
</tr>
</table>
<hr />
<div class="eTitle" style="padding-bottom:3px;"><?if($MODER_PANEL$)?><div style="float:right">$MODER_PANEL$</div><?endif?>$ENTRY_TITLE$ $VERSION$</div>
<table border="0" width="100%" cellspacing="0" cellpadding="2" class="eBlock">
<tr><td width="85%">
<?if($FILE_URL$ || $RFILE_URL$ || $SCREEN_URL$)?>[ <?if($FILE_URL$)?><a href="$FILE_URL$"><!--<s5223>-->Descarcă de pe server<!--</s>--></a> ($FILE_SIZE$)<?endif?>
<?if($RFILE_URL$)?> · <a href="$RFILE_URL$" target="_blank"><!--<s5224>-->Descarcă de pe sursă<!--</s>--></a> ($RFILE_SIZE$)<?endif?>
<?if($SCREEN_URL$)?> · <a href="$SCREEN_URL$" target="_blank"><!--<s5187>-->Captură ecran<!--</s>--></a><?endif?> ]<?endif?>
</td><td align="right" style="font-size:7pt;white-space: nowrap;">$ADD_DATE$, $ADD_TIME$</td></tr>
<tr><td class="eText" colspan="2">$MESSAGE$</td></tr>
<tr><td class="eDetails1" colspan="2"><?if($RATING$)?><div style="float:right"><?$RSTARS$('12','/.s/img/stars/3/12.png','1','float')?></div>
<?endif?><!--<s3179>-->Categorie<!--</s>-->: <a href="$CAT_URL$">$CAT_NAME$</a><?if($USER$)?> | <!--<s3178>-->Adăugat de<!--</s>-->: <a href="$PROFILE_URL$">$USER$</a><?endif?>
<?if($TAGS$)?> | <!--<s5308>-->Tag-uri<!--</s>-->: $TAGS$<?endif?>
</td></tr>
<tr><td class="eDetails2" colspan="2"><!--<s3177>-->Vizualizări<!--</s>-->: <b>$READS$</b> | <!--<s3181>-->Descărcări<!--</s>-->: <b>$LOADS$</b>
<?if($COMMENTS_NUM$)?>| <!--<s3039>-->Comentarii<!--</s>-->: <b>$COMMENTS_NUM$</b><?endif?>
<?if($RATING$)?>| <!--<s3119>-->Rating<!--</s>-->: <b><span id="entRating$ID$">$RATING$</span></b>/<b><span id="entRated$ID$">$RATED$</span></b><?endif?></td></tr>
</table>

<?if($COM_IS_ACTIVE$)?>
<?if($COM_CAN_READ$)?>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td width="60%" height="25"><!--<s5183>-->Total comentarii <!--</s>-->: <b>$COM_NUM_ENTRIES$</b></td><td align="right" height="25">$COM_PAGE_SELECTOR$</td></tr>
<tr><td colspan="2">$COM_BODY$</td></tr>
<tr><td colspan="2" align="center">$COM_PAGE_SELECTOR1$</td></tr>
<tr><td colspan="2" height="10"></td></tr>
</table>
<?endif?>

<?if($COM_CAN_ADD$)?>
$COM_ADD_FORM$
<?else?>
<?if($USER_LOGGED_IN$)?><?else?><div align="center" class="commReg"><!--<s5237>-->Doar utilizatorii înregistraţi pot adăuga comentarii<!--</s>--><br />[ <a href="$REGISTER_LINK$"><!--<s3089>-->Înregistrare<!--</s>--></a> | <a href="$LOGIN_LINK$"><!--<s3087>-->Logare<!--</s>--></a> ]</div><?endif?>
<?endif?>
<?endif?><!-- </body> --></td><td width="14" style="background:url('/.s/t/431/7.jpg');"></td></tr>
<tr><td width="14" height="13"><img src="/.s/t/431/8.jpg" border="0"></td><td height="13" style="background:url('/.s/t/431/9.jpg');"></td><td width="14" height="13"><img src="/.s/t/431/10.jpg" border="0"></td></tr>
</table>
</td>

<td valign="top" width="217">
$GLOBAL_DRIGHTER$
</td>
</tr>
</table>
<!-- </middle> -->

</td></tr></table>

$GLOBAL_BFOOTER$

</body>

</html>


Imi poti spune unde mai exact va trebui sa adaug eu ceea ce ziceam.?

Devil
Postări: 1235
Reputație: 54
Mesaj # 6 | 9:03 PM
marius15, tot codul de acolo il schimbi cu :
Code
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">

<title>$ENTRY_TITLE$ - $CAT_NAME$ <?if($SECTION_NAME$)?>- $SECTION_NAME$<?endif?> - $MODULE_NAME$ - $SITE_NAME$</title>
<?$META_DESCRIPTION$?>
<link type="text/css" rel="StyleSheet" href="/_st/my.css" />
</head>

<body style="background:url('/.s/t/431/1.jpg') #000000; margin:0px; padding:0px;">
$ADMIN_BAR$
$GLOBAL_AHEADER$

<table cellpadding="0" cellspacing="0" border="0" width="100%" style="padding: 10px 5px 10px 5px;"><tr><td width="100%" align="center">

<!-- <middle> -->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="top" width="217">
$GLOBAL_CLEFTER$
</td>

<td valign="top" style="padding:0px 10px 0px 10px;">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td width="14" height="13"><img src="/.s/t/431/2.jpg" border="0"></td><td height="13" style="background:url('/.s/t/431/3.jpg');"></td><td width="14" height="13"><img src="/.s/t/431/4.jpg" border="0"></td></tr>
<tr><td width="14" style="background:url('/.s/t/431/5.jpg');"></td><td style="background:url('/.s/t/431/6.jpg') #F2E7BA;padding:5px;"><!-- <body> --><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="80%"><a href="$HOME_PAGE_LINK$"><!--<s5176>-->Principală<!--</s>--></a> » <a href="$MODULE_URL$"><!--<s5182>-->Fişiere<!--</s>--></a> <?if($SECTION_NAME$)?>» <a href="$SECTION_URL$">$SECTION_NAME$</a><?endif?> » <a href="$CAT_URL$">$CAT_NAME$</a></td>
<td align="right" style="white-space: nowrap;"><?if($ADD_ENTRY_LINK$)?>[ <a href="$ADD_ENTRY_LINK$"><!--<s5186>-->Adaugă o intrare nouă<!--</s>--></a> ]<?endif?></td>
</tr>
</table>
<hr />
<div class="eTitle" style="padding-bottom:3px;"><?if($MODER_PANEL$)?><div style="float:right">$MODER_PANEL$</div><?endif?>$ENTRY_TITLE$ $VERSION$</div>
<table border="0" width="100%" cellspacing="0" cellpadding="2" class="eBlock">
<tr><td width="85%">
<?if($FILE_URL$ || $RFILE_URL$ || $SCREEN_URL$)?>[ <?if($FILE_URL$)?><a href="$FILE_URL$"><!--<s5223>-->Descarcă de pe server<!--</s>--></a> ($FILE_SIZE$)<?endif?>
<?if($RFILE_URL$)?> · <a href="$RFILE_URL$" target="_blank"><!--<s5224>-->Descarcă de pe sursă<!--</s>--></a> ($RFILE_SIZE$)<?endif?>
<?if($SCREEN_URL$)?> · <a href="$SCREEN_URL$" target="_blank"><!--<s5187>-->Captură ecran<!--</s>--></a><?endif?> ]<?endif?>
</td><td align="right" style="font-size:7pt;white-space: nowrap;">$ADD_DATE$, $ADD_TIME$</td></tr>
<tr><td class="eText" colspan="2">$MESSAGE$</td></tr>
<tr><td class="eDetails1" colspan="2"><?if($RATING$)?><div style="float:right"><?$RSTARS$('12','/.s/img/stars/3/12.png','1','float')?></div>
<?endif?><!--<s3179>-->Categorie<!--</s>-->: <a href="$CAT_URL$">$CAT_NAME$</a><?if($USER$)?> | <!--<s3178>-->Adăugat de<!--</s>-->: <a href="$PROFILE_URL$">$USER$</a><?endif?>
<?if($TAGS$)?> | <!--<s5308>-->Tag-uri<!--</s>-->: $TAGS$<?endif?>
</td></tr>
<tr><td class="eDetails2" colspan="2"><!--<s3177>-->Vizualizări<!--</s>-->: <b>$READS$</b> | <!--<s3181>-->Descărcări<!--</s>-->: <b>$LOADS$</b>
<?if($COMMENTS_NUM$)?>| <!--<s3039>-->Comentarii<!--</s>-->: <b>$COMMENTS_NUM$</b><?endif?>
<?if($RATING$)?>| <!--<s3119>-->Rating<!--</s>-->: <b><span id="entRating$ID$">$RATING$</span></b>/<b><span id="entRated$ID$">$RATED$</span></b><?endif?></td></tr>
</table>

<?if($COM_IS_ACTIVE$)?>
<?if($COM_CAN_READ$)?>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td width="60%" height="25"><!--<s5183>-->Total comentarii <!--</s>-->: <b>$COM_NUM_ENTRIES$</b></td><td align="right" height="25">$COM_PAGE_SELECTOR$</td></tr>
<tr><td colspan="2">$COM_BODY$</td></tr>
<tr><td colspan="2" align="center">$COM_PAGE_SELECTOR1$</td></tr>
<tr><td colspan="2" height="10"></td></tr>
</table>
<?endif?>
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_preferred_4"></a>
<a class="addthis_button_compact"></a>
<a class="addthis_counter addthis_bubble_style"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4f1ad1fb3f311e59"></script>
<!-- AddThis Button END -->

<?if($COM_CAN_ADD$)?>
$COM_ADD_FORM$
<?else?>
<?if($USER_LOGGED_IN$)?><?else?><div align="center" class="commReg"><!--<s5237>-->Doar utilizatorii înregistraţi pot adăuga comentarii<!--</s>-->
[ <a href="$REGISTER_LINK$"><!--<s3089>-->Înregistrare<!--</s>--></a> | <a href="$LOGIN_LINK$"><!--<s3087>-->Logare<!--</s>--></a> ]</div><?endif?>
<?endif?>
<?endif?><!-- </body> --></td><td width="14" style="background:url('/.s/t/431/7.jpg');"></td></tr>
<tr><td width="14" height="13"><img src="/.s/t/431/8.jpg" border="0"></td><td height="13" style="background:url('/.s/t/431/9.jpg');"></td><td width="14" height="13"><img src="/.s/t/431/10.jpg" border="0"></td></tr>
</table>
</td>

<td valign="top" width="217">
$GLOBAL_DRIGHTER$
</td>
</tr>
</table>
<!-- </middle> -->

</td></tr></table>

$GLOBAL_BFOOTER$

</body>

</html>

marius15
Postări: 265
Reputație: 9
Mesaj # 7 | 9:14 PM
A functionat ,mersi mult DEVIL
Esti mereu prin zona ,pentru a ne ajuta ,atat tu cat si Musatinu santeti sufletul acestui forum .
Inca odata ,,multumesc .
Avetzi un +1

Comunitatea uCoz » Configurări ale sistemului uCoz » Configurarea design-ului » Trimite unui prieten (Buton)
  • Pagina 1 din 1
  • 1
Căutare: