Results 1 to 10 of 10
  1. #1
    Join Date
    Mar 2009
    Posts
    72
    Plugin Contributions
    0

    Default HTML editor not working?

    Hello
    I have been trying to get some html code to work but it is not. Currently have the latest zen-cart program and I am trying to add a clickable link in each product page that would open a popup window 500x500 centered on the screen. It is for a sizing guide. I have found numerous online generators to make the code. I do what they say paste it in the html mode and it works. HOWEVER as soon as I edit anything or try to make the smallest change like change the font size in either html mode or not, the new popup link does not work. This is very frustrating and I wondered if it is the editor? I also have noticed that if I use the editor in non html mode and I make a link, the link box pops up. Where it has the URL you have to paste your address in there. it will not let you type in it. Then you hit ok but the link box does not close unless you hit cancel. Very weird and frustrating. Any suggestions? something so easy should not be so hard.

    The html prog says it is Html Area. 3.0 rev.rc1. Any help would be so much appreciated.

    thanks
    Jim

  2. #2
    Join Date
    Sep 2009
    Posts
    95
    Plugin Contributions
    0

    Default Re: HTML editor not working?

    Jim, I had this problem using the html editor in firefox. I checked their help files for that problem, and it's some security thing. They have instructions for deactivating it... But I switch to my IE now when I'm using the html editor in the admin now.
    Zen-cart 1.3.8a * Template premium1c, * my zen-cart(nsfw!!): Tunti Enterprises.

  3. #3
    Join Date
    Mar 2009
    Posts
    72
    Plugin Contributions
    0

    Default Re: HTML editor not working?

    Hello
    I will look into that. I do use firefox, however I thought I was having issues with IE as well. I will double check. In the meantime any idea where I can learn more about the security issues with firefox?

    I am googling it now.

    thx

  4. #4
    Join Date
    Sep 2009
    Posts
    95
    Plugin Contributions
    0

    Default Re: HTML editor not working?

    I can't remember how I found that... I bet you found it already. Perhaps if you're on the website, you can look up variations on the theme, "Why can't I cut/paste in ff?"

    Basically, it wouldn't let me add images, urls or cut/paste text.
    Zen-cart 1.3.8a * Template premium1c, * my zen-cart(nsfw!!): Tunti Enterprises.

  5. #5
    Join Date
    Mar 2009
    Posts
    72
    Plugin Contributions
    0

    Default Re: HTML editor not working?

    Hello
    Yea FF is doing that but IE seems to fix it. Just wish I could have a link on the page open up another window in smaller frame that can be closed. It will not work for me.

    thanks
    Jim

  6. #6
    Join Date
    Mar 2009
    Posts
    72
    Plugin Contributions
    0

    Default Re: HTML editor-Why Code not working?

    Hello,
    Ok just to clarify my issue. I am going to post the code. I made a code to open a popup window on a product page. When the user clicks size I want it to show a small window. This is the original code.

    <script language="javascript" type="text/javascript">
    <!--
    /****************************************************
    Popup window generator provided for free at Hypergurl
    Url: http://www.hypergurl.com
    Author: Eric King
    Url: http://eak.digitalrice.com
    This script is free to use as long
    as this info is left in
    ****************************************************/
    var win=null;
    function NewWindow(mypage,myname,w,h,scroll,pos){
    if(pos=="random"){LeftPosition=(screen.availWidth)?Math.floor(Math.random()*(scr een.availWidth-w)):50;TopPosition=(screen.availHeight)?Math.floor(Math.random()*((screen.availH eight-h)-75)):50;}
    if(pos=="center"){LeftPosition=(screen.availWidth)?(screen.availWidth-w)/2:50;TopPosition=(screen.availHeight)?(screen.availHeight-h)/2:50;}
    if(pos=="default"){LeftPosition=50;TopPosition=50}
    else if((pos!="center" && pos!="random" && pos!="default") || pos==null){LeftPosition=0;TopPosition=20}
    settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scr ollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,re sizable=no';
    win=window.open(mypage,myname,settings);
    if(win.focus){win.focus();}}
    // -->
    </script>

    <a href="http://www.prissypups.ca/other.html" onclick="NewWindow(this.href,'other','500','510','no','center');return false" onfocus="this.blur()">Click here to view your pop up window from this link!</a>



    When I paste it in html mode and test it, it works. BUT as soon as I try to change the wording ie) Click here to view your pop up window from this link! or I try to resize the text it stops working, even though it is the same code? In fact if I go back and edit nothing to do with the code it stops working????

    I have tried numerous coding generators and they all do this.. it works fine but as soon as I edit it, it does not work? can anyone help me please?

  7. #7
    Join Date
    Jan 2009
    Location
    Vegas Baby!
    Posts
    332
    Plugin Contributions
    0

    Default Re: HTML editor not working?

    I use a similar script to yours and have always had the same problem. I've never tried using IE to see if it makes a difference or not...anyway, basically what seems to happen with my script is that "&nbsp;" gets added in. I've never been able to find a fix, so whenever I'm working on products that are going to have the pop-up I keep Notepad open with the code in it so I can just copy & paste to overwrite the sections that are garbled.

    It's really annoying
    Completed: BellaFavori.com
    In Progress: WeddingDivasLV.com
    Coming Soon: ???

  8. #8
    Join Date
    Mar 2009
    Posts
    72
    Plugin Contributions
    0

    Default Re: HTML editor not working?

    Hi
    I tried what you said and it has helped a lot, but it is a major pain. The other issue I have is when I edit in regular mode it looks great, load the website and it looks differently. This is very very frustrating. How is my wife supposed to update the site? she knows no html etc... I am confused as it never used to do this before it worked fine (except with special scripts like pop ups) but regular editing is not working the way it should. Only works when i post html code.. anyone help with this??? (thanks to last poster for notepad tip for the pop up window it worked)

  9. #9
    Join Date
    Jan 2009
    Location
    Vegas Baby!
    Posts
    332
    Plugin Contributions
    0

    Default Re: HTML editor not working?

    By "regular mode" do you mean the html editor or plain text?

    Your wife doesn't need to know html to use the html editor. She would only need to use html if editing in plain text mode & for that, you could probably just make her a little chart for whatever few pieces of code she would need to edit product descriptions. (see this page:
    http://www.w3schools.com/html/default.asp)

    Maybe what's wrong is that you are editing in plain text and not adding in html?

    Personally, I always edit in plain text.

    You'll find if you do, Notepad is your best friend and will make life much easier. (actually I recommend Notepad ++, if you don't already use it: http://notepad-plus.sourceforge.net/uk/site.htm)

    The pop-ups & other scripts that get messed up are a big problem, though. I wish there was a solution, I just edited about 30 products last night forgetting they have pop-ups.. I have to go back & fix all of them now because the pop-ups no longer pop
    Completed: BellaFavori.com
    In Progress: WeddingDivasLV.com
    Coming Soon: ???

  10. #10
    Join Date
    Mar 2009
    Posts
    72
    Plugin Contributions
    0

    Default Re: HTML editor not working?

    Hey
    Thanks. No big deal i squashed the idea and did something different.

    thanks

 

 

Similar Threads

  1. HTML Editor not working in 1.5.1
    By pietpetoors in forum Upgrading to 1.5.x
    Replies: 5
    Last Post: 4 Oct 2012, 04:00 PM
  2. html editor not working
    By buildingblocks in forum Customization from the Admin
    Replies: 7
    Last Post: 28 May 2012, 10:06 AM
  3. HTML Editor Not Working, Website is showing Plain Text not HTML
    By gtgderek in forum Basic Configuration
    Replies: 1
    Last Post: 20 Nov 2010, 12:12 AM
  4. html editor not working
    By pasticheart in forum General Questions
    Replies: 2
    Last Post: 30 Apr 2010, 12:55 PM
  5. HTML Editor not working
    By Eizual in forum Customization from the Admin
    Replies: 0
    Last Post: 5 Jun 2007, 07:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg