Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-02-25 16:49:58

tez
Member
Registered: 2006-02-25
Posts: 22

(Beginner) zem_prblock plugin

Hi

Just a quick query about the zem_prblock plugin.

I’ve just installed it and I’d like to use it initially just to add target=”_blank” to all external links in an article body.

When I wrote a test article I couldn’t get it to work. I thought it would appear as an option when you are drafting new articles.

So, I then went to the forms tab and changed my default article from:

<code><h3><txp:permlink><txp:title /></txp:permlink> · <txp:posted /> by <txp:author /></h3>
<txp:body />
<txp:comments_invite wraptag=“p” />
<div align=“center”><img src=”<txp:site_url />images/1.gif” style=“height:1px;width:400px” class=“divider” alt=”“ /></div></code>

to:

<code><h3><txp:permlink><txp:title /></txp:permlink> · <txp:posted /> by <txp:author /></h3>
<txp:zem_prblock target=”_blank”>
<txp:body />
</txp:zem_prblock>
<txp:comments_invite wraptag=“p” />
<div align=“center”><img src=”<txp:site_url />images/1.gif” style=“height:1px;width:400px” class=“divider” alt=”“ /></div></code>

But again, no joy.

So, for good measure I changed my Links form from

<code><p><txp:link /><br />
<txp:link_description /></p></code>

to:

<code><txp:zem_prblock target=”_blank”>
<p><txp:link /><br />
<txp:link_description /></p>
</txp:zem_prblock></code>

but once again…no joy!

I hope that’s clear and you can help.

Thanks

tez

Offline

Board footer

Powered by FluxBB