Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2005
    Posts
    29
    Plugin Contributions
    0

    Default Links entered in admin area Defaulting to Admin

    I've developed a number of zencart storefronts, and I've seen this problem with each one. Unfortunately, this time the problem is worsened by the number of links I'm creating.

    An example page to look at would be

    http://wholesaletrailersupplies.com/...ndex&cPath=1_7

    You will see that I am creating tables at the front of each category. The table has a link to each product in that category. I can create the table just fine. I can create the links just fine. Because of the "https" I do not want to create a hard link, so my link would read

    index.php?main_page=product_info&cPath=1_7&products_id=43

    The table will work just fine, but if I have to go in and add something or do an edit, when I save the category the link will now read

    http://wholesaletrailersupplies.com/...products_id=43

    Note that "admin" is now part of the link.

    How can I overcome this? Will linking to

    http://wholesaletrailersupplies.com/...products_id=43

    instead of

    index.php?main_page=product_info&cPath=1_7&products_id=43

    cause me certificate errors?

    Thanks,

    Tina

  2. #2
    Join Date
    Jan 2004
    Posts
    66,391
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Links Defaulting to Admin

    Change your HTML editor to "Text Only" instead of htmlarea etc, and you can enter your links as you desire.

    The path to your admin area is being added by the editor because the editor is running from within the admin folder.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Sep 2007
    Location
    Daytona Beach, Florida
    Posts
    21
    Plugin Contributions
    0

    Default Re: Links entered in admin area Defaulting to Admin

    I have the knowledge to get around this problem of the HTML editor inserting admin/ into the link path -- but some of my clients do not have the know-how to edit in plain text mode.

    Any fixes for this problem?

    It also does the same thing with images. Any time a client of mine tries to edit their pages -- their images and links then want to default to admin/ folders.

    It seems there should be a way around this since other CMS scripts I have come across do not have this problem. Is there another HTML editor I can provide my clients that will not have this problem?

    Thanks in advance!

    Rene

  4. #4

    Default Re: Links entered in admin area Defaulting to Admin

    phycel makes a very good point here. If it don't work for the client...

  5. #5
    Join Date
    Jan 2004
    Posts
    66,391
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Links entered in admin area Defaulting to Admin

    Quote Originally Posted by loosefast View Post
    phycel makes a very good point here. If it don't work for the client...
    Correct. If it won't work for the client ... then surely they'll pay you to either educate them on ways that *will* work, or to write a new editor that will meet their needs.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. why the links inside the admin area are not https?
    By mavik in forum General Questions
    Replies: 4
    Last Post: 8 Apr 2011, 05:06 PM
  2. Links in admin area not working
    By mercadoglobal in forum Basic Configuration
    Replies: 1
    Last Post: 13 Nov 2008, 03:57 AM
  3. Defaulting to different admin page on login
    By spinion in forum Basic Configuration
    Replies: 3
    Last Post: 23 Feb 2008, 03:28 PM
  4. Links in Admin area don't work after admin folder rename
    By bhfruitcakeco in forum General Questions
    Replies: 8
    Last Post: 27 Dec 2007, 06:55 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR