Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks
Author Message
corporalstorm
Hangin' Around


Joined: Nov 06, 2006
Posts: 46

PostPosted: Fri Jun 08, 2007 3:37 pm Reply with quote

Ok.. I'm running Raven's Nuke v10 but didn't see support forum for it.. Figured this was best..

Basically I'm trying to change the way blocks are handled.. In Raven's v10 we know that $title in the blocks.php file pulls the title of the block and shows it.

What I want to do is make $title actually pull a graphic file and place it instead of plain text. How do I set the $title in the blocks file under blocks/ for what I want it to be? I was reading the readme file and it said if I don't designate a $title then it will use the title off the filename, but yet says nothing about where to put it..

Thanks in advance guys! Raven and the Team.. v10 IS AMAZING! I am converting my entire site fresh from phpNuke 8.. You blew it away with all your fixes..


Last edited by corporalstorm on Fri Jun 08, 2007 10:30 pm; edited 1 time in total 
View user's profile Send private message
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Fri Jun 08, 2007 4:32 pm Reply with quote

Title is pulled from the database, you can just edit it through the Blocks system in your admin panel

_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
corporalstorm
PostPosted: Fri Jun 08, 2007 4:50 pm Reply with quote

evaders99 wrote:
Title is pulled from the database, you can just edit it through the Blocks system in your admin panel


Ah.. So instead just edit the block and make the title an img code instead of just plain text.. Simple Smile

Thanks evader.. You rock as always man!
 
corporalstorm
PostPosted: Fri Jun 08, 2007 10:32 pm Reply with quote

Ok that worked perfect.. Except.. I can't get this one set.. When your logged in as Admin you get two Admin Blocks.. One is in the blocks list as Administration.. I renamed it to the correct image and it shows.. Except for the block that has this info;

· Submissions: 0
· Waiting Reviews: 0
· Waiting Links: 0
· Mod. Links: 0
· Broken Links: 0
· Downloads: 0
· Mod. Downloads: 0
· Broken Downloads: 0


Where can I find that? I have a feeling I will need ot hardcode that one.. Anyone know where its at in a php file?
 
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Fri Jun 08, 2007 10:59 pm Reply with quote

It is hardcoded in mainfile.php in the function adminblock().

_________________
Only registered users can see links on this board! Get registered or login! - An Event Calendar for PHP-Nuke
Only registered users can see links on this board! Get registered or login! - A Google Maps Nuke Module 
View user's profile Send private message
corporalstorm
PostPosted: Sat Jun 09, 2007 12:27 am Reply with quote

Thanks! That worked!
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks

View next topic
View previous 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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©