Print link i content

General questions about CMSimple

Print link i content

Postby maeg » Sun Jan 22, 2012 12:30 pm

Hi

I'm writing website for a client.

In the header of the site, i have made a newsbox, so he easy can change the logo images.
In that newsbox we also have link to sitemap, contact us, ect.. and the last one is Print this site.

Sitemap i soloved like this link.
Code: Select all
?&sitemap


But the printlink is more tricky. If i use this
Code: Select all
?&print

It always shows the startpage.

How can do so when i hit the link it will shoe the current page??

thx in advance
maeg
 
Posts: 411
Joined: Fri Feb 20, 2009 2:27 pm
Location: Agerbæk, Denmark

Re: Print link i content

Postby cmb » Sun Jan 22, 2012 1:02 pm

Hi maeg,

if you're using CMSimple_XH 1.5.x, you can show the printlink for the current page by inserting the following in the newsbox:
Code: Select all
{{{PLUGIN:printlink();}}}

In older versions it's IMO impossible to get the right printlink without changing something in CMSimple's code.

Christoph
Christoph M. Becker---Plugins for CMSimple_XH
cmb
 
Posts: 5474
Joined: Tue Jun 21, 2011 11:04 am
Location: Germany

Re: Print link i content

Postby flukey92 » Wed Jan 25, 2012 4:38 pm

I was after this the other day but didnt wanna hassle you guys,

Will put this to use soon!

KR

flukey
RJS Electronics Ltd - LED Push Switches, LCD Programmable Keys, Anti Vandal Push Buttons, Relays, Custom Cable Assemblies
Visit my Web Hosting / Design website here - www.flukedesigns.co.uk
flukey92
 
Posts: 86
Joined: Thu Aug 11, 2011 9:39 am
Location: Bedford, UK


Return to General

Who is online

Users browsing this forum: No registered users and 2 guests