Module Tree Menu pour FlexiContent

More
15 years 4 months 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
15 years 4 months 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
15 years 2 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
15 years 2 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
15 years 2 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
14 years 3 months 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 review. Thanks!

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

More
14 years 3 months ago #20246 by micker
Solution validée !

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 #24139 by HillWoody
Hello,

it would be great to have 2 separate and collapsible tree modules.

The additional condition by ggppdk works for the original version of the module, but if you add jquery for collapsible tree views (as suggested here by vfro formerly, and which works fine for one module), it is not enough.

I tried to clone the module therefore, renamed it and the php functions inside - without success (nothing is displayed in module).

Maybe this way doesn't work at all... is there a better one?

Thankful for ideas

Regards

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

More
13 years 6 months ago #27435 by ggppdk
Has anyone updated this module for FC v2.0 (J2.5)?

Ok J2.5 has tree structure built-in , so a standard J2.5 module can be used, but it would be lacking FLEXIcontent SEF category links, it would have com_content SEF links, i guess this is OK.


-- 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 review. Thanks!

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

More
13 years 6 months ago #27436 by netassopro
I created it but not updated it... ( my 1rst dev for flexicontent,so a little dirty ;) )
It's sure that this module can be usefull.
If you want to do it, no problem

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

Moderators: vistamediajoomlacornerggppdk
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
Save