Hi,
I am trying to blob in a hyperlink.
but the editor makes it to this:
Is there a workaround?
FCKeditorX
thanks
Pjotr
to blob or not to blob
to blob or not to blob
Last edited by Pj on Tue Dec 06, 2005 7:35 pm, edited 1 time in total.
Re: to blob or not to blob
Hi Patricia,
well I tried that and it worked but I have the blob made this way so I can make a redirectpage with meta refresh (in a template) and at the same time use the url in on the page around an image.
The blob is than easily editable by the user, which will affect the page and template for which he hasn't the right to change.
But you were right I used single quotes for the inner part: Now it works!!!
like:
thanks!!
Pjotr
well I tried that and it worked but I have the blob made this way so I can make a redirectpage with meta refresh (in a template) and at the same time use the url in on the page around an image.
The blob is than easily editable by the user, which will affect the page and template for which he hasn't the right to change.
But you were right I used single quotes for the inner part: Now it works!!!
like:
thanks!!
Pjotr
Re: to blob or not to blob
Since SMARTY and PHP use single and double quotes as part of the program syntax, you have to "escape" quotes that are contained in a SMARTY tag call. The reason is the interpreter thinks the second quote is sees is the end of the variable.
For example:
{module="cms_selflink" page="53" text="Joe \"The Axe\" Smith"}
Notice that I "escaped" the quotes found between the double quotes. You can do the same thing anytime your inside quotes are the same type as the outside quotes.
Alternatively, use different type of quotes on the outside than you use on the inside: ie single outside, double inside or vice versa.
Cheers!
Ken G.
For example:
{module="cms_selflink" page="53" text="Joe \"The Axe\" Smith"}
Notice that I "escaped" the quotes found between the double quotes. You can do the same thing anytime your inside quotes are the same type as the outside quotes.
Alternatively, use different type of quotes on the outside than you use on the inside: ie single outside, double inside or vice versa.
Cheers!
Ken G.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: to blob or not to blob
or better still.... if you're a designer or a developer, disable the wysiwyg..... wysiwygs are good for customers, not for designers/developers.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.