icone facebook, twitter, imprimantes etc
- failrOn
- Hors Ligne
- Développeur Kunena
Moins
Plus d'informations
- Messages : 5356
- Remerciements reçus 720
13 Mai 2012 21:47 #7
par failrOn
Pourquoi ne pas mettre tout cela un module ? Après on pourrait rajouter une position de module à l'endroit voulu dans Kunena, c'est déjà le cas dans Kunena 2.0
Pour soutenir le projet Kunena : soutenir via le système de sponsor de github
Réponse de failrOn sur le sujet Re: icone facebook, twitter, imprimantes etc
De quel fichier ?dede17 écrit: Bon je suis toujours aussi nul dans les lignes que tu indiques 137 ou 121 je ne trouve pas le même texte que tu donnes, j'ai cherché avec la fonction recherche et ne les retrouve pas, elles sont cachées ou?
Pourquoi ne pas mettre tout cela un module ? Après on pourrait rajouter une position de module à l'endroit voulu dans Kunena, c'est déjà le cas dans Kunena 2.0
Pour soutenir le projet Kunena : soutenir via le système de sponsor de github
Le sujet a été verrouillé.
- dede17
- Hors Ligne
- Modérateur
13 Mai 2012 22:36 #8
par dede17
L'île d'Oléron c'est la mer à la campagne. www.lepecheurresponsable.com
Suivez moi sur Twitter twitter.com/dede17_86
Rejoignez moi sur Facebook www.facebook.com/dede.lepecheurresponsable
Réponse de dede17 sur le sujet Re: icone facebook, twitter, imprimantes etc
Bonsoir Failron
C'est dans le tuto de Lavasteph mais comme il avait été fat pour la 1.5 les numéros de ligne ne correspondent pas au tuto www.aide-joomla.com/tutoriels/administre...egration-sans-plugin et je ne m'y retrouve pas.
Maintenant si on peut le faire avec kunena 2 plus facilement et qu'il ne tarde pas trop j'attendrais peut être
C'est dans le tuto de Lavasteph mais comme il avait été fat pour la 1.5 les numéros de ligne ne correspondent pas au tuto www.aide-joomla.com/tutoriels/administre...egration-sans-plugin et je ne m'y retrouve pas.
Maintenant si on peut le faire avec kunena 2 plus facilement et qu'il ne tarde pas trop j'attendrais peut être
L'île d'Oléron c'est la mer à la campagne. www.lepecheurresponsable.com
Suivez moi sur Twitter twitter.com/dede17_86
Rejoignez moi sur Facebook www.facebook.com/dede.lepecheurresponsable
Le sujet a été verrouillé.
- lavsteph
- Hors Ligne
- Administrateur
- Fondateur
Moins
Plus d'informations
- Messages : 1726
- Remerciements reçus 91
13 Mai 2012 23:01 #9
par lavsteph
Fondateur : Aide-joomla.com
Réponse de lavsteph sur le sujet Re: icone facebook, twitter, imprimantes etc
Bonsoir,
en attendant K2.0
Pour K1.7.2
view.php du répertoire /components/com_kunena/template/default/view
Pour Joomla 2.5.4
Voilà les possibilités d'intégration à adapter selon vos choix, attention le fichiers fournit sont juste à titre indicatif pour vous montrer les positions .
en attendant K2.0
Pour K1.7.2
view.php du répertoire /components/com_kunena/template/default/view
Pour Joomla 2.5.4
Voilà les possibilités d'intégration à adapter selon vos choix, attention le fichiers fournit sont juste à titre indicatif pour vous montrer les positions .
Fondateur : Aide-joomla.com
Le sujet a été verrouillé.
- dede17
- Hors Ligne
- Modérateur
14 Mai 2012 01:06 #10
par dede17
L'île d'Oléron c'est la mer à la campagne. www.lepecheurresponsable.com
Suivez moi sur Twitter twitter.com/dede17_86
Rejoignez moi sur Facebook www.facebook.com/dede.lepecheurresponsable
Réponse de dede17 sur le sujet Re: icone facebook, twitter, imprimantes etc
Une belle erreur 500 en remplaçant le fichier view_mod 1.7 pourtant je l'ai bien mis comme tu as dit. Pas grave on va attendre la version 2
L'île d'Oléron c'est la mer à la campagne. www.lepecheurresponsable.com
Suivez moi sur Twitter twitter.com/dede17_86
Rejoignez moi sur Facebook www.facebook.com/dede.lepecheurresponsable
Le sujet a été verrouillé.
- oli
- Auteur du sujet
- Hors Ligne
- Membre junior
Moins
Plus d'informations
- Messages : 32
- Remerciements reçus 0
21 Jui 2012 09:41 #11
par oli
Réponse de oli sur le sujet Re: icone facebook, twitter, imprimantes etc
Hello,
Suite a quelques problèmes perso, je n'ai pu essayer les modifs avant,
Étant a l’arrêt, je ne que cela a faire..
J'ai donc créer un forum test, a l'identique de l’existant!
J'ai suivi le tuto, mais cela na rien donné
je vous joint les codes
fichier default
l'autre le fichier default_item.php
J'ai également créer comme cité dans le tuto un doc social que j'ai mis dans la racine du ftp
j'ai fais quoi de mal?
merci
Suite a quelques problèmes perso, je n'ai pu essayer les modifs avant,
Étant a l’arrêt, je ne que cela a faire..
J'ai donc créer un forum test, a l'identique de l’existant!
J'ai suivi le tuto, mais cela na rien donné
je vous joint les codes
fichier default
Code:
<?php // no direct access
defined('_JEXEC') or die('Restricted access');
$canEdit = ($this->user->authorize('com_content', 'edit', 'content', 'all') || $this->user->authorize('com_content', 'edit', 'content', 'own'));
?>
<?php if ($this->params->get('show_page_title', 1) && $this->params->get('page_title') != $this->article->title) : ?>
<div class="componentheading<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
<?php echo $this->escape($this->params->get('page_title')); ?>
</div>
<?php endif; ?>
<?php if ($canEdit || $this->params->get('show_title') || $this->params->get('show_pdf_icon') || $this->params->get('show_print_icon') || $this->params->get('show_email_icon')) : ?>
<table class="contentpaneopen<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
<tr>
<?php if ($this->params->get('show_title')) : ?>
<td class="contentheading<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>" width="100%">
<?php if ($this->params->get('link_titles') && $this->article->readmore_link != '') : ?>
<a href="<?php echo $this->article->readmore_link; ?>" class="contentpagetitle<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
<?php echo $this->escape($this->article->title); ?></a>
<?php else : ?>
<?php echo $this->escape($this->article->title); ?>
<?php endif; ?>
</td>
<?php endif; ?>
<?php if (!$this->print) : ?>
<?php if ($this->params->get('show_pdf_icon')) : ?>
<td align="right" width="100%" class="buttonheading">
<?php echo JHTML::_('icon.pdf', $this->article, $this->params, $this->access); ?>
</td>
<?php endif; ?>
<?php if ( $this->params->get( 'show_print_icon' )) : ?>
<td align="right" width="100%" class="buttonheading">
<?php echo JHTML::_('icon.print_popup', $this->article, $this->params, $this->access); ?>
</td>
<?php endif; ?>
<?php if ($this->params->get('show_email_icon')) : ?>
<td align="right" width="100%" class="buttonheading">
<?php echo JHTML::_('icon.email', $this->article, $this->params, $this->access); ?>
</td>
<?php endif; ?>
<?php if ($canEdit) : ?>
<td align="right" width="100%" class="buttonheading">
<?php echo JHTML::_('icon.edit', $this->article, $this->params, $this->access); ?>
</td>
<?php endif; ?>
<?php else : ?>
<td align="right" width="100%" class="buttonheading">
<?php echo JHTML::_('icon.print_screen', $this->article, $this->params, $this->access); ?>
</td>
<?php endif; ?>
</tr>
</table>
<?php endif; ?>
<?php if (!$this->params->get('show_intro')) :
echo $this->article->event->afterDisplayTitle;
endif; ?>
<?php echo $this->article->event->beforeDisplayContent; ?>
<table class="contentpaneopen<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
<?php if (($this->params->get('show_section') && $this->article->sectionid) || ($this->params->get('show_category') && $this->article->catid)) : ?>
<tr>
<td>
<?php if ($this->params->get('show_section') && $this->article->sectionid && isset($this->article->section)) : ?>
<span>
<?php if ($this->params->get('link_section')) : ?>
<?php echo '<a href="'.JRoute::_(ContentHelperRoute::getSectionRoute($this->article->sectionid)).'">'; ?>
<?php endif; ?>
<?php echo $this->escape($this->article->section); ?>
<?php if ($this->params->get('link_section')) : ?>
<?php echo '</a>'; ?>
<?php endif; ?>
<?php if ($this->params->get('show_category')) : ?>
<?php echo ' - '; ?>
<?php endif; ?>
</span>
<?php endif; ?>
<?php if ($this->params->get('show_category') && $this->article->catid) : ?>
<span>
<?php if ($this->params->get('link_category')) : ?>
<?php echo '<a href="'.JRoute::_(ContentHelperRoute::getCategoryRoute($this->article->catslug, $this->article->sectionid)).'">'; ?>
<?php endif; ?>
<?php echo $this->escape($this->article->category); ?>
<?php if ($this->params->get('link_category')) : ?>
<?php echo '</a>'; ?>
<?php endif; ?>
</span>
<?php endif; ?>
</td>
</tr>
<?php endif; ?>
<?php if (($this->params->get('show_author')) && ($this->article->author != "")) : ?>
<tr>
<td valign="top">
<span class="small">
<?php JText::printf( 'Written by', ($this->escape($this->article->created_by_alias) ? $this->escape($this->article->created_by_alias) : $this->escape($this->article->author)) ); ?>
</span>
</td>
</tr>
<?php endif; ?>
<?php if ($this->params->get('show_create_date')) : ?>
<tr>
<td valign="top" class="createdate">
<?php echo JHTML::_('date', $this->article->created, JText::_('DATE_FORMAT_LC2')) ?>
</td>
</tr>
<?php endif; ?>
<?php if ($this->params->get('show_url') && $this->article->urls) : ?>
<tr>
<td valign="top">
<a href="http://<?php echo $this->article->urls ; ?>" target="_blank">
<?php echo $this->escape($this->article->urls); ?></a>
</td>
</tr>
<?php endif; ?>
<tr>
<td valign="top">
<div id="socialshare"><?php require(JPATH_BASE.DS.'social'.DS.'addthis.php') ?></div>
<!-- AddThis Button BEGIN --><br><div id="socialshare"><?php require(JPATH_BASE .DS.'social'.DS.'addthis.php') ?></div><br><!-- AddThis Button END -->
<?php if (isset ($this->article->toc)) : ?>
<?php echo $this->article->toc; ?>
<?php endif; ?>
<?php echo $this->article->text; ?>
</td>
</tr>
<?php if ( intval($this->article->modified) !=0 && $this->params->get('show_modify_date')) : ?>
<tr>
<td class="modifydate">
<?php echo JText::sprintf('LAST_UPDATED2', JHTML::_('date', $this->article->modified, JText::_('DATE_FORMAT_LC2'))); ?>
</td>
</tr>
<?php endif; ?>
</table>
<span class="article_separator"> </span>
<?php echo $this->article->event->afterDisplayContent; ?>
l'autre le fichier default_item.php
Code:
<?php // no direct access
defined('_JEXEC') or die('Restricted access');
$canEdit = ($this->user->authorize('com_content', 'edit', 'content', 'all') || $this->user->authorize('com_content', 'edit', 'content', 'own'));
?>
<?php if ($this->item->state == 0) : ?>
<div class="system-unpublished">
<?php endif; ?>
<?php if ($canEdit || $this->item->params->get('show_title') || $this->item->params->get('show_pdf_icon') || $this->item->params->get('show_print_icon') || $this->item->params->get('show_email_icon')) : ?>
<table class="contentpaneopen<?php echo $this->escape($this->item->params->get( 'pageclass_sfx' )); ?>">
<tr>
<?php if ($this->item->params->get('show_title')) : ?>
<td class="contentheading<?php echo $this->escape($this->item->params->get( 'pageclass_sfx' )); ?>" width="100%">
<?php if ($this->item->params->get('link_titles') && $this->item->readmore_link != '') : ?>
<a href="<?php echo $this->item->readmore_link; ?>" class="contentpagetitle<?php echo $this->escape($this->item->params->get( 'pageclass_sfx' )); ?>">
<?php echo $this->escape($this->item->title); ?></a>
<?php else : ?>
<?php echo $this->escape($this->item->title); ?>
<?php endif; ?>
</td>
<?php endif; ?>
<?php if ($this->item->params->get('show_pdf_icon')) : ?>
<td align="right" width="100%" class="buttonheading">
<?php echo JHTML::_('icon.pdf', $this->item, $this->item->params, $this->access); ?>
</td>
<?php endif; ?>
<?php if ( $this->item->params->get( 'show_print_icon' )) : ?>
<td align="right" width="100%" class="buttonheading">
<?php echo JHTML::_('icon.print_popup', $this->item, $this->item->params, $this->access); ?>
</td>
<?php endif; ?>
<?php if ($this->item->params->get('show_email_icon')) : ?>
<td align="right" width="100%" class="buttonheading">
<?php echo JHTML::_('icon.email', $this->item, $this->item->params, $this->access); ?>
</td>
<?php endif; ?>
<?php if ($canEdit) : ?>
<td align="right" width="100%" class="buttonheading">
<?php echo JHTML::_('icon.edit', $this->item, $this->item->params, $this->access); ?>
</td>
<?php endif; ?>
</tr>
</table>
<?php endif; ?>
<?php if (!$this->item->params->get('show_intro')) :
echo $this->item->event->afterDisplayTitle;
endif; ?>
<?php echo $this->item->event->beforeDisplayContent; ?>
<table class="contentpaneopen<?php echo $this->escape($this->item->params->get( 'pageclass_sfx' )); ?>">
<?php if (($this->item->params->get('show_section') && $this->item->sectionid) || ($this->item->params->get('show_category') && $this->item->catid)) : ?>
<tr>
<td>
<?php if ($this->item->params->get('show_section') && $this->item->sectionid && isset($this->item->section)) : ?>
<span>
<?php if ($this->item->params->get('link_section')) : ?>
<?php echo '<a href="'.JRoute::_(ContentHelperRoute::getSectionRoute($this->item->sectionid)).'">'; ?>
<?php endif; ?>
<?php echo $this->escape($this->item->section); ?>
<?php if ($this->item->params->get('link_section')) : ?>
<?php echo '</a>'; ?>
<?php endif; ?>
<?php if ($this->item->params->get('show_category')) : ?>
<?php echo ' - '; ?>
<?php endif; ?>
</span>
<?php endif; ?>
<?php if ($this->item->params->get('show_category') && $this->item->catid) : ?>
<span>
<?php if ($this->item->params->get('link_category')) : ?>
<?php echo '<a href="'.JRoute::_(ContentHelperRoute::getCategoryRoute($this->item->catslug, $this->item->sectionid)).'">'; ?>
<?php endif; ?>
<?php echo $this->escape($this->item->category); ?>
<?php if ($this->item->params->get('link_category')) : ?>
<?php echo '</a>'; ?>
<?php endif; ?>
</span>
<?php endif; ?>
</td>
</tr>
<?php endif; ?>
<?php if (($this->item->params->get('show_author')) && ($this->item->author != "")) : ?>
<tr>
<td width="70%" valign="top" colspan="2">
<span class="small">
<?php JText::printf( 'Written by', ($this->escape($this->item->created_by_alias) ? $this->escape($this->item->created_by_alias) : $this->escape($this->item->author)) ); ?>
</span>
</td>
</tr>
<?php endif; ?>
<?php if ($this->item->params->get('show_create_date')) : ?>
<tr>
<td valign="top" colspan="2" class="createdate">
<?php echo JHTML::_('date', $this->item->created, JText::_('DATE_FORMAT_LC2')); ?>
</td>
</tr>
<?php endif; ?>
<?php if ($this->item->params->get('show_url') && $this->item->urls) : ?>
<tr>
<td valign="top" colspan="2">
<a href="http://<?php echo $this->escape($this->item->urls) ; ?>" target="_blank">
<?php echo $this->escape($this->item->urls); ?></a>
</td>
</tr>
<?php endif; ?>
<tr>
<td valign="top" colspan="2">
<!-- AddThis Button BEGIN -->
<div id="socialshare"><?php require(JPATH_BASE .DS.'social'.DS.'addthis.php') ?></div>
<!-- AddThis Button END -->
<?php if (isset ($this->item->toc)) : ?>
<?php echo $this->item->toc; ?>
<?php endif; ?>
<?php echo $this->item->text; ?>
</td>
</tr>
<?php if ( intval($this->item->modified) != 0 && $this->item->params->get('show_modify_date')) : ?>
<tr>
<td colspan="2" class="modifydate">
<?php echo JText::sprintf('LAST_UPDATED2', JHTML::_('date', $this->item->modified, JText::_('DATE_FORMAT_LC2'))); ?>
</td>
</tr>
<?php endif; ?>
<?php if ($this->item->params->get('show_readmore') && $this->item->readmore) : ?>
<tr>
<td colspan="2">
<a href="<?php echo $this->item->readmore_link; ?>" class="readon<?php echo $this->escape($this->item->params->get('pageclass_sfx')); ?>">
<?php if ($this->item->readmore_register) :
echo JText::_('Register to read more...');
elseif ($readmore = $this->item->params->get('readmore')) :
echo $readmore;
else :
echo JText::sprintf('Read more...');
endif; ?></a>
</td>
</tr>
<?php endif; ?>
</table>
<?php if ($this->item->state == 0) : ?>
</div>
<?php endif; ?>
<span class="article_separator"> </span>
<?php echo $this->item->event->afterDisplayContent; ?>
J'ai également créer comme cité dans le tuto un doc social que j'ai mis dans la racine du ftp
j'ai fais quoi de mal?
merci
Le sujet a été verrouillé.
- lavsteph
- Hors Ligne
- Administrateur
- Fondateur
Moins
Plus d'informations
- Messages : 1726
- Remerciements reçus 91
30 Jui 2012 23:51 #12
par lavsteph
Fondateur : Aide-joomla.com
Réponse de lavsteph sur le sujet Re: icone facebook, twitter, imprimantes etc
Bonsoir,
je vais clore ce sujet pour ne pas encombrer ce forum , j'assurerai bien-sur le support sur ce tuto mais sur le site de AJ: www.aide-joomla.com/forum/539-articles-v...egration-sans-plugin
Merci de votre compréhension
je vais clore ce sujet pour ne pas encombrer ce forum , j'assurerai bien-sur le support sur ce tuto mais sur le site de AJ: www.aide-joomla.com/forum/539-articles-v...egration-sans-plugin
Merci de votre compréhension
Fondateur : Aide-joomla.com
Le sujet a été verrouillé.
Temps de génération de la page : 1.154 secondes