1
technobia
Print & Email function for XPress 2.04
  • 2006/8/12 22:33

  • technobia

  • Not too shy to talk

  • Posts: 122

  • Since: 2006/4/17


I have Xpress 2.04 (WordPress for Xoops) installed for a blog and would like to add some code that will allow readers to print or email specific pages to friends like what is available in the News and AMS modules.

Noticing that the code is the same in both other modules I thought that simply pasting the code in the correct page would do the trick. I was wrong! I pasted in:

NOTE: I took out the leading <'s and trailing >'s for each line of the following so I could get the code to display in this post.
====================================================
a href="print.php?storyid=<{$story.id}"

imgsrc="images/print.gif" border="0" alt="<{$lang_printerpage}>" />
a target="_top" href="<{$mail_link}>"

img src="images/friend.gif" border="0" alt="<$lang_sendstory}>" />
====================================================

In the wordpress/templates/wprdpress/comments.php file but it doesn’t work and I am not really experienced enough to know how to figure out what is wrong or how to fix it. I suspect perhaps I put it in the wrong file??? Not to mention perhaps a syntax error considering the following.

With the Print function I get the following browser error:

“Page could not be found” with this URL ../wordpress/print.php?storyid=<{$story.id}>

With the Email function I get the following browser error:

Bad Request (Invalid URL)
with this URL ../wordpress/<{$mail_link}>

I would appreciate some guidance
Thanks, Technobia
http://www.PrideDEPOT.com
Everybody Has A Right!

2
technobia
Re: Print & Email function for XPress 2.04
  • 2006/8/16 1:28

  • technobia

  • Not too shy to talk

  • Posts: 122

  • Since: 2006/4/17


Anybody???
Thanks, Technobia
http://www.PrideDEPOT.com
Everybody Has A Right!

Login

Who's Online

324 user(s) are online (251 user(s) are browsing Support Forums)


Members: 0


Guests: 324


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits