to blob or not to blob

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Pj

to blob or not to blob

Post by Pj »

Hi,

I am trying to blob in a hyperlink.

but the editor makes it to this:


Is there a workaround?

FCKeditorX


thanks

Pjotr
Last edited by Pj on Tue Dec 06, 2005 7:35 pm, edited 1 time in total.
Pj

Re: to blob or not to blob

Post by Pj »

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
kendo451

Re: to blob or not to blob

Post by kendo451 »

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.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: to blob or not to blob

Post by calguy1000 »

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.
Locked

Return to “CMSMS Core”