Icy Phoenix

     
 

[MOD] Tab Menu For Icy

[MOD] Tab Menu For Icy

Article
Reply with quote    Download Post  
Post Re: [MOD] Tab Menu For Icy 
 
I haven't read about your probs but isn't there a simpler way to achieve this, without even editing the core template files (overall_header.tpl) ? I mean, the position where you put the navigation bar is already possible to get simply via the CMS. Why not making, simply, a new global menu here and that you'll modify on your own such as any other CMS block ? It means only 1 file change, complete integration (because it's a native way to do it) and no optional files changes. I'm " almost " sure it's possible. If you don't find out how-to, I'll check by myself and, when I'll get the result you want (such as t_tabmenu2_182) then I'll show the solution here.



 
Yros - View user's profile Send private message  
Yros [ Tue 15 Feb, 2011 03:37 ]
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us


[MOD] Tab Menu For Icy

Comments
Reply with quote    Download Post  
Post Re: [MOD] Tab Menu For Icy 
 
CMS is global and possibly wouldn't suit all templates. Don't know - Haven't looked at it!

But I would be more inclined to copy default/overall_header.tpl to the root of the template in use and remove the nav menu script.

Then I would create a file menu1.tpl and simply <!-- INCLUDE it in the overall_header.tpl.

Then you could have menu2.tpl and or menu3 etc to compliment other style themes.

That's what I would do because even if the menu is "Strictly" css driven - It probably wont suit every template no matter how it's configured!  

By the same token, one could also edit the default/overall_header.tpl to include a menu for each style (if it exists) using the T_TPL_PATH.

 



 
mort - View user's profile Send private message  
mort [ Tue 15 Feb, 2011 04:55 ]
Reply with quote    Download Post  
Post Re: [MOD] Tab Menu For Icy 
 
sorry a question, how do I add this menu to "darkphoenix"

Thanks!




 
Madara - View user's profile Send private message  
Madara [ Sun 01 May, 2011 19:35 ]
Reply with quote    Download Post  
Post Re: [MOD] Tab Menu For Icy 
 
Madara wrote: [View Post]
sorry a question, how do I add this menu to "darkphoenix"

Thanks!


Find the instructions in the file.



 
TopoMotoV3X - View user's profile Send private message  
TopoMotoV3X [ Sun 01 May, 2011 19:39 ]
Reply with quote    Download Post  
Post Re: [MOD] Tab Menu For Icy 
 
TopoMotoV3X wrote: [View Post]
Madara wrote: [View Post]
sorry a question, how do I add this menu to "darkphoenix"

Thanks!


Find the instructions in the file.


I did the instructions of mod but I dont worked.



 
Madara - View user's profile Send private message  
Madara [ Sun 01 May, 2011 19:46 ]
Reply with quote    Download Post  
Post Re: [MOD] Tab Menu For Icy 
 
surely you have done something wrong, many people have installed this mod, no one has ever had problems.

Repeat the installation, you'll see that everything works... if you have problems, we do together step by step.

Regards.



 
TopoMotoV3X - View user's profile Send private message  
TopoMotoV3X [ Sun 01 May, 2011 19:52 ]
Reply with quote    Download Post  
Post Re: [MOD] Tab Menu For Icy 
 
TopoMotoV3X wrote: [View Post]
surely you have done something wrong, many people have installed this mod, no one has ever had problems.

Repeat the installation, you'll see that everything works... if you have problems, we do together step by step.

Regards.


Ok, thanks.

just a thing I do not understand, how do I put the image of darkphoenix?

--> mid_8faedd031502d91a48228255d4f5f87f_dark_tab_style



 
Madara - View user's profile Send private message  
Madara [ Sun 01 May, 2011 20:00 ]
Reply with quote    Download Post  
Post Re: [MOD] Tab Menu For Icy 
 
In the attached file, you will find a folder called "Dark", you put it into the folder "tab_style"

then open the file "style_dark.css"and then:

Code: [Download] [Hide] [Select]
@import url("../default/common.css");
@import url("../common/common_colors.css");
@import url("../common/FAP.css");
@import url("../common/dock.css");
@import url("style_dark_colors.css");


 Post this:

Code: [Download] [Hide] [Select]
@import url("tab_style/dark/menu_style.css");


Regards.

dark_tab_menu.zip
Description:  
Download
Filename: dark_tab_menu.zip
Filesize: 1.34 KB
Downloaded: 185 Time(s)




 
TopoMotoV3X - View user's profile Send private message  
TopoMotoV3X [ Sun 01 May, 2011 20:27 ]
Reply with quote    Download Post  
Post Re: [MOD] Tab Menu For Icy 
 
I did it all over again

results:

http://k.min.us/jnBqDY.png



 
Madara - View user's profile Send private message  
Madara [ Sun 01 May, 2011 21:29 ]
Reply with quote    Download Post  
Post Re: [MOD] Tab Menu For Icy 
 
where are the buttons?
Give me the link to your site please.



 
TopoMotoV3X - View user's profile Send private message  
TopoMotoV3X [ Sun 01 May, 2011 21:37 ]
Reply with quote    Download Post  
Post Re: [MOD] Tab Menu For Icy 
 
here <--

Edit:

problem solved, the logo was bad.

Thanks so much for the mod and the help TopoMotoV3X.



 
Madara - View user's profile Send private message  
Madara [ Sun 01 May, 2011 21:43 ]
Reply with quote    Download Post  
Post Re: [MOD] Tab Menu For Icy 
 
Could do for morpheus?

 sin_t_tulo_2

This is my overal_header :

Code: [Download] [Hide] [Select]
{DOCTYPE_HTML}
<head>
<!-- INCLUDE overall_inc_header.tpl -->
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-19326611-7']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
</head>
<body>
<span><a name="top"></a></span>
{TOP_HTML_BLOCK}
{PROFILE_VIEW}
<!-- {GREETING_POPUP} -->

<div style="margin:5px;">
<div align="center"><table width="1258" cellspacing="0" cellpadding="0"align="center">
    <tr>  
       <a href="{FULL_SITE_PATH}{U_PORTAL}"><img src="{FULL_SITE_PATH}{SITELOGO}" height="150" width="1258" alt="{L_HOME}" /></a>  
       </tr>
       <br />
<tr>
    <td style="height: 22px;"><img src="{FULL_SITE_PATH}{T_IMAGESET_PATH}/buttons_left1.gif" width="9" height="22" alt="" /></td>
    <td class="buttons1" align="center" valign="top">
        <table border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td width="12" align="right"><img src="{FULL_SITE_PATH}{T_IMAGESET_PATH}buttons_left2.gif" width="12" height="22" alt="" /></td>
            <td class="buttons" nowrap="nowrap">
                <a href="{FULL_SITE_PATH}{U_PORTAL}">{L_HOME}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
                <a href="{FULL_SITE_PATH}{U_INDEX}">{L_INDEX}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
                <a href="{FULL_SITE_PATH}{U_SHOP}" target="_blank">Articulos</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
                <!-- BEGIN switch_upi2db_off -->
                <a href="{FULL_SITE_PATH}{U_SEARCH_NEW}">{L_NEW2}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
                <!-- END switch_upi2db_off -->
                <!-- BEGIN switch_upi2db_on -->
                <span >{L_POSTS}:&nbsp;</span><a href="{FULL_SITE_PATH}{U_SEARCH_NEW}">{L_NEW2}</a><span >&nbsp;•&nbsp;</span>{L_DISPLAY_U}<span >&nbsp;•&nbsp;</span>{L_DISPLAY_M}<span >&nbsp;•&nbsp;</span>{L_DISPLAY_P}&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
                <!-- END switch_upi2db_on -->
                <!-- IF S_LOGGED_IN -->
                <a href="{FULL_SITE_PATH}{U_PROFILE}">{L_PROFILE}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
                <a href="http://www.phonesfera.com/fileboxfone.php"target="_blank">Filebox</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
                <!-- ENDIF -->
                <a href="{FULL_SITE_PATH}{U_SEARCH}">{L_SEARCH}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
                <a href="http://www.phonesfera.com/faq-s-vf60.html"target="_blank">{L_FAQ}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
                <!-- IF not S_LOGGED_IN -->
                <style type="text/css">

#topbar{
position:absolute;
border: 0px solid black;
padding: 2px red;
background-color: ;
width: 620px;
visibility: hidden;
z-index: 200;
}

</style>

<script type="text/javascript">

/***********************************************
* Floating Top Bar script- � Dynamic Drive (www.dynamicdrive.com)
* Sliding routine by Roy Whittle (http://www.javascript-fx.com/)
* This notice must stay intact for legal use.
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

var persistclose=0 //set to 0 or 1. 1 means once the bar is manually closed, it will remain closed for browser session
var startX = 30 //set x offset of bar in pixels
var startY = 5 //set y offset of bar in pixels
var verticalpos="fromtop" //enter "fromtop" or "frombottom"

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document.cookie.indexOf(";", offset);
if (end == -1) end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}

function closebar(){
if (persistclose)
document.cookie="remainclosed=1"
document.getElementById("topbar").style.visibility="hidden"
}

function staticbar(){
    barheight=document.getElementById("topbar").offsetHeight
    var ns = (navigator.appName.indexOf("Netscape") != -1) || window.opera;
    var d = document;
    function ml(id){
        var el=d.getElementById(id);
        if (!persistclose || persistclose && get_cookie("remainclosed")=="")
        el.style.visibility="visible"
        if(d.layers)el.style=el;
        el.sP=function(x,y){this.style.left=x+"px";this.style.top=y+"px";};
        el.x = startX;
        if (verticalpos=="fromtop")
        el.y = startY;
        else{
        el.y = ns ? pageYOffset + innerHeight : iecompattest().scrollTop + iecompattest().clientHeight;
        el.y -= startY;
        }
        return el;
    }
    window.stayTopLeft=function(){
        if (verticalpos=="fromtop"){
        var pY = ns ? pageYOffset : iecompattest().scrollTop;
        ftlObj.y += (pY + startY - ftlObj.y)/8;
        }
        else{
        var pY = ns ? pageYOffset + innerHeight - barheight: iecompattest().scrollTop + iecompattest().clientHeight - barheight;
        ftlObj.y += (pY - startY - ftlObj.y)/8;
        }
        ftlObj.sP(ftlObj.x, ftlObj.y);
        setTimeout("stayTopLeft()", 10);
    }
    ftlObj = ml("topbar");
    stayTopLeft();
}

if (window.addEventListener)
window.addEventListener("load", staticbar, false)
else if (window.attachEvent)
window.attachEvent("onload", staticbar)
else if (document.getElementById)
window.onload=staticbar
</script>

<div id="topbar">
<a href="" onClick="closebar(); return false"><img src="http://phonesfera.com/images/cierraventanadeslizante.png" border="0" /></a>
<a href="http://www.phonesfera.com/profile.php?mode=register"><img src="http://phonesfera.com/images/ventanadeslizante.png" width="350" height="150" border="0" tittle="Phonesfera.com" /></a>
</div>
                <a href="{FULL_SITE_PATH}{U_REGISTER}">{L_REGISTER}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
                <!-- ENDIF -->
                <a href="{FULL_SITE_PATH}{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT2}</a>
            </td>
            <td width="12" align="left"><img src="{FULL_SITE_PATH}{T_IMAGESET_PATH}buttons_right2.gif" width="12" height="22" alt="" /></td>
        </tr>
        </table>
    </td>
    <td><img src="{FULL_SITE_PATH}{T_IMAGESET_PATH}buttons_right1.gif" width="9" height="22" alt="" /></td>
</tr>

{TPL_CONTENT_TOPNAV1}<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
    <td class="navbar-links" align="left">&nbsp;</td>
    <td class="navbar-text" align="right">&nbsp;</td>
</tr>
</table>{TPL_CONTENT_TOPNAV2}
<table width="100%" align="center" cellspacing="0" cellpadding="0" border="0">

<!-- IF S_PAGE_NAV --><tr><td width="100%" colspan="3"><div style="margin-left: 7px; margin-right: 7px;"><!-- INCLUDE breadcrumbs_main.tpl --></div></td></tr><!-- ENDIF -->

<!-- INCLUDE overall_inc_body.tpl -->


Is complicated for my



 
My_PeSePe - View user's profile Send private message  
My_PeSePe [ Tue 10 May, 2011 01:31 ]
Reply with quote    Download Post  
Post Re: [MOD] Tab Menu For Icy 
 
I did this on ip.it

Quote:
For morpheus, was a bit more challenging, having overall_header.tpl dedicated, forward I had to change the space devoted to the buttons, then 6 images...

From this:
original_morpheus

To this:
tab_morpheus


Regards.

tab_menu_morpheus.zip
Description:  
Download
Filename: tab_menu_morpheus.zip
Filesize: 25.75 KB
Downloaded: 182 Time(s)




 
TopoMotoV3X - View user's profile Send private message  
TopoMotoV3X [ Tue 10 May, 2011 06:51 ]
Reply with quote    Download Post  
Post Re: [MOD] Tab Menu For Icy 
 
And I told him that they were going to be problems

 sin_t_tulo_1



 
My_PeSePe - View user's profile Send private message  
My_PeSePe [ Tue 10 May, 2011 09:58 ]
Reply with quote    Download Post  
Post Re: [MOD] Tab Menu For Icy 
 
TopoMotoV3X wrote: [View Post]


* If you use UPI2DB Mod on  active or selected by user, you must delete the word "Messages" from on lang_main_upi2db.php for obvious reasons of space.

  



 
TopoMotoV3X - View user's profile Send private message  
TopoMotoV3X [ Tue 10 May, 2011 11:40 ]
Display posts from previous:    

HideWas this topic useful?

Post new topic  Reply to topic  Page 2 of 3
Goto page Previous  1, 2, 3  Next
 




 


 

  cron