|
Page 2 of 3
|
Yros
Joined: April 2009
Posts: 283
Location:
|
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 ) then I'll show the solution here.
|
#16 Tue 15 Feb, 2011 03:37 |
|
Sponsors
|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
mort
Spam Basher
Joined: August 2010
Posts: 998
Location: Up a tree
|
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.
|
#17 Tue 15 Feb, 2011 04:55 |
|
Madara
Joined: February 2009
Posts: 40
|
Re: [MOD] Tab Menu For Icy
sorry a question, how do I add this menu to "darkphoenix"
Thanks!
|
#18 Sun 01 May, 2011 19:35 |
|
TopoMotoV3X
Joined: January 2008
Posts: 120
Location: Sardinia/Cagliari
|
Re: [MOD] Tab Menu For Icy
sorry a question, how do I add this menu to "darkphoenix"
Thanks!
Find the instructions in the file.
____________ IP Version: 1.3.0.53b
Server: Linux
|
#19 Sun 01 May, 2011 19:39 |
|
Madara
Joined: February 2009
Posts: 40
|
Re: [MOD] Tab Menu For Icy
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.
|
#20 Sun 01 May, 2011 19:46 |
|
TopoMotoV3X
Joined: January 2008
Posts: 120
Location: Sardinia/Cagliari
|
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.
____________ IP Version: 1.3.0.53b
Server: Linux
|
#21 Sun 01 May, 2011 19:52 |
|
Madara
Joined: February 2009
Posts: 40
|
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.
Ok, thanks.
just a thing I do not understand, how do I put the image of darkphoenix?
-->
|
#22 Sun 01 May, 2011 20:00 |
|
TopoMotoV3X
Joined: January 2008
Posts: 120
Location: Sardinia/Cagliari
|
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:
@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:
@import url("tab_style/dark/menu_style.css");
Regards.
Description: |
|
Download |
Filename: |
dark_tab_menu.zip |
Filesize: |
1.34 KB |
Downloaded: |
187 Time(s) |
____________ IP Version: 1.3.0.53b
Server: Linux
|
#23 Sun 01 May, 2011 20:27 |
|
TopoMotoV3X
Joined: January 2008
Posts: 120
Location: Sardinia/Cagliari
|
Re: [MOD] Tab Menu For Icy
where are the buttons?
Give me the link to your site please.
____________ IP Version: 1.3.0.53b
Server: Linux
|
#25 Sun 01 May, 2011 21:37 |
|
Madara
Joined: February 2009
Posts: 40
|
Re: [MOD] Tab Menu For Icy
here <--
Edit:
problem solved, the logo was bad.
Thanks so much for the mod and the help TopoMotoV3X.
|
#26 Sun 01 May, 2011 21:43 |
|
My_PeSePe
Joined: February 2010
Posts: 36
Location:
|
Re: [MOD] Tab Menu For Icy
Could do for morpheus?
This is my overal_header :
{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> <img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />
<a href="{FULL_SITE_PATH}{U_INDEX}">{L_INDEX}</a> <img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />
<a href="{FULL_SITE_PATH}{U_SHOP}" target="_blank">Articulos</a> <img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />
<!-- BEGIN switch_upi2db_off -->
<a href="{FULL_SITE_PATH}{U_SEARCH_NEW}">{L_NEW2}</a> <img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />
<!-- END switch_upi2db_off -->
<!-- BEGIN switch_upi2db_on -->
<span >{L_POSTS}: </span><a href="{FULL_SITE_PATH}{U_SEARCH_NEW}">{L_NEW2}</a><span > • </span>{L_DISPLAY_U}<span > • </span>{L_DISPLAY_M}<span > • </span>{L_DISPLAY_P} <img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />
<!-- END switch_upi2db_on -->
<!-- IF S_LOGGED_IN -->
<a href="{FULL_SITE_PATH}{U_PROFILE}">{L_PROFILE}</a> <img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />
<a href="http://www.phonesfera.com/fileboxfone.php"target="_blank">Filebox</a> <img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />
<!-- ENDIF -->
<a href="{FULL_SITE_PATH}{U_SEARCH}">{L_SEARCH}</a> <img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />
<a href="http://www.phonesfera.com/faq-s-vf60.html"target="_blank">{L_FAQ}</a> <img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />
<!-- 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> <img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />
<!-- 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"> </td>
<td class="navbar-text" align="right"> </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
____________ Version de Icy Phoenix: 1.3.0.53b
Hosting: Dedicado RM Hosts
URL: www.phonesfera.com & www.ps3fan.es & www.mypesepe.es
|
#27 Tue 10 May, 2011 01:31 |
|
TopoMotoV3X
Joined: January 2008
Posts: 120
Location: Sardinia/Cagliari
|
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:
To this:
Regards.
Description: |
|
Download |
Filename: |
tab_menu_morpheus.zip |
Filesize: |
25.75 KB |
Downloaded: |
184 Time(s) |
____________ IP Version: 1.3.0.53b
Server: Linux
|
#28 Tue 10 May, 2011 06:51 |
|
TopoMotoV3X
Joined: January 2008
Posts: 120
Location: Sardinia/Cagliari
|
Re: [MOD] Tab Menu For Icy
* 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.
____________ IP Version: 1.3.0.53b
Server: Linux
|
#30 Tue 10 May, 2011 11:40 |
|
|
Page 2 of 3
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
You cannot post new topics You cannot reply to topics You cannot edit your posts You cannot delete your posts You cannot vote in polls You cannot attach files You can download files You cannot post calendar events
|
|
|
|