Links on content site

About the template and stylesheet - and changing the menu
Post Reply
Bibber
Posts: 40
Joined: Mon Sep 08, 2008 2:01 pm

Links on content site

Post by Bibber » Wed Sep 17, 2008 3:56 pm

Hello,

I would like to make links to the other pages/subpages on the welcome page (in the content) (I'll keep the menu links as well) maybe make link with an icon or a picture - is that possible ?

Kind regards

Bibber

ZiPs
Posts: 633
Joined: Thu May 22, 2008 6:17 pm
Location: Faxe, Denmark
Contact:

Re: Links on content site

Post by ZiPs » Wed Sep 17, 2008 5:46 pm

Hi bibber

Yes this possible, look here

The code is like this

Code: Select all

<H1>Link med billeder</H1>
<p>This is link with pic and text</p>
<a href="?Link_med_billeder:Test_side1"><img src="./images/favicon/cmsimple_wiki.ico" border="0" alt="Test side1" />Test side1</a><br>
<a href="?Link_med_billeder:Test_side1:Test_side2"><img src="./images/favicon/cmsimple.ico" border="0" alt="Test side2" />Test side2</a><p>
This is only pic as link</p><p>
<a href="?Link_med_billeder:Test_side1"><img src="./images/favicon/cmsimple_wiki.ico" border="0" alt="Test side1" /></a>
<a href="?Link_med_billeder:Test_side1:Test_side2"><img src="./images/favicon/cmsimple.ico" border="0" alt="Test side2" /></a></p>
<h2>Test side1</h2>
<h3>Test side2</h3>
The images is in the folder images/favicon/

/ZiPs
Preben Dahl | Webmaster cmsimple.dk | Projekt-og domæne ejer Gert Ebersbach

Connie
Posts: 282
Joined: Thu May 22, 2008 10:11 am
Location: Hamburg
Contact:

Re: Links on content site

Post by Connie » Wed Sep 17, 2008 9:06 pm

In FCKeditor4CMSimple you can easily set sitelinks

and in the CSS file you can easily set an image as "content element":

Code: Select all

img:before{content:url(../images/unke.gif);}
|---
Connie Müller-Gödecke, http://www.webdeerns.de

ZiPs
Posts: 633
Joined: Thu May 22, 2008 6:17 pm
Location: Faxe, Denmark
Contact:

Re: Links on content site

Post by ZiPs » Wed Sep 17, 2008 11:45 pm

img:before{content:url(../images/unke.gif);}
Remember that content is not supported in IE yet http://www.w3schools.com/Css/...generatedcontent ;)

/ZiPs
Preben Dahl | Webmaster cmsimple.dk | Projekt-og domæne ejer Gert Ebersbach

Connie
Posts: 282
Joined: Thu May 22, 2008 10:11 am
Location: Hamburg
Contact:

Re: Links on content site

Post by Connie » Thu Sep 18, 2008 6:47 am

yes, shit as always in that browser.....
|---
Connie Müller-Gödecke, http://www.webdeerns.de

Post Reply