You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 62 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - displaying image in title of news [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
metaxlog
Nuke Soldier
Nuke Soldier


Joined: Mar 30, 2005
Posts: 19


PostPosted: Tue Apr 05, 2005 9:08 am Reply with quoteBack to top

hi, i was trying to see if i can put a tiny jpg image in the title of news on the main page, but html is not allowed there. i don't know any php so i was thinking that maybe you guys can help me Laughing

what i'm trying to do is something like this; a lot of people use the @ sign to display events in the title as shown below:

monday april 4 @ my house
sunday @ rock concert

i want to replace the @ with a little icon just to make it original, by inserting an image with html. i got it working in the read more view of the news, but not in the main page.
to make it work on the news module all i did was change this:

every where i saw this line on the articles.php file:


Code:
$title = stripslashes(check_html($row['title'], "nohtml"));




I edited the line to this:


Code:
$title = stripslashes($row['title']);


that worked for the news module it self; but not for the news preview on the first page of nuke. I looked around the index file and the mainfile but didnt see any obious thing; i don't know php. Sad

any suggestings?
thanks! Wink
Find all posts by metaxlogView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.148 Seconds - 134 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::