Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff
Author Message
phoenix-cms
Worker
Worker



Joined: Aug 05, 2005
Posts: 139

PostPosted: Wed Sep 07, 2005 11:44 pm Reply with quote

hi need little help see if i can dig someone memory
in modules to show one function if is active in modules you is_active

like if is_active (Downloads)

how would i do the same as this for a block

like block-custom-info-block as i have 2 different functions but only want to show the function thats used if thats active

if that makes sence

Laughing

thanks
 
View user's profile Send private message Send e-mail
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Fri Sep 09, 2005 12:12 pm Reply with quote

Please clarify this for me. I'm sure what you're asking is possible but I need clarification. Thanks.
 
View user's profile Send private message
phoenix-cms







PostPosted: Fri Sep 09, 2005 12:35 pm Reply with quote

like the code that shows use this function if this block is active else use another function

basally atm i have it like this and i not 100% sure if this right

if ($phpnukemode ==1) {
then code
elseif ($cpgmode ==2) {
thencode
}else{ ($postnukemode ==3) {

any idears as some functions will have 2 or 3 alternatives

thanks

steve
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff

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 ©