Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2015
    Posts
    2
    Plugin Contributions
    0

    Default Changing Title Link of a Blank Sidebox

    I'm using Zen 1.54 with the blank sidebox module. Everything works fine. I'd like to make the title into a hyperlink much like the "Reviews" side box has "Reviews [more]" (if I click on "Reviews [more]" it brings me to my intended destination). So far my search has led me to a line in \includes\modules\sideboxes\blank_sidebox.php that reads, "$title_link = false;"

    Apparently replacing 'false' with a page address will create a link. My problem is that I can't control where the link goes. I'm guessing that I can replace 'false' with a URL inserted between apostrophes. Yet if I do something like: $title_link = 'http://google.com';
    I end up on: my_site_name/zen_store/index.php?main_page=google.com

    What is the proper way to enter the URL? Do I need to create a definition somewhere (although I'm not really sure what that entails)?

    Thanks

  2. #2
    Join Date
    Apr 2015
    Posts
    2
    Plugin Contributions
    0

    Default Re: Changing Title Link of a Blank Sidebox

    OK, I think I fixed this enough to get by. Just in case anyone's interested - I believe that you can only use the pages already in the store. I decided to use 'page 2' and so I altered two files. In \includes\modules\sideboxes\blank_sidebox.php I altered the line, "$title_link = false;" to "$title_link = LINK_BLANK_SIDEBOX;" (no quotation marks). Then I opened \includes\languages\english\extra_definitions\blank_sidebox_defines.php and added the line, "define('LINK_BLANK_SIDEBOX', 'page_2');" after the other definitions.

    Now the blank sidebox title acts as a hyperlink that opens "page 2" in the main column.

  3. #3
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Changing Title Link of a Blank Sidebox

    I believe that you can only use the pages already in the store
    You can create your own pages - for how see the about us module in the plugins area
    There are about eight files/edits that are required to create your own page
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. changing ezpages sidebox title
    By troymation in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 24 Nov 2011, 02:31 PM
  2. Changing Title of ezpages sidebox
    By standnbang in forum Basic Configuration
    Replies: 3
    Last Post: 10 Jan 2011, 08:18 PM
  3. Changing sidebox title fonts
    By livingstons in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 25 Apr 2008, 07:16 AM
  4. Remove title from blank sidebox
    By marknew in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 22 Nov 2007, 08:19 AM
  5. New sidebox is adopting reviews sidebox title link.
    By stevenicel in forum Basic Configuration
    Replies: 0
    Last Post: 29 Nov 2006, 12:02 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