Webmastersite.net
Register Log In

Stuck: How to call wrapper for details p
How to call a special wrapper for detail + commmen

Comments on Stuck: How to call wrapper for details p

2222a
Member

Usergroup: Customer
Joined: May 13, 2007

Total Topics: 16
Total Comments: 37
2222a
Posted May 25, 2007 - 5:09 PM:

Hi, I need to have a different wrapper for the categories and another one link details + comment page. The default one will stay for the categories. I have uploaded a new wrapper for the links but I cannot find where to call it. </P>

Looking at <A href="http://scripts.webmastersite.net/wsnlinks/wsnmanual/articles/calling-custom-wrapper-149.html" target=_blank>http://scripts.webmastersite.net/wsnlinks/wsnmanu...</A> it says to link it with &customwrapper=linkswrapper. Ok...I tried changing the "Show Links in Category" part but it yielded no results at all. I think I have the wrong template since I changed somethgin else to see but nothing happened. I have multilingual, and comment+details enabled: what template would I need to change in order to add the new wrapper? Is this the line in question? <a href="{LINKDETAILSURL}"><img src="templates/default/images/linktools_details.gif" border="0" alt="{LANG_GENERAL_DETAILS}"> {LANG_GENERAL_DETAILS}</a> and would making the {LINKDETAILSURL} into {LINKDETAILSURL}&customwrapper=linkswrapper work? Thanks guys; I am stuck!
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted May 26, 2007 - 1:04 AM:

{LINKDETAILSURL}&customwrapper=linkswrapper is what you want as your links.

If it's only for one page it may be simpler to suppress the wrapper there (&usewrapper=no, or in 4.1.0+ a <!-- usewrapper=no --> template comment) and put it all in the one template.
2222a
Member

Usergroup: Customer
Joined: May 13, 2007

Total Topics: 16
Total Comments: 37
2222a
Posted May 26, 2007 - 7:47 PM:

thank you Paul. Within a minute I got it working...but will test it more later.

Now the template, will have to include the wrapper info more or less with <html> <head> and so on, correct? The template is it essentially. Did I get that right?

thanks again,
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted May 28, 2007 - 3:06 AM:

Yes.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.