MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: germanizing the [more]-tag?



******    message to minivend-users from Frank Miedreich <miedreich@acm.org>     ******

>******    message to minivend-users from Thomas Walter <tw@mail.itreff.de>
>******
>
>Just a short question again...
>
>Is there a way to get the "previous 1 2 3 next" - output of [more]
>translated to german?
>Or is using images the only way to do this ?
>
>
>     Balu

Only way I know is to edit the minivend source file:
lib/Vend/Interpolate.pm

In the subroutine tag_more_list (line 2811 in 3.11)

replace the assignment for $prev_anchor and $next_anchor with German
equivalents. In the code for the assignment of $prev_items you will also
find the line: $list .= '</A>'; You may want to add a space after the </A>.
Looks better in the output.

You will need to restart minivend for the change to take effect.


Make a backup of Interpolate.pm before you start. Usually I would also
suggest not to do this with a DOS-95 or DOS-NT editor, but I suppose there
is no danger you would do that anyway.

Cheers, Frank

--
Frank Miedreich
Max-Planck-Institut fuer psychologische Forschung


-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: