Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
  1. #11
    Join Date
    Apr 2009
    Location
    Chicago, IL
    Posts
    45
    Plugin Contributions
    0

    Default Re: Category URL from zen_href_link

    I'm having the same issue as gezuvor with a hard coded category link in my footer. My link is written exactly as kobra suggested, but when accessed from secure pages, it's https:// and from non-secure it's http:// like it should be. Did you guys get it sorted?

    I'm running 1.3.8a btw, and I'd give you a link to the site, but it's not live yet.

  2. #12
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Category URL from zen_href_link

    chrismarie,

    Start you own thread with what you issue is ad it is not clear from what you posted

  3. #13
    Join Date
    Apr 2009
    Location
    Chicago, IL
    Posts
    45
    Plugin Contributions
    0

    Default Re: Category URL from zen_href_link

    Quote Originally Posted by chrismarie View Post
    I'm having the same issue as gezuvor with a hard coded category link in my footer. My link is written exactly as kobra suggested, but when accessed from secure pages, it's https:// and from non-secure it's http:// like it should be. Did you guys get it sorted?
    Quote Originally Posted by gezuvor View Post
    I am using that now, but it's not smart enough to discern between http and https pages, so the links in my categories sidebox are always http and my header/footer "hard links" are https when accessed from a secure page. I'm trying to use more elegant programming to allow these new links to behaving in a more native ZC fashion...
    gezuvor's last post said that he would post the solution if he got it figured out, I was just asking if he had as my problem is the exact same as what he described.

  4. #14
    Join Date
    Apr 2009
    Location
    Chicago, IL
    Posts
    45
    Plugin Contributions
    0

    Default Re: Category URL from zen_href_link

    I stumbled back upon this thread searching for something else and realized that I never posted the solution for a nonssl hard-coded category link:
    Code:
    <?php echo '<a href="' . zen_href_link(FILENAME_DEFAULT, 'cPath=2', 'NONSSL') . '">Link to Category 2</a>'; ?>
    I'm sure it's completely obvious, but I hope it helps someone.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v153 URL from category page (at bottom) not working
    By okieannie in forum General Questions
    Replies: 1
    Last Post: 16 May 2015, 05:10 PM
  2. v153 URL rewriting from Ceon to Utimate URL.
    By robbie269 in forum General Questions
    Replies: 40
    Last Post: 11 Jan 2015, 11:43 PM
  3. change category to sub category- keep URL?
    By Cinzia in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 21 Mar 2011, 02:59 PM
  4. 2 page URL in category issue with Simple SEO URL Manager
    By msladybug02 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 19 Nov 2010, 10:33 PM
  5. zen_href_link
    By nikfiend in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 8 Jun 2010, 11:09 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