Developer forum

Forum » Templates » The new snippet tag

The new snippet tag

Martin Gammelholm
Reply

Hi,

Shouldn't I be able to move content across templates with the new snippet tag?

I can get it to work, if I'm using the tag in the same template, but what if I want to use some content from one template in another template?
I'm trying to "copy" the search feature from the search template, to the orderlist template in customercenter using the snippet tag.

 

/Martin


Replies

 
Nicolai Høeg Pedersen
Reply

Yes, it should work.

 

Could you maybe post your code?

And which version are you running?

 

BR Nicolai

 
Martin Gammelholm
Reply

Hi Nicolai,

I followed your description from this post.

Attached a screenshot also.
I haven't tested the tag in other templates, just the customercenter ones.

 

/Martin

2013-04-24_1252.png
 
Nicolai Høeg Pedersen
Reply

Looks right.

 

What about the source is the code gone?

 

Maybe you can mail me a link, and I'll have a look.

 

Thanks!

 
Martin Gammelholm
Reply

Forgot about version, it's running 8.2.2.2.

It's a local solution, so can't send you anything unfortunatly.
I've found a workaround tho, so it's not a problem anymore.

If I run into the problem again, I will let you know :)

Thanks!

 

/Maritn

 

You must be logged in to post in the forum