21
FDSG
Re: Wflinks - Mysql/Template Error
  • 2008/12/8 23:46

  • FDSG

  • Just popping in

  • Posts: 16

  • Since: 2008/11/30


Well this is too complicated for me.
Until now we have found the error, I am reassured.
I hope this can somehow be resolved.
With Love

22
ghia
Re: Wflinks - Mysql/Template Error
  • 2008/12/9 0:33

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


It was more an answer to McDonald his post.
You have indentified the problem as a possible interaction with the DH-Info module and I am sure if McDonald can simulate it, it will be resolved.
In the mean time, I think you can stay using the module. The additional empty blocs are more a beauty error than a real bug, because all needed info is displayed correct.

23
FDSG
Re: Wflinks - Mysql/Template Error
  • 2008/12/9 0:44

  • FDSG

  • Just popping in

  • Posts: 16

  • Since: 2008/11/30


True but I prefer währe if these flaws at the end of the query are displayed somewhere in the middle instead.

24
McDonald
Re: Wflinks - Mysql/Template Error
  • 2008/12/9 11:48

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


I am able to reproduce this issue with the DH-INFO module when I activate the Menublock.
Will later look for a solution.

Note: DH-INFO uses an old version of GIJOE's myblockadmin hack. This doesn't work well. A fixed version comes with SimplyWiki.

25
FDSG
Re: Wflinks - Mysql/Template Error
  • 2008/12/9 12:55

  • FDSG

  • Just popping in

  • Posts: 16

  • Since: 2008/11/30


Thank you
And what should I do now best?

26
McDonald
Re: Wflinks - Mysql/Template Error
  • 2008/12/9 13:49

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Just wait until I have a solution.

27
FDSG
Re: Wflinks - Mysql/Template Error
  • 2008/12/9 13:57

  • FDSG

  • Just popping in

  • Posts: 16

  • Since: 2008/11/30


I will make very grateful.

28
McDonald
Re: Wflinks - Mysql/Template Error
  • 2008/12/10 0:03

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Here's the solution I have for the moment. It's a fix for DH-INFO.
Open the file ../modules/info/templates/blocks/info_nav_block.html in an editor and replace ALL content with the following:
<table style="width:100%;" summary="Block">
  <
tr>
    <
td id="mainmenu">
      <{foreach 
item=ilink from=$block.links}>
         <{if 
$ilink.kategorie}>
            <{if 
$ilink.parent == 0}>
                <{if 
$ilink.click == 1}>
                    <
class="menuMainKat" href="<{$ilink.address}>" title="<{if $ilink.tooltip}><{$ilink.tooltip}><{else}><{$ilink.title}><{/if}>"><{$ilink.title}></a>
                 <{else}> 
                    <
class="menuMainKat"><{$ilink.title}></a>
                 <{/if}>
           <{else}>
                <{if 
$ilink.click == 1}>
                   <
class="menuSubKat" href="<{$ilink.address}>" title="<{if $ilink.tooltip}><{$ilink.tooltip}><{else}><{$ilink.title}><{/if}>"><{$ilink.title}></a>
                <{else}> 
                   <
class="menuSubKat"><{$ilink.title}></a>
                <{/if}>
           <{/if}>
        <{else}>
          <{if 
$ilink.parent == 0}>
            <{if 
$ilink.aktiv}>
              <
class="menuMainActive" href="<{$ilink.address}>" title="<{if $ilink.tooltip}><{$ilink.tooltip}><{else}><{$ilink.title}><{/if}>" <{if $ilink.target}>target=<{$ilink.target}><{/if}>><{$ilink.title}></a>
            <{else}>
               <
class="menuMain" href="<{$ilink.address}>" title="<{if $ilink.tooltip}><{$ilink.tooltip}><{else}><{$ilink.title}><{/if}>" <{if $ilink.target}>target=<{$ilink.target}><{/if}>><{$ilink.title}></a>
            <{/if}>
          <{else}>
            <{if 
$ilink.aktiv}>
              <
class="menuSubActive" href="<{$ilink.address}>" title="<{if $ilink.tooltip}><{$ilink.tooltip}><{else}><{$ilink.title}><{/if}>" <{if $ilink.target}>target=<{$ilink.target}><{/if}>><{$ilink.title}></a>
            <{else}>
              <
class="menuSub" href="<{$ilink.address}>" title="<{if $ilink.tooltip}><{$ilink.tooltip}><{else}><{$ilink.title}><{/if}>" <{if $ilink.target}>target=<{$ilink.target}><{/if}>><{$ilink.title}></a>
            <{/if}>
          <{/if}>
              <{/if}>
      <{/foreach}>
    </
td>
  </
tr>
</
table>

Save the file, upload the file, update DH-INFO and clear templates_c folder except the file index.html.

29
FDSG
Re: Wflinks - Mysql/Template Error
  • 2008/12/10 10:33

  • FDSG

  • Just popping in

  • Posts: 16

  • Since: 2008/11/30


It works! Thank you. Finally, it worked!
Thank you

30
McDonald
Re: Wflinks - Mysql/Template Error
  • 2008/12/14 22:31

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


I've updated WF-Links to version 1.07 which is mainly a maintenance release.
In version 1.07 I've made changes to the templates (viewcat and linkload) which should prevent the mysterious links in viewcat.
Als some other fixes have been added.
You can download WF-Links 1.07 Final here.

Changelog
- Fixed: mysterious links in catview
- Fixed: setting 'total amount of characters for description'
- Fixed: unclosed div-tag in wflinks_viewcat.html
- Fixed: unclosed div-tag in wflinks_print.html
- Fixed: body-tag declared twice in wflinks_print.html

Login

Who's Online

159 user(s) are online (100 user(s) are browsing Support Forums)


Members: 0


Guests: 159


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits