Desc link in virtuemart module

Desc link in virtuemart module was created by lirees

Posted 11 years 7 months ago #5885
it's possible disable the link on the description in the virtuemart module ... ??? thanks
by lirees

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

Replied by ced1870 on topic Desc link in virtuemart module

Posted 11 years 7 months ago #5886
Hi
"hello" is a good word to begin a conversation ...
then give me your url and detail your problem
Ced

Joomlack Webmaster and Developer

by ced1870

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

Replied by lirees on topic Desc link in virtuemart module

Posted 11 years 7 months ago #5891
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
by lirees
Attachments:

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

Replied by ced1870 on topic Desc link in virtuemart module

Posted 11 years 7 months ago #5892
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

by ced1870

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

Replied by lirees on topic Desc link in virtuemart module

Posted 11 years 7 months ago #5896
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
by lirees

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

Replied by ced1870 on topic Desc link in virtuemart module

Posted 11 years 7 months ago #5897
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

by ced1870

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

Time to create page: 0.746 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 944 guests and one member online