Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-05-22 09:05:21

saszownik
Member
Registered: 2007-01-23
Posts: 13

[textile] textile + tags smd_slimbox

Hi,
This code doesn’t work correctly for me :)

%{float:right;margin:4px;}<txp:smd_slimbox imageid="97"  />%

I expect something like this:

<span style="float:right;margin:4px;"><a blablabla><img blablabla /></a></span>

My question is… Is possible insert txp tags to textile elements?

regards,
sasza

(edited to show your code. -Els)

Last edited by els (2007-05-22 13:53:06)

Offline

#2 2007-05-22 10:13:02

ttr
Member
Registered: 2006-10-26
Posts: 34

Re: [textile] textile + tags smd_slimbox

It should be possible.
Try one of this two examples.

notextile.<txp:smd_slimbox imageid="97" />

==<txp:smd_slimbox imageid="97" />==

Last edited by ttr (2007-05-22 10:13:24)

Offline

#3 2007-05-22 11:51:12

saszownik
Member
Registered: 2007-01-23
Posts: 13

Re: [textile] textile + tags smd_slimbox

notextile. %{float:right;margin:4px;}==<txp:smd_slimbox imageid=“97” />==%

unfortunatelly, it doesn’t work :(. with notextile. too.

Maybe somebody had a similar problem? Of course I can use html but I prefer use textile for format article.

(edited to show code. How do I post tags and code on the forum?. -Els)

Last edited by els (2007-05-22 13:55:25)

Offline

#4 2007-05-22 23:05:20

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [textile] textile + tags smd_slimbox

It may be a bug, I’m not sure. Submit it to Alex.

The following will definitely work:

notextile. <span style="float: right; margin: 4px;"><txp:smd_slimbox imageid="97" /></span>

or

p{float: right; margin: 4px;}. <txp:smd_slimbox imageid="97" />

Offline

#5 2007-05-23 06:43:18

saszownik
Member
Registered: 2007-01-23
Posts: 13

Re: [textile] textile + tags smd_slimbox

thanks for Your opinion.
Your examples works fine, but first used p element and second is with html element in code. I do something like this and works fine too:

%{float:right;margin:4px;}&nbsp; <txp:smd_slimbox imageid="97" />%

test results is here mtb bikes

without &nbsp; works wrong.


sasza

Offline

Board footer

Powered by FluxBB