Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Public Forum / Main Forum / La balise H1 dans la catégorie View

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

× OLD Forum post could be checked here : forum.joomprod.com

La balise H1 dans la catégorie View

More
10 years 9 months ago #17868 by jamalqc
La balise H1 dans la catégorie View was created by jamalqc
Bonjour,

Quand j'affiche une catégorie en particulier (ex: annonces/immobilier, la page ne contient aucun balise H1 par défaut. Comment puisse faire pour que le titre de la catégorie devient H1. Pour la page d’accueil c'est correct avec ADSMANAGER_FRONT_TITLE qui est déja en H1 mais pas la catégorie view.

Merci
The following user(s) said Thank You: adarr
More
10 years 9 months ago #17903 by jamalqc
Replied by jamalqc on topic La balise H1 dans la catégorie View
Personne n'a eu ce problème ? merci
The following user(s) said Thank You: adarr
More
10 years 9 months ago #17927 by tompap
Replied by tompap on topic La balise H1 dans la catégorie View
il faut modifier views/list/tmpl/default.php

(utiliser la technique d'override de joomla)

<div class="row-fluid">
<fieldset>
<legend>

remplacer par ce que vous voulez
The following user(s) said Thank You: adarr
More
10 years 9 months ago #17928 by jamalqc
Replied by jamalqc on topic La balise H1 dans la catégorie View
Merci : ) c'est du chinois un peu pour moi :)
je ne peux pas faire quelque chose dans le fichier views/list/view.html.php meme en dur ?

ìci : $document->setTitle(JText::_($category->name)." | ".JText::_('ADSMANAGER_PAGE_TITLE'));

merci
The following user(s) said Thank You: adarr
More
10 years 9 months ago #17949 by tompap
Replied by tompap on topic La balise H1 dans la catégorie View
Remplacer dans views/list/tmpl/default.php (technique override Joomla voir Documentation : www.joomprod.com/support/doc/customizati...c-view-override.html)
<div class="row-fluid">
    <fieldset>
        <legend>
<?php
	if ($this->list_img != "") {
//        if($this->list_img_default) {
//            echo '<i class="icon-th-list"></i>';
//        } else {
            echo '<img  class="imgheading" src="'.$this->list_img.'" alt="'.$this->list_img.'" />';
//        }
    }
	echo JText::_($this->list_name);
	if ($this->conf->show_rss == 1)
	{
		if (isset($this->listuser))
			$linkrss = TRoute::_("index.php?option=com_adsmanager&view=list&format=feed&user=".$this->listuser);
		else
			$linkrss = TRoute::_("index.php?option=com_adsmanager&view=list&format=feed&catid=".$this->catid);
		echo '<a href="'.$linkrss.'" target="_blank"><img class="feed imgheading" src="'.getImagePath('rss.png').'" alt="rss" /></a>';
	}
?>
        </legend>
    </fieldset>
</div>

par
<h1>
<?php
	if ($this->list_img != "") {
//        if($this->list_img_default) {
//            echo '<i class="icon-th-list"></i>';
//        } else {
            echo '<img  class="imgheading" src="'.$this->list_img.'" alt="'.$this->list_img.'" />';
//        }
    }
	echo JText::_($this->list_name);
	if ($this->conf->show_rss == 1)
	{
		if (isset($this->listuser))
			$linkrss = TRoute::_("index.php?option=com_adsmanager&view=list&format=feed&user=".$this->listuser);
		else
			$linkrss = TRoute::_("index.php?option=com_adsmanager&view=list&format=feed&catid=".$this->catid);
		echo '<a href="'.$linkrss.'" target="_blank"><img class="feed imgheading" src="'.getImagePath('rss.png').'" alt="rss" /></a>';
	}
?>
</h1>
The following user(s) said Thank You: adarr
Moderators: perry
Time to create page: 0.073 seconds
Powered by Kunena Forum