Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

drop down menu

Asked Modified Viewed 3,877 times
2
29sd102
2
  • Member, joined since
  • Contributed 107 posts on the community forums.
  • Started 26 threads in the forums
  • Started this discussions
asked
Member

where can i get the drop down menu for v7.07

thanks
0 replies

18 posts

S
smokeman
S
  • Veteran Member, joined since
  • Contributed 920 posts on the community forums.
  • Started 79 threads in the forums
answered
Veteran Member

The one used here on php-fusion.co.uk is incl. in the theme bifrost.

But there's anothere dropdown menu here: http://www.phpfusion-tips.dk/infusion...hp?did=131
0 replies
2
29sd102
2
  • Member, joined since
  • Contributed 107 posts on the community forums.
  • Started 26 threads in the forums
  • Started this discussions
answered
Member

Thanks for this,

pat
102;)
0 replies
— 2 months later —
H
Homdax
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,246 posts on the community forums.
  • Started 108 threads in the forums
answered
Fusioneer

I am getting that danish menu for my 2Dark danish theme. :P

Only hoping it will be compatible enough.
0 replies
S
smokeman
S
  • Veteran Member, joined since
  • Contributed 920 posts on the community forums.
  • Started 79 threads in the forums
answered
Veteran Member

Quote

Homdax wrote:
I am getting that danish menu for my 2Dark danish theme. :P

Only hoping it will be compatible enough.


Then take a look here - because that theme ain't written after the standard = it's missing the function showbanners()

http://www.php-fusion.co.uk/forum/vie...ost_149612
0 replies
H
Homdax
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,246 posts on the community forums.
  • Started 108 threads in the forums
answered
Fusioneer

Yeah, noticed. Using Harly's Enigma instead, but gonna modify some stuff.
0 replies
S
smokeman
S
  • Veteran Member, joined since
  • Contributed 920 posts on the community forums.
  • Started 79 threads in the forums
answered
Veteran Member

Is it a public site you will post a link to ?
0 replies
H
Homdax
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,246 posts on the community forums.
  • Started 108 threads in the forums
answered
Fusioneer

www.hwaccess.net

Barely upped to 7.01.4 and I need to customize banners and stuff.
0 replies
H
Homdax
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,246 posts on the community forums.
  • Started 108 threads in the forums
answered
Fusioneer

OMG, this requires some work...B)
0 replies
R
Rolf Mayer
R
Ex
  • Senior Member, joined since
  • Contributed 391 posts on the community forums.
  • Started 7 threads in the forums
answered
Senior Member

That's no problem for you, is it? :)
0 replies
H
Homdax
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,246 posts on the community forums.
  • Started 108 threads in the forums
answered
Fusioneer

Well the dropdown "could" maybe pick up the default theme of the site upon installation. Perhaps a tip for the developer?
I do not even know if it is possible, so this is not a complaint, Smokie...:P
As it is I have to hotlink all the menu images used by the theme and in correct order as well...
0 replies
S
smokeman
S
  • Veteran Member, joined since
  • Contributed 920 posts on the community forums.
  • Started 79 threads in the forums
answered
Veteran Member

It's not really hard to implement it - take a look here: www.dev.dvdside.dk

But open up the theme.php and find this:
[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]<div id='menu'>[/syntaxhighlighter]
- change it to:
[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]<div id='menu1'>[/syntaxhighlighter]

Then open up the styles.css and find this:
[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]#menu {
height:16px;
margin:0;
padding:0 0
}

#menu ul {
list-style-type:none;
margin:0;
padding:0;
}

#menu li {
overflow:hidden;
background-image:none;
white-space:nowrap;
padding:0 2px;
float:right;
}

#menu li a {
display:block;
background-position:0 0;
}

#menu ul li {
display:inline;
}[/syntaxhighlighter]
- change it to:
[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]#menu1 {
height:16px;
margin:0;
padding:0 0
}

#menu1 ul {
list-style-type:none;
margin:0;
padding:0;
}

#menu1 li {
overflow:hidden;
background-image:none;
white-space:nowrap;
padding:0 2px;
float:right;
}

#menu1 li a {
display:block;
background-position:0 0;
}

#menu1 ul li {
display:inline;
}[/syntaxhighlighter]
- this will prevent a conflict regarding the Css Dropdown Menu - because I use the same style-definition for my dropdown menu. And it won't "work together" if we have 2 the same definitions.

If you want I can post a screenshot of the setup of the menu appereance ? - and attach these images/backgroundimages for the menu too.
0 replies
H
Homdax
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,246 posts on the community forums.
  • Started 108 threads in the forums
answered
Fusioneer

Just keep an eye on the site since I am changing it live...
Rite now its uuuugly...


Thanks for the tip!
0 replies
S
smokeman
S
  • Veteran Member, joined since
  • Contributed 920 posts on the community forums.
  • Started 79 threads in the forums
answered
Veteran Member

If you want it here's my complete setup for the menu:

theme.php (changed so the ecisting menu go away):
[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]<?php
/*------------------------------------------------------+
| PHPFusion Content Management System |
| Copyright (C) 2002 - 2010 Nick Jones |
| http://www.php-fusion.co.uk/ |
+-------------------------------------------------------+
| This program is released as free software under the |
| Affero GPL license. You can redistribute it and/or |
| addonify it under the terms of this license which you |
| can read by viewing the included agpl.txt or online |
| at www.gnu.org/licenses/agpl.html. Removal of this |
| copyright header is strictly prohibited without |
| written permission from the original author(s). |
+------------------------------------------------------*/
/*------------------------------------------------------+
| Theme Enigma for PHPFusion v7 |
+-------------------------------------------------------+
| Filename: theme.php |
| Author: Harly Petersen |
| Homepage: http://php-fusion.openworld.dk/ |
+-------------------------------------------------------+
| This theme is released under the terms and conditions |
| of the GNU Affero GPL v3. |
+------------------------------------------------------*/
if (!defined("IN_FUSION"wink) { die("Access Denied"wink; }

define("THEME_BULLET", "<img class='bullet' src='".THEME."images/bullet.gif' alt='bullet.gif' />"wink;
define("THEME_WIDTH", "97%"wink;
require_once INCLUDES."theme_functions_include.php";

function render_page($license=false) {

global $settings, $main_style, $locale, $aidlink, $userdata;

if (file_exists(THEME."locale/".$settings['locale'].".php"wink) {
include THEME."locale/".$settings['locale'].".php";
} else {
include THEME."locale/English.php";
}

//Log-in
echo "<table cellspacing='0' cellpadding='0' style='width:100%;height:30px;'><tr>";
/*if (iMEMBER) {
echo "<td class='login' align='left' valign='middle'>".$locale['l01']."&nbsp;<a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."'><b>".$userdata['user_name']."</b></a></td>";
$msg_count = dbcount("(message_id)", DB_MESSAGES, "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'"wink;

echo "<td class='login' align='right' valign='middle'>
<div id='menu'>
<ul>
<li><a id='logout' href='".BASEDIR."setuser.php?logout=yes' title='".$locale['global_124']."'></a></li>
".(iADMIN ? "<li><a id='admin' href='".ADMIN."index.php".$aidlink."' title='".$locale['global_123']."'></a></li> \n" : ""wink."
<li><a id='userlist' href='".BASEDIR."members.php' title='".$locale['global_122']."'></a></li>
<li><a id='profile' href='".BASEDIR."edit_profile.php' title='".$locale['global_120']."'></a></li>
<li><a id='pm' href='".BASEDIR."messages.php' title='".$locale['global_121']."'></a></li>
<li><a href='".BASEDIR."messages.php'>";if ($msg_count){echo"&nbsp;<span id='msgcount'>[$msg_count]</span>";}echo"</a></li>
</ul>
</div>
</td>";
}
else {*/
if (iGUEST) {
echo "<td class='login' align='left' valign='middle' width='20%'></td>";
echo "<td class='login' align='center' valign='middle'>";
echo "".(isset($loginerror) ? $loginerror : ""wink."
<form name='loginform1' method='post' action='".FUSION_SELF."'>
".$locale['global_101'].":&nbsp;
<input type='text' name='user_name' class='textbox' style='width:100px;'/>&nbsp;
".$locale['global_102'].":&nbsp;
<input type='password' name='user_pass' class='textbox' style='width:100px;'/>&nbsp;
<input type='checkbox' class='checkbox' name='remember_me' style='height:12px' value='y' title='".$locale['global_103']."' />
<input type='submit' name='login' value='".$locale['global_104']."' class='button'/>
</form></td>\n";
echo "<td class='login' align='right' valign='middle' width='20%'>
<div id='menu1'>
<ul>
<li><a id='lp' href='".BASEDIR."lostpassword.php' title='".$locale['global_108']."'></a></li>
".($settings['enable_registration'] ? "<li><a id='register' href='".BASEDIR."register.php' title='".$locale['global_107']."'></a></li> \n" : ""wink."
</ul>
</div>
</td>";
//}
}

echo "</tr></table>\n";

//Header
echo "<table cellspacing='0' cellpadding='0' style='width:100%;height:145px;'>";
echo "<tr>";
echo "<td class='header' align='center'>".showbanners()."</td>\n";
echo "</tr>\n";
echo "</table>\n";

//Subheader
echo "<div class='sub-header' style='width:100%;'>";
echo "<table cellpadding='0' cellspacing='0' style='height:30px;' class='center'><tr>";
echo "<td>";
//include THEME."TinyDropdown/tinydropdown.php";
include INFUSIONS."css_dropdown_menu/menu.php";
echo "</td>\n";
echo "</tr>\n</table>\n";
echo "</div>";
echo "<div class='sub-shadow' style='width:100%;'></div>";

//Content
echo "<table cellpadding='0' cellspacing='0' width='".THEME_WIDTH."' class='center'>";
echo "<tr>";
if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
echo "</tr>\n";
echo "</table>\n";

//Footer
echo "<table cellpadding='0' cellspacing='0' width='100%'>";
echo "<tr>";
echo "<td align='center' class='main-footer'>".stripslashes($settings['footer'])."</td>\n";
echo "</tr>\n";
echo "</table>\n";
echo "<table cellpadding='0' cellspacing='0' style='width:100%;height:40px;'>";
echo "<tr>";
echo "<td align='left' class='counter' style='width:20%;border-right:1px solid #2C292C;'>".showcounter()."</td>";
echo "<td align='center' class='footer'>".showcopyright()."</td>";
echo "<td align='right' class='footer' style='width:20%;border-left:1px solid #000;'>Theme <b>Enigma</b> by <a href='http://php-fusion.openworld.dk/' target='blank'>Harly</a></td>\n";
echo "</tr>\n";
echo "</table>\n";

}

function render_news($subject, $news, $info) {

echo "<table cellpadding='0' cellspacing='0' width='100%'>";
echo "<tr>";
echo "<td class='capmain-left'></td>";
echo "<td class='capmain'>$subject</td>\n";
echo "<td class='capmain-right'></td>";
echo "</tr>\n";
echo "</table>\n";
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
echo "<tr>";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' style='width:5px;height:1px;display:block;' alt='blank.gif' /></td>";
echo "<td class='news-body middle-border'>".$news."</td>\n";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' style='width:5px;height:1px;display:block;' alt='blank.gif' /></td>";
echo "</tr>\n<tr>\n";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' style='width:5px;height:1px;display:block;' alt='blank.gif' /></td>";
echo "<td align='center' class='news-footer middle-border'>\n";
echo newsposter($info," &middot;"wink.newsopts($info,"&middot;"wink.itemoptions("N",$info['news_id']);
echo "</td>\n";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' style='width:5px;height:1px;display:block;' alt='blank.gif' /></td>";
echo "</tr>\n";
echo "</table>\n";
echo "<table cellspacing='0' cellpadding='0' style='width:100%;'><tr>";
echo "<td align='left'><img src='".THEME."/images/capmain-b-left.png' alt='capmain-b-left.png' style='width:5px;height:13px;' /></td>";
echo "<td align='center' class='capmain-b' width='100%'></td>";
echo "<td align='right'><img src='".THEME."/images/capmain-b-right.png' alt='capmain-b-right.png' style='width:5px;height:13px;' /></td>";
echo "</tr>\n</table>\n";
echo "<div class='spacer2'></div>";
}

function render_article($subject, $article, $info) {

echo "<table cellpadding='0' cellspacing='0' style='width:100%;'>";
echo "<tr>";
echo "<td class='capmain-left'></td>";
echo "<td class='capmain'>$subject</td>\n";
echo "<td class='capmain-right'></td>";
echo "</tr>\n";
echo "</table>\n";
echo "<table width='100%' cellpadding='0' cellspacing='0'>\n<tr>\n";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' style='width:5px;height:1px;display:block;' alt='blank.gif' /></td>";
echo "<td class='news-body middle-border'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>\n";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' style='width:5px;height:1px;display:block;' alt='blank.gif' /></td>";
echo "</tr>\n<tr>\n";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' style='width:5px;height:1px;display:block;' alt='blank.gif' /></td>";
echo "<td align='center' class='news-footer middle-border'>\n";
echo articleposter($info," &middot;"wink.articleopts($info,"&middot;"wink.itemoptions("A",$info['article_id']);
echo "</td>\n";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' style='width:5px;height:1px;display:block;' alt='blank.gif' /></td>";
echo "</tr>\n";
echo "</table>\n";
echo "<table cellspacing='0' cellpadding='0' style='width:100%;'><tr>";
echo "<td align='left'><img src='".THEME."/images/capmain-b-left.png' alt='capmain-b-left.png' style='width:5px;height:13px;' /></td>";
echo "<td align='center' class='capmain-b' width='100%'></td>";
echo "<td align='right'><img src='".THEME."/images/capmain-b-right.png' alt='capmain-b-right.png' style='width:5px;height:13px;' /></td>";
echo "</tr>\n</table>\n";
echo "<div class='spacer2'></div>";

}

function opentable($title, $collapse = false, $state = "on"wink {

global $panel_collapse; $panel_collapse = $collapse;

echo "<table cellpadding='0' cellspacing='0' style='width:100%;'>";
echo "<tr>";
echo "<td class='capmain-left'></td>";
echo "<td class='capmain'>$title</td>";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "<td class='capmain' align='right'>".panelbutton($state, $boxname)."</td>\n";
}
echo "<td class='capmain-right'></td>";
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' style='width:100%;'>\n<tr>\n";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' style='width:5px;height:1px;display:block;' alt='blank.gif' /></td>";
echo "<td colspan='2' class='main-body'>\n";
if ($collapse == true) { echo panelstate($state, $boxname); }

}

function closetable() {

global $panel_collapse;

if ($panel_collapse == true) { echo "</div>\n"; }
echo "</td>\n";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' style='width:5px;height:1px;display:block;' alt='blank.gif' /></td>";
echo "</tr>\n";
echo "</table>\n";
echo "<table cellspacing='0' cellpadding='0' style='width:100%;'><tr>";
echo "<td align='left'><img src='".THEME."/images/capmain-b-left.png' alt='capmain-b-left.png' style='width:5px;height:13px;' /></td>";
echo "<td align='center' class='capmain-b' width='100%'></td>";
echo "<td align='right'><img src='".THEME."/images/capmain-b-right.png' alt='capmain-b-right.png' style='width:5px;height:13px;' /></td>";
echo "</tr>\n</table>\n";
echo "<div class='spacer2'></div>";
}

function openside($title, $collapse = false, $state = "on"wink {

global $panel_collapse; $panel_collapse = $collapse;

echo "<table cellpadding='0' cellspacing='0' style='width:100%;height: 30px;'>";
echo "<tr>";
echo "<td class='scapmain'>$title</td>\n";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "<td class='on-off-bg' align='right'>".panelbutton($state, $boxname)."</td>\n";
}
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' style='width:100%;'><tr>";
echo "<td colspan='2' class='side-body'>\n";
if ($collapse == true) { echo panelstate($state, $boxname); }

}

function closeside() {

global $panel_collapse;

if ($panel_collapse == true) { echo "</div>\n"; }
echo "</td>\n";
echo "</tr>\n";
echo "</table>\n";
echo "<table cellspacing='0' cellpadding='0' style='width:100%;'>";
echo "<tr>";
echo "<td class='sideb'></td>";
echo "</tr>\n";
echo "</table>\n";
echo "<div class='spacer'></div>";

}

?>[/syntaxhighlighter]

Setup for the menu:
- see attached image..
smokeman attached the following file:
css_ddm_appereance.jpg [No information available / 93 Downloads]
0 replies
S
smokeman
S
  • Veteran Member, joined since
  • Contributed 920 posts on the community forums.
  • Started 79 threads in the forums
answered
Veteran Member

And here's the two images attached:
main_bg.png
main_bg_hoover.png

They goes for the infusions image-folder.
smokeman attached the following file:
iimages_for_css_ddm_enigma.zip [No information available / 331 Downloads]
0 replies
H
Homdax
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,246 posts on the community forums.
  • Started 108 threads in the forums
answered
Fusioneer

You embarras me...I am at work and have no time for the regular implementation until tonite. How am I gonna learn anything if you just put the solution up all done? :P

I am very grateful nevertheless so DONT DELETE IT! :D
0 replies
S
smokeman
S
  • Veteran Member, joined since
  • Contributed 920 posts on the community forums.
  • Started 79 threads in the forums
answered
Veteran Member

Quote

Homdax wrote:
How am I gonna learn anything if you just put the solution up all done? :P

- Hehe, you have a point there.. Iknow you're kiddin but I've being told the same many times before - lol - I guess it's just the way "I am built". :D
0 replies
H
Homdax
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,246 posts on the community forums.
  • Started 108 threads in the forums
answered
Fusioneer

Lol, you dont even wanna see what I wrote at your site....
0 replies
H
Homdax
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,246 posts on the community forums.
  • Started 108 threads in the forums
answered
Fusioneer

Following my own rules I have taken further questions upon this at Smokies site.
0 replies

Category Forum

Panels and Infusions

Labels

None yet

Statistics

  • Views 0 views
  • Posts 18 posts
  • Votes 0 votes
  • Topic users 4 members

4 participants

H
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,246 posts on the community forums.
  • Started 108 threads in the forums
S
S
  • Veteran Member, joined since
  • Contributed 920 posts on the community forums.
  • Started 79 threads in the forums
2
2
  • Member, joined since
  • Contributed 107 posts on the community forums.
  • Started 26 threads in the forums
  • Started this discussions
R
R
Ex
  • Senior Member, joined since
  • Contributed 391 posts on the community forums.
  • Started 7 threads in the forums

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet