>>  Site Map >>  Forums >>  Blocks 6x

Forum module - topics in forum:



Blocks 6x - Discussions regarding PHP-Nuke Blocks.



[Resolved] Setting up Navigation Block

phpBB2 Main_Menu on 6.5.

Adding my own modules and setting up the drop down boxes. I get the feeling it's coding time and I'm scared Shocked

How to please?






Dont need to touch the dropdown boxes and as for adding modules use

Code: :
$content .= "<img src=images/blocks/icon_dot.gif>&nbsp;<a href=\"modules.php?name=Journal\">Journals</a><BR>\n";


obviously changing the relevant names. Smile






thank you. The dropdowns are currently empty is that right?

Here wanna laugh - I just found that user info block you said was there and I was overwriting d'oh! Embarassed Embarassed

*Me = Thicko of the Week*






Not empty no, preset, the download dropdown is this for example.

Code: :
/* Downloads */
$content .= "<img src=images/blocks/icon_downloads.gif>&nbsp;<a href=\"modules.php?name=Downloads\">"._BDOWNLOAD."</a><BR>\n";
$content .= "<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0>\n";
$content .= "<TR><FORM METHOD=GET ACTION=\"modules.php\">\n";
$content .= "<TD><img src=images/blocks/icon_select.gif>&nbsp;<SELECT NAME=\"name\" CLASS=\"boxcontent\" onChange=\"top.location.href=this.options[this.selectedIndex].value\">\n";
$content .= "<OPTION VALUE=\"\">"._BSELECT."";
$content .= "<OPTION VALUE=\"modules.php?name=Downloads&file=index&d_op=AddDownload\">"._BADDD."\n";
$content .= "<OPTION VALUE=\"modules.php?name=Downloads&file=index&d_op=MostPopular\">"._BPOP."\n";
$content .= "<OPTION VALUE=\"modules.php?name=Downloads&file=index&d_op=TopRated\">"._BRATE."\n";
$content .= "</SELECT></TD></TR></FORM></TABLE>";







Yes sorry I have that - so where do you add the module names?






By opening up the block-phpBB2_Main_Menu.php file in your text editor and adding them, nothing automatic with that I'm afraid. Sad Crying or Very sad






You know I've done that and being blonde again! Laughing






No prob's at least it's done. Smile




Attention! You are currently viewing sitemap page!
We strongly suggest to look at original content

Search from web

Valid HTML 4.01 Valid CSS