Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Sep 2008
    Posts
    13
    Plugin Contributions
    0

    Default How to add a link to an external site within admin?

    I would like to create a link in the admin control panel to access the Plogger photo gallery admin I am using within Zencart. I want to add this link in a way that any future upgrades would leave this link intact.

    For now I have just edited the admin/includes/header_navigation.php file to include the link to the plogger admin.

    This does work rather nicely now, as I've edited plogger so that I'm taken to plogger's admin already logged in. Added a tab in plogger's admin to link back to the Zencart admin, it works great.

    I just need a way to do this so the Zencart admin link to the Plogger admin will be intact after a Zencart upgrade.

    Zencart version 1.5, clean install.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: How to add a link within admin

    Quote Originally Posted by GreenGecko View Post
    I would like to create a link in the admin control panel
    ...
    For now I have just edited the admin/includes/header_navigation.php file to include the link to the plogger admin.
    That's the best way. And, since it's just a few characters, it's something you can very quickly and easily transfer over when you upgrade next. That's the beautiful thing about tools like WinMerge.
    .

    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
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: How to add a link within admin

    Do pay careful attention to this point too:
    ANY TIME you click a link in your admin which takes you TO ANOTHER SITE, you disclose your admin foldername to that other site. It'll show up in their traffic logs, analytics details, and any whos-online or similar type of tracking they might do.
    If you don't want it disclosed, then DON'T PUT THOSE KINDS OF LINKS IN YOUR ADMIN.
    .

    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.

  4. #4
    Join Date
    Sep 2008
    Posts
    13
    Plugin Contributions
    0

    Default Re: How to add a link to an external site within admin?

    Thank you DrByte for the information and for the warning about any admin links to other sites.

    However that is not the case with how I have plogger setup. My Plogger setup is in the root of the Zencart site, on the same domain name not a different site.

    So how much work would it be to port this plogger setup to an installable add-on for Zencart?

    Is there somewhere that gives developers guidelines on developing add-ons for Zencart?

 

 

Similar Threads

  1. v155 add an external link to admin menus
    By vvomble in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 23 Apr 2016, 01:34 AM
  2. Replies: 8
    Last Post: 14 Dec 2010, 01:44 AM
  3. External Link within Products Description
    By gabstero in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 22 Jan 2008, 03:36 AM
  4. How can I add a link within my links page?
    By pstarling in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 12 Aug 2006, 09:37 PM

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