Trying to change list bullet to image

post everything related to phpwcms templates here
Post Reply
donpedro
Posts: 6
Joined: Sat 14. Mar 2009, 21:42

Trying to change list bullet to image

Post by donpedro »

Sorry if this is a bump, but the forum search enginge will not use the words I need to use; they are "to common", so no search I made generated any useful results.

1. I'm trying to get an image instead of the ordinary bullet in links to other articles, but the bullet remains.

I have theese settings in conf.template_default.inc.php:

Code: Select all

$template_default['article']['link_sign'] = '<img src="img/article/extlink_1.gif" alt="" /><img src="img/leer.gif" width="1" height="11" alt="" />';
------
$template_default['article']['link_article_sign'] = '<img src="img/article/intlink_1.gif" alt="" /><img src="img/leer.gif" width="1" height="11" alt="" />';
$template_default['article']['link_article_class'] = 'articleLinkInternal';
and I have put the image I want to use in

Code: Select all

img/article/intlink_1.gif
Are there any other settings I should make?

2. I would also like to have the link not to be "in-drawn"; I would like it to be an ordinary text link but with my image first.

3. The link is started with the category name, I would like to remove that.

I have managed to make all this in an much older installation of PHPWCMS, that's where the "wanted" part of the image I have attached comes from. But I cannot find out how I did!

Most grateful for any help!
Attachments
This is how it looks, and how I want it to look.
This is how it looks, and how I want it to look.
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Re: Trying to change list bullet to image

Post by juergen »

is hard to say without source..

normaly the list-style type is changed by CSS and the content of the link comes from either template or in worth case source code.
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: Trying to change list bullet to image

Post by flip-flop »

Hi,

first, some questions to find a solution:
- What CMS version do you use?
- With which CP the article links are generated?

In newer versions many variables in conf.template_default.inc.php are no more queried, since own Templates exists for CPs.
All you need is a custom template for the relevant CP.

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
donpedro
Posts: 6
Joined: Sat 14. Mar 2009, 21:42

Re: Trying to change list bullet to image

Post by donpedro »

The costum template made it! Thanks for great support :D
Post Reply