Module Tree Menu pour FlexiContent

More
14 years 1 month ago #10794 by sepion02
Pas de soucis.

Si quelqu'un a une idée ce serait génial car actuellement ce menu est inutilisable conjointement au module lof article scroller !!

Autre soucis : l'état actif des éléments de menu ne marche pas. le rollOver et le click fonctionnent bien mais les tabs de menus ne restent pas sur l'état actif défini dans les css l'orsque l'on a cliqué sur un menu.

Je pense que cela est du au fait que le menu pointe vers une catégorie et non vers un élément de menu (comme prévu par superfish). Mais je ne sais pas comment modifier cela.

Please Log in or Create an account to join the conversation.

More
14 years 1 month ago #10796 by micker
tes sur d'avoir enlever le cache sur ton menu ?
essai de voir coté createur du module (lof article scroller !!souvent il pourra t'aider
) lui en sera peut être plus !
a+

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
13 years 11 months ago #12304 by zimzoum10
j'ai voulu afficher les articles d'une catégorie donnée; cela n'a pas fonctionné.
J'ai modifié mod_flexitree_menu\tmpl\default.php afin de rajouter les isset sur les attributs title et children (en effet il y a uniquement des artilces):
Code:
<?php // no direct access defined('_JEXEC') or die('Restricted access'); ?> <div class="flexitree_menu<?php echo $params->get('moduleclass_sfx');?>"> <ul class="sf-menu <?php echo $params->get('superfish_menu');?>"> <?php function displayr($level, $first, $link_cat) { foreach ($level as $row) { if (isset($row->title) && $row->title) { echo "<li>"; if ($link_cat) { echo "<a href=\"" . $row->link . "\">" . $row->title . ""; } else { echo "<a href=\"#\">" . $row->title . ""; } echo "<ul>\n"; } if (isset($row->children) && $row->children) { displayr($row->children, false, $link_cat); } if ($row->article) { foreach ($row->article as $art) { echo "<li><a href=\"" . $art->link . "\">" . $art->title . "</li>\n"; } } if (isset($row->title) && $row->title) { echo "</li>\n"; echo "</ul>\n"; } } } displayr($list, true, $params->get('link_category')); ?> </ul> <div class="clear"></div> </div>

Please Log in or Create an account to join the conversation.

More
13 years 11 months ago #12307 by micker
cool merci pour l'info

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
13 years 11 months ago #12309 by sepion02
Bonjour,

Je me trompe peut être mais je ne vois pas le rapport avec les problèmes ennoncés au début de ce post.

Désolé d'avance si je me trompe.

Please Log in or Create an account to join the conversation.

More
13 years 2 weeks ago #20245 by ggppdk
If you try to use 2 modules you will get a white page or message saying that the function displayr() was redeclared.

So inside file
mod_flexitree_menu/tmpl/default.php
the function:
Code:
function displayr($level, $first, $link_cat) ... }
must be inside an if, like this
Code:
if ( ! function_exists('displayr') ) { function displayr($level, $first, $link_cat) ... } }


or the function should be moved to the helper file??


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.914 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline