[-- LINK --] (more info)

General ShopSite user discussion

[-- LINK --] (more info)

Postby Don Lundell » Sat Aug 27, 2005 10:31 pm

The reason I ask is that the contents of this variable the page templates
is defined as <td>[-- LINK --]</td>

The [-- LINK --] text ends up getting on a newline (with a bunch of whitespace).

This causes spacing problems for some browsers.

I'd like to fix the formatting of the [-- LINK --] variable (remove the space).

- dc
Don Lundell
 

Re: [-- LINK --] (more info)

Postby jim » Mon Aug 29, 2005 7:27 am

Formatting around the [-- LINK --] comes from 2 places. Code inside the
[-- loop links --]
[-- end_loop links --]
section itself and from the link definition in the page template section
[-- DEFINE LINK_TO_PAGE --]
[-- END_DEFINE LINK_TO_PAGE --]

The <td> </td> are probably comming from code within the Loop links
section. The newline and white space are probably coming from the
define link_to_page section. (They might also be coming from the Link
text itself which would be the page name or page link name)

Jim

Don Lundell wrote:
The reason I ask is that the contents of this variable the page templates
is defined as <td>[-- LINK --]</td

The [-- LINK --] text ends up getting on a newline (with a bunch of
whitespace).

This causes spacing problems for some browsers.

I'd like to fix the formatting of the [-- LINK --] variable (remove the
space).

- dc
jim
 

Postby redthruviolet » Fri Dec 29, 2006 9:49 am

Don Lundell:

You may have already found a solution, but I thought I'd tell you what I did, anyway.

I had the same problem.

I found that the format of the display of the LINK "command" comes from the DEFINE LINK_TO_PAGE block of the template of the page link being displayed.

So, I created a Custom Template, changed the formatting in the DEFINE LINK_TO_PAGE block, and then assigned this new Template to the pages whose links will be displayed.

It worked!

Happy Holidays,

Susan
redthruviolet
 
Posts: 3
Joined: Thu Dec 28, 2006 2:26 pm
Location: CA


Return to User Forum

Who is online

Users browsing this forum: No registered users and 98 guests