Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

WYSIWYG Editor doesn't allow php code?


omgitzdave

Recommended Posts

I am using a WYSIWYG editor (the one that comes standard with CREloaded 6.15), and I would like to add a link to a product section. After I add the HTML link, I added '<?php echo index.php?cPath=28" . "&" . $SID ;?>' to echo the session ID. This prevents users from getting logged out after they click my link. The problem is that after I save my progress in the WYSIWYG editor (and it saves to the database), I go to the page, click the link I just made and the link echos the SID, but it also repeats the php script inside the href link. Does anyone know how to allow php code correctly in the WYSIWYG editor so it acts the way it should?

 

I would appreciate any help!

 

Dave

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...