Desc link in virtuemart module

More
14 years 1 month ago #5885 by lirees
it's possible disable the link on the description in the virtuemart module ... ??? thanks

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

More
14 years 1 month ago #5886 by ced1870
Hi
"hello" is a good word to begin a conversation ...
then give me your url and detail your problem
Ced

Joomlack Webmaster and Developer

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

More
14 years 1 month ago #5891 by lirees
I'm sorry you're absolutely right ...

Hello,
I have not published the site so i can not give you a url but only an image that i have attached, i made a site with joomla and virtuemart and i have bought the module for virtuemart. I have created a multi-column menu with the categories of the site and under each category, through the tag desc, i put the list of the sub-categories ( about 10 for each category )
I wish the link only in the category name and not in both ( category name and sub-category ) .. I hope to be better explained ...

thanks

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

More
14 years 1 month ago #5892 by ced1870
ok,
this is not implemented because the description should be related to the link, but if you want to do so you must override the view file of the module and change the place of the $item->desc outside the anchor html
Ced

Joomlack Webmaster and Developer

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

More
14 years 1 month ago #5896 by lirees
hi,
i have try to override the file in the tmpl directory but the only reference to the $item->desc manage the description of the title :

$description = $item->desc ? '<span class="descck">' . $item->desc . '</span>' : '';

i have need to modify the description of the sub-menu, where i can find it ??

thanks

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

More
14 years 1 month ago #5897 by ced1870
you have something like this
Code:
<a class="maximenuck ' . $item->anchor_css . '" href="' . $item->flink . '"' . $title . $item->rel . '>' . $linktype . '</a>'
where $linktype contains the description. You must delete the description from $linktype and do something like this :
Code:
<a class="maximenuck ' . $item->anchor_css . '" href="' . $item->flink . '"' . $title . $item->rel . '>' . $linktype . '</a>' . $description

Joomlack Webmaster and Developer

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

Time to create page: 0.208 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 4926 guests and no members online