Results 1 to 10 of 1988

Hybrid View

  1. #1
    Join Date
    Feb 2009
    Location
    sunny southern Ontario
    Posts
    22
    Plugin Contributions
    0

    Default Re: Link Manager 3.0 Support Thread

    First off, thanks very much for making this mod available and providing support.

    The install went smoothly. The one problem that I have is getting category descriptions to show up. I've searched through this thread, looked through the php files included with the mod, checked my database to ensure that the descriptions are showing up at least there, but I'm stymied (and my knowledge of php, mysql, and the 'under the hood' stuff is pretty limited).

    I've created a couple of categories and entered descriptions. When I click on a category, the links show up fine, but instead of the description I get this:

    This content is located in the file at: /languages/english/html_includes/YOUR_TEMPLATE/define_links.php

    You can quickly edit this content via Admin->Tools->Define Pages Editor, and select define_links from the pulldown.


    Any help would be greatly appreciated.

  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Link Manager 3.0 Support Thread

    Quote Originally Posted by iCarp View Post
    First off, thanks very much for making this mod available and providing support.

    The install went smoothly. The one problem that I have is getting category descriptions to show up. I've searched through this thread, looked through the php files included with the mod, checked my database to ensure that the descriptions are showing up at least there, but I'm stymied (and my knowledge of php, mysql, and the 'under the hood' stuff is pretty limited).

    I've created a couple of categories and entered descriptions. When I click on a category, the links show up fine, but instead of the description I get this:

    This content is located in the file at: /languages/english/html_includes/YOUR_TEMPLATE/define_links.php

    You can quickly edit this content via Admin->Tools->Define Pages Editor, and select define_links from the pulldown.


    Any help would be greatly appreciated.
    That text is from the define_links.php file and has nothing to do with the category descriptions

  3. #3
    Join Date
    Feb 2009
    Location
    sunny southern Ontario
    Posts
    22
    Plugin Contributions
    0

    Default Re: Link Manager 3.0 Support Thread

    Thank you very much for your prompt reply.

    I know that the define_links.php file has nothing to do with the category descriptions. What I don't understand is why that is showing up rather than the category description I've entered when I click on a links category. That is my problem and why I made my initial post.

  4. #4
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Link Manager 3.0 Support Thread

    Quote Originally Posted by iCarp View Post
    Thank you very much for your prompt reply.

    I know that the define_links.php file has nothing to do with the category descriptions. What I don't understand is why that is showing up rather than the category description I've entered when I click on a links category. That is my problem and why I made my initial post.
    open includes/templates/YOUR_TEMPLATE/templates/tpl_links_default.php

    find the following section of code:

    PHP Code:
    <div class="linkstext"><a href="<?php echo zen_href_link(FILENAME_LINKS$lPath_new); ?>">
           <?php if (zen_not_null($categories_query->fields['link_categories_image'])) {
              echo 
    zen_links_image(DIR_WS_IMAGES $categories_query->fields['link_categories_image'], $categories_query->fields['link_categories_name'], LINK_CATEGORY_IMAGE_WIDTHLINK_CATEGORY_IMAGE_HEIGHT) . '<br />';
            } else {
              echo 
    zen_image(DIR_WS_IMAGES 'pixel_trans.gif'$categories_query->fields['link_categories_name'], LINK_CATEGORY_IMAGE_WIDTHLINK_CATEGORY_IMAGE_HEIGHT) . '<br />';
            } 
    ?>
    <?php 
    echo $categories_query->fields['link_categories_name']; ?></a></div>
    and replace it with the following:

    PHP Code:
    <div class="linkstext"><a href="<?php echo zen_href_link(FILENAME_LINKS$lPath_new); ?>">
           <?php if (zen_not_null($categories_query->fields['link_categories_image'])) {
              echo 
    zen_links_image(DIR_WS_IMAGES $categories_query->fields['link_categories_image'], $categories_query->fields['link_categories_name'], LINK_CATEGORY_IMAGE_WIDTHLINK_CATEGORY_IMAGE_HEIGHT) . '<br />';
            } else {
              echo 
    zen_image(DIR_WS_IMAGES 'pixel_trans.gif'$categories_query->fields['link_categories_name'], LINK_CATEGORY_IMAGE_WIDTHLINK_CATEGORY_IMAGE_HEIGHT) . '<br />';
            } 
    ?>
    <?php 
    echo $categories_query->fields['link_categories_name']; ?></a><br /><?php echo $categories_query->fields['link_categories_description']; ?></div>

  5. #5
    Join Date
    Feb 2009
    Location
    sunny southern Ontario
    Posts
    22
    Plugin Contributions
    0

    Default Re: Link Manager 3.0 Support Thread

    Thanks very much, once again.

    Making the suggested change gets rid of that odd define_links.php text showing up where my category description should be. But the links in the category also disappear and the links description still isn't showing up.

    Essentially, clicking on a category in the links box now takes me to a blank page.

  6. #6
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Link Manager 3.0 Support Thread

    Quote Originally Posted by iCarp View Post
    Thanks very much, once again.

    Making the suggested change gets rid of that odd define_links.php text showing up where my category description should be. But the links in the category also disappear and the links description still isn't showing up.

    Essentially, clicking on a category in the links box now takes me to a blank page.
    A link to your site would be really useful about now.

  7. #7
    Join Date
    Feb 2009
    Location
    sunny southern Ontario
    Posts
    22
    Plugin Contributions
    0

    Default Re: Link Manager 3.0 Support Thread

    Quote Originally Posted by clydejones View Post
    A link to your site would be really useful about now.
    Fair enough. I've installed this mod on two sites and have the same problem on both. I haven't had the links box turned on because of this problem- don't want to confuse my customers. But I just turned it on and you can see it here as originally installed without the edit to the php file that you suggested:

    Links Manager

    And this is how it appears with the edit:

    Links Manager php edit

    You'll also notice that all of my righthand side boxes have disappeared after making the change. This is a very lightly modified install of ZC, mostly on the admin side- Ultimate SEO, stock by attribute, and not much else.

    Thanks once again. Your time, patience, and help are greatly appreciated.

 

 

Similar Threads

  1. Testimonial Manager Support Thread
    By clydejones in forum All Other Contributions/Addons
    Replies: 1500
    Last Post: 4 Feb 2021, 04:12 PM
  2. v154 News Box Manager v2.0.0 [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 84
    Last Post: 19 Jan 2021, 04:17 PM
  3. Download File Manager Support Thread
    By balihr in forum All Other Contributions/Addons
    Replies: 24
    Last Post: 17 Aug 2017, 10:32 PM
  4. Poll Manager Support Thread
    By boudewijn in forum Addon Sideboxes
    Replies: 148
    Last Post: 27 Jan 2016, 09:53 AM
  5. Empty Cart Manager [support thread]
    By Steven300 in forum All Other Contributions/Addons
    Replies: 49
    Last Post: 26 May 2010, 10: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