CatalookSupport Forum
Remove More info link selectively
Last Post 11 Feb 2010 04:21 AM by Nina Meiers. 7 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Not Resolved
Roger GrahamUser is Offline
New Member
New Member
Posts:9
Avatar

--
13 Jan 2009 01:40 PM  

We would like to remove the More Info links from one of our list of products, but maintain it for other pages listing products.  Can this be configured for a specific page/module.

Many thanks

evgamonUser is Offline
New Member
New Member
Posts:8
Avatar

--
29 Jan 2009 04:44 PM  

The more Info link is added automatically to each description in the List/Card View.

You can either leave it or remove it by deleteing it by changing its resource key to empty string. You can also hide the description from the skin but I doubt you want that.

Of course if you have the source code version you can try to add some condition when it's inserted (don't know where in the code though).

I'm not sure but I think you should be able to add a piece of code to do that in the itempane.ascx of the skin you use.

Roger GrahamUser is Offline
New Member
New Member
Posts:9
Avatar

--
19 May 2009 12:18 PM  
The client is raising this again, so I am trying to get a reply.

Unfortunately, editing the source code, changing the skin or changing the resource to an empty string will remove the link for every occurance of the ItemPane module. I want to do it for one instance of the module. We just want a list of products on a page with no link to individual products.

Many thanks
Nina MeiersUser is Offline
Veteran Member
Veteran Member
Posts:377
Avatar

--
28 May 2009 07:22 AM  

Well, did you know that you can create another skin - remove the link - add the itemnf module, click view options and use the skin that has no link in it.

We use several different skins on sites to get the the result we need for clients.

Nina

Give me a place to stand and a lever long enough... and I will change the world.
Roger GrahamUser is Offline
New Member
New Member
Posts:9
Avatar

--
29 May 2009 08:03 AM  
The skin contains the tag



This returns the product description, plus the More Info link

Product description .......
More Info

If we remove the asp:label tag then we also remove the product description together with the More Info link. We want just the description. Any ideas how to achieve this.

Roger
evgamonUser is Offline
New Member
New Member
Posts:8
Avatar

--
21 Oct 2009 01:45 PM  

Haven't tried it but the best I could think is to check in the page source for the ID of the element containing the More Info link (should be a span with ID ending in lblDescription) and copy the ID.

Then in your Catalook skin css file add the following:

#TheSpanIDYouCopied a[href="The URL to the product"] {display:none;visibility:hidden;}

In theory this should hide the link with the matching url that is within the html surrounded by the html tag with this ID.

Hope it makes sense and more importantly that it works. I can't test it myself in the near future. If someone does try let us know the results.

 

MarkUser is Offline
New Member
New Member
Posts:21
Avatar

--
05 Feb 2010 05:07 AM  

Thanks evgamon, you solution worked!

However, it is not the nicest way of doing it... Every product in the product list has it's own span ID, therefore I had to add as many lines as I had products on one page. I've got one page with 62 products, so 62 lines like this:

#dnn_ctr656_ProductPage_lstProducts_ctl00_lbllistDescription a {display:none;visibility:hidden;}
#dnn_ctr656_ProductPage_lstProducts_ctl01_lbllistDescription a {display:none;visibility:hidden;}
.....
#dnn_ctr656_ProductPage_lstProducts_ctl62_lbllistDescription a {display:none;visibility:hidden;}

Is there really no other way of removing the 'more info' link in the lbllistdescription? I had tried changing the resources file, but nothing helped.

It's working now, but if someone has a nicer solution, I'd love to hear it!

Nina MeiersUser is Offline
Veteran Member
Veteran Member
Posts:377
Avatar

--
11 Feb 2010 04:21 AM  
Dang you guys are good - thanks - yes some solutions are a bit of a hack but we have no choice until a proper solution comes around. I might email Susanne about a request for this one.

Nina
Give me a place to stand and a lever long enough... and I will change the world.
You are not authorized to post a reply.


Powered by Active Forums
Catalook Support Chapters
Ph: 613 9551 5711   Fax: 613 9551 6503 | Postal Address: PO Box 138, Braeside, Victoria, 3195 AUSTRALIA  |  Email 24 Hrs