Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post BEGIN/END Tags In Order To See Specific Content (IcyPhoenix) 
 
Hi guys.

At XS I made the following sky bar (the red rounded):

skybar

And I used this TAGS:

Code: [Download] [Hide] [Select]

<!-- BEGIN switch_user_logged_in -->

<!-- END switch_user_logged_in -->
------------------------------------------------------
<!-- BEGIN switch_user_logged_out -->

<!-- END switch_user_logged_out -->


to specific when a link was visible for an user, and when for a guest.

Ok, now with IcyPhoenix no one of that TAGS run. Links stay visible for everyone, so for example the Register link now is visible both for an user and a guest, instead of just the guest, who isn't registered, do I explain?

That SkyBar was OK, and I would like to know, if it's possible, what to do, to make the bar run at Icy.

Thanky!!
 



 
Lord KaraduraSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: BEGIN/END Tags In Order To See Specific Content (IcyPhoe 
 
same tags  

remember it is overall_header_sq.tpl
 




____________
*VOLVO CLUB*
 
difusSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: BEGIN/END Tags In Order To See Specific Content (IcyPhoe 
 
Yes, I had seen that TAGS were the same, so I don't understand why don't run.

And, of course, I did it at overall_header_SQ.tpl


Any idea?

___________

Oh my goddess!!
 



 
Lord KaraduraSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: BEGIN/END Tags In Order To See Specific Content (IcyPhoe 
 
Perhaps it may be due to putting the menu bar within the DIV of header. I have tried it, and I've seen that if I put the bar under the DIV, the TAGS work, but if I put it within the DIV, do not work. The problem is that I must keep it within the DIV, because forum's edges become bad if I keep the menu bar out, however inside they stay ok. Some idea?

Thanks
 



 
Lord KaraduraSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: BEGIN/END Tags In Order To See Specific Content (IcyPhoe 
 
Maybe MG can help you Lord Karadura.

Your header looks nice

One hint, on every site the music plays automaticly. In my opinion it's not so good.
 



 
TheSteffenSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: BEGIN/END Tags In Order To See Specific Content (IcyPhoe 
 
Thanks, TheSteffen. Yes it looks fine, but I had to delete the both right and left shadows in order not to get the forum deformed. If MG finds a way to keep them, I'll be pleased.

Greetings !!

PD: Yes, music is exasperating, cause every refresh makes it start again. I was trying, but I will surely remove it.
 



 
Lord KaraduraSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: BEGIN/END Tags In Order To See Specific Content (IcyPhoe 
 
Lord Karadura wrote: [View Post]
Perhaps it may be due to putting the menu bar within the DIV of header. I have tried it, and I've seen that if I put the bar under the DIV, the TAGS work, but if I put it within the DIV, do not work. The problem is that I must keep it within the DIV, because forum's edges become bad if I keep the menu bar out, however inside they stay ok. Some idea?

Try to post here that code, so I can check.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: BEGIN/END Tags In Order To See Specific Content (IcyPhoe 
 
Ok, here is the overall_header_sq.tpl code. The Sky banner is DOWN the header, out of the Div:

Code: [Download] [Hide] [Select]
<!-- TOP LINKS -->

<center><table width="100%" height="70" border="0" cellpadding="0" cellspacing="0">
          <!--DWLayoutTable-->
            
            <tr>
              <!-- BEGIN mg_switch_user_is_admin -->
              <td width="11%" height="42" valign="top">&nbsp;</td>
              <!-- END mg_switch_user_is_admin -->
              <td width="11%" height="42" align="center" valign="top" style="text-align: center; font-size: 11px; color: #FF1010;"><a href="{U_PORTAL}"><img src="images/webtitle/menu/inicio.png" width="42" height="42" border="0" /></a></td>
              <td width="11%" height="42" align="center" valign="top" style="text-align: center; font-size: 11px; color: #FF1010;"><a href="{U_INDEX}"><img src="images/webtitle/menu/foro.png" width="42" height="42" border="0" /></a></td>
              <td width="11%" align="center" valign="top" style="text-align: center; font-size: 11px; color: #FF1010;"><a href="{U_DOWNLOADS}"><img src="images/webtitle/menu/descargas.png" width="42" height="42" border="0" /></a></td>
              <td width="11%" align="center" valign="top" style="text-align: center; font-size: 11px; color: #FF1010;"><a href="viewforum.php?f=3"><img src="images/webtitle/menu/videos.png" width="42" height="42" border="0" /></a></td>
              <td width="11%" height="42" align="center" valign="top" style="text-align: center; font-size: 11px; color: #FF1010;"><a href="{U_BOARDRULES}"><img src="images/webtitle/menu/normas.png" width="42" height="42" border="0" /></a></td>
              
              <!-- BEGIN switch_user_logged_in -->
              <td width="11%" height="42" align="center" valign="top" style="text-align: center; font-size: 11px; color: #FF1010;"><a href="{U_PROFILE}"><img src="images/webtitle/menu/paneldecontrol.png" width="42" height="42" border="0" /></a></td>
              <!-- END switch_user_logged_in -->
              
              <!-- <td align="center" style="text-align: center; font-size: 11px; color: #FF1010;"><div align="center"><a href="{U_SEARCH_NEW}"><img src="file:///D|/Documentos de Sergio/Mis imágenes/imagenes web/nuevo.png" alt="{L_NEW2}" width="42" height="42" border="0" /></a></div></td> -->
            
             <!-- BEGIN switch_user_logged_out -->
              <td width="11%" height="42" align="center" valign="top" style="text-align: center; font-size: 11px; color: #FF1010;"><a href="{U_REGISTER}"><img src="images/webtitle/menu/registrarse.png" width="42" height="42" border="0" /></a></td>
              <!-- END switch_user_logged_out -->
              <td width="11%" height="42" align="center" valign="top" style="text-align: center; font-size: 11px; color: #FF1010;"><a href="{U_SEARCH}"><img src="images/webtitle/menu/buscar.png" width="42" height="42" border="0" /></a></td>
              <td width="11%" height="42" align="center" valign="top" style="text-align: center; font-size: 11px; color: #FF1010;"><a href="{U_LOGIN_LOGOUT}"><img src="images/webtitle/menu/conectarse.png" width="42" height="42" border="0" /></a></td>
          </tr>
            <tr>
              <!-- BEGIN mg_switch_user_is_admin -->
              <td width="11%" align="center" valign="top" style="text-align: center; font-size: 11px; color: #FF1010;"><b>{ADMIN_LINK}</b></td>
              <!-- END mg_switch_user_is_admin -->
              <td width="11%" align="center" valign="top" class="Estilo1" style="text-align: center; font-size: 11px; color: #C6A946;"><a href="{U_PORTAL}" class="Estilo1">{L_HOME}</a></td>
              <td width="11%" align="center" valign="top" class="Estilo1" style="text-align: center; font-size: 11px; color: #FF1010;"><a href="{U_INDEX}" class="Estilo1">{L_INDEX}</a></td>
              <td width="11%" align="center" valign="top" class="Estilo1" style="text-align: center; font-size: 11px; color: #C6A946;"><a href="{U_DOWNLOADS}" class="Estilo1">{L_DOWNLOADS}</a></td>
              <td width="11%" align="center" valign="top" class="Estilo1" style="text-align: center; font-size: 11px; color: #FF1010;"><a href="viewforum.php?f=3" class="Estilo1">Videos</a></td>
              <td width="11%" align="center" valign="top" style="text-align: center; font-size: 11px; color: #FF1010;"><a href="{U_BOARDRULES}" class="Estilo1">{L_BOARDRULES}</a></td>
              <!-- BEGIN switch_user_logged_in -->
              <td width="11%" align="center" valign="top" style="text-align: center; font-size: 11px; color: #FF1010;"><a href="{U_PROFILE}" class="Estilo1">{L_CPL_NAV}</a></td>
              <!-- END switch_user_logged_in -->
              
              <!-- <td valign="top" style="text-align: center; font-size: 11px; color: #FF1010;"><div align="center"><a href="{U_SEARCH_NEW}">{L_NEW2}</a></div></td> -->
              
              <!-- BEGIN switch_user_logged_out -->
              <td width="11%" align="center" valign="top" style="text-align: center; font-size: 11px; color: #FF1010;"><a href="{U_REGISTER}" class="Estilo1"><b>{L_REGISTER}</b></a></td>
              <!-- END switch_user_logged_out -->
              <td width="11%" align="center" valign="top" style="text-align: center; font-size: 11px; color: #FF1010;"><a href="{U_SEARCH}" class="Estilo1" onMouseOver="dropdownmenu(this, event, menu1, '250px')" onMouseOut="delayhidemenu()">{L_SEARCH}</a></td>
              <td width="11%" align="center" valign="top"><a href="{U_LOGIN_LOGOUT}" class="Estilo1">{L_LOGIN_LOGOUT}</a><strong>
              <!-- BEGIN switch_user_logged_out -->
              &nbsp;
              <!-- END switch_user_logged_out -->
              </strong></td>
          </tr>
      </table>
      </center>
<!-- BEGIN switch_header_table -->
<tr>
<td width="100%" colspan="3">
    <center>
    <table class="forumline" width="90%" cellspacing="0" cellpadding="0">
        <tr><td class="row-header"><span>{L_STAFF_MESSAGE}</span></td></tr>
        <tr>
            <td class="row-post"><div class="post-text">
                <br /><div class="post-text">{switch_header_table.HEADER_TEXT}</div><br /><br /></div>
            </td>
        </tr>
    </table>
    </center>
</td>
</tr>
<!-- END switch_header_table -->


And it would look like this:

withinthedivs

As you can see, I had to delete the shadow_borders from the CSS, because it got deformed.

Watch the third button from the right, it's the Register button, and it appears ok.

Now, the next would be the code for the Skybaner IN the header's Div:

Code: [Download] [Hide] [Select]
<div id="top_logo">
   <!-- BEGIN switch_header_banner -->
   <table width="100%" height="200" cellpadding="0" cellspacing="0">
           <tr>
             <td align="right"><img src="templates/mg_themes/images/{TPL_COLOR}/webtitle_l.gif" width="40" height="200"></td>
             <td class="webtitle"><center>{HEADER_BANNER_CODE} </center></td>
             <td align="left"><img src="templates/mg_themes/images/{TPL_COLOR}/webtitle_r.gif" width="40" height="200"></td>
           </tr>
         </table>
         <table width="100%" height="70" border="0" cellpadding="0" cellspacing="0">
         <!--DWLayoutTable-->
          
           <tr>
             <!-- BEGIN mg_switch_user_is_admin -->
             <td width="11%" height="42" valign="top">&nbsp;</td>
             <!-- END mg_switch_user_is_admin -->
             <td width="11%" height="42" align="center" valign="top" style="text-align: center; font-size: 11px; color: #FF1010;"><a href="{U_PORTAL}"><img src="images/webtitle/menu/inicio.png" width="42" height="42" border="0" /></a></td>
             <td width="11%" height="42" align="center" valign="top" style="text-align: center; font-size: 11px; color: #FF1010;"><a href="{U_INDEX}"><img src="images/webtitle/menu/foro.png" width="42" height="42" border="0" /></a></td>
             <td width="11%" align="center" valign="top" style="text-align: center; font-size: 11px; color: #FF1010;"><a href="{U_DOWNLOADS}"><img src="images/webtitle/menu/descargas.png" width="42" height="42" border="0" /></a></td>
             <td width="11%" align="center" valign="top" style="text-align: center; font-size: 11px; color: #FF1010;"><a href="viewforum.php?f=3"><img src="images/webtitle/menu/videos.png" width="42" height="42" border="0" /></a></td>
             <td width="11%" height="42" align="center" valign="top" style="text-align: center; font-size: 11px; color: #FF1010;"><a href="{U_BOARDRULES}"><img src="images/webtitle/menu/normas.png" width="42" height="42" border="0" /></a></td>
            
             <!-- BEGIN switch_user_logged_in -->
             <td width="11%" height="42" align="center" valign="top" style="text-align: center; font-size: 11px; color: #FF1010;"><a href="{U_PROFILE}"><img src="images/webtitle/menu/paneldecontrol.png" width="42" height="42" border="0" /></a></td>
             <!-- END switch_user_logged_in -->
            
             <!-- <td align="center" style="text-align: center; font-size: 11px; color: #FF1010;"><div align="center"><a href="{U_SEARCH_NEW}"><img src="file:///D|/Documentos de Sergio/Mis imágenes/imagenes web/nuevo.png" alt="{L_NEW2}" width="42" height="42" border="0" /></a></div></td> -->
          
            <!-- BEGIN switch_user_logged_out -->
             <td width="11%" height="42" align="center" valign="top" style="text-align: center; font-size: 11px; color: #FF1010;"><a href="{U_REGISTER}"><img src="images/webtitle/menu/registrarse.png" width="42" height="42" border="0" /></a></td>
             <!-- END switch_user_logged_out -->
             <td width="11%" height="42" align="center" valign="top" style="text-align: center; font-size: 11px; color: #FF1010;"><a href="{U_SEARCH}"><img src="images/webtitle/menu/buscar.png" width="42" height="42" border="0" /></a></td>
             <td width="11%" height="42" align="center" valign="top" style="text-align: center; font-size: 11px; color: #FF1010;"><a href="{U_LOGIN_LOGOUT}"><img src="images/webtitle/menu/conectarse.png" width="42" height="42" border="0" /></a></td>
         </tr>
           <tr>
             <!-- BEGIN mg_switch_user_is_admin -->
             <td width="11%" align="center" valign="top" style="text-align: center; font-size: 11px; color: #FF1010;"><b>{ADMIN_LINK}</b></td>
             <!-- END mg_switch_user_is_admin -->
             <td width="11%" align="center" valign="top" class="Estilo1" style="text-align: center; font-size: 11px; color: #C6A946;"><a href="{U_PORTAL}" class="Estilo1">{L_HOME}</a></td>
             <td width="11%" align="center" valign="top" class="Estilo1" style="text-align: center; font-size: 11px; color: #FF1010;"><a href="{U_INDEX}" class="Estilo1">{L_INDEX}</a></td>
             <td width="11%" align="center" valign="top" class="Estilo1" style="text-align: center; font-size: 11px; color: #C6A946;"><a href="{U_DOWNLOADS}" class="Estilo1">{L_DOWNLOADS}</a></td>
             <td width="11%" align="center" valign="top" class="Estilo1" style="text-align: center; font-size: 11px; color: #FF1010;"><a href="viewforum.php?f=3" class="Estilo1">Videos</a></td>
             <td width="11%" align="center" valign="top" style="text-align: center; font-size: 11px; color: #FF1010;"><a href="{U_BOARDRULES}" class="Estilo1">{L_BOARDRULES}</a></td>
             <!-- BEGIN switch_user_logged_in -->
             <td width="11%" align="center" valign="top" style="text-align: center; font-size: 11px; color: #FF1010;"><a href="{U_PROFILE}" class="Estilo1">{L_CPL_NAV}</a></td>
             <!-- END switch_user_logged_in -->
            
             <!-- <td valign="top" style="text-align: center; font-size: 11px; color: #FF1010;"><div align="center"><a href="{U_SEARCH_NEW}">{L_NEW2}</a></div></td> -->
            
             <!-- BEGIN switch_user_logged_out -->
             <td width="11%" align="center" valign="top" style="text-align: center; font-size: 11px; color: #FF1010;"><a href="{U_REGISTER}" class="Estilo1"><b>{L_REGISTER}</b></a></td>
             <!-- END switch_user_logged_out -->
             <td width="11%" align="center" valign="top" style="text-align: center; font-size: 11px; color: #FF1010;"><a href="{U_SEARCH}" class="Estilo1" onMouseOver="dropdownmenu(this, event, menu1, '250px')" onMouseOut="delayhidemenu()">{L_SEARCH}</a></td>
             <td width="11%" align="center" valign="top"><a href="{U_LOGIN_LOGOUT}" class="Estilo1">{L_LOGIN_LOGOUT}</a><strong>
             <!-- BEGIN switch_user_logged_out -->
             &nbsp;
             <!-- END switch_user_logged_out -->
             </strong></td>
         </tr>
     </table>
         <!-- END switch_header_banner --></div>


Look how the button before has disappeared, as well as the Profile button (if logged on):

withinthedivs2

It's unbelievable.

Saluti!

ADDED:

Please, take also note, if you can,  that the nav_div (Home>Forum>Etc..) gets some increased height since I installed the Skybar, and I know no way to reduce again:

Before:

nav2

After:

nav1

Thanks.
 



 
Last edited by Lord Karadura on Wed 07 Feb, 2007 01:00; edited 1 time in total 
Lord KaraduraSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: BEGIN/END Tags In Order To See Specific Content (IcyPhoe 
 
Sorry, but I can't understand what the problem is...

It seems to work fine to me...

Can you please highlight only the SkyBanner code?
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: BEGIN/END Tags In Order To See Specific Content (IcyPhoe 
 
Ok, I shorted It a bit. The first shows the TOP LINKS code, and the second show the same code but inside the header div. When the code is placed in the div, the Tags don't work.

 
 



 
Lord KaraduraSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: BEGIN/END Tags In Order To See Specific Content (IcyPhoe 
 
Why are you using the switch_header_banner?

That is meant only for google ads... or some other banner you insert in ACP.

Why you can't use that HTML code outside the switch?

Sorry, but maybe I've not understood what you need.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: BEGIN/END Tags In Order To See Specific Content (IcyPhoe 
 
Oops, I didn't use the right word, maybe. When I talk about "Sky Banner" I mean the Menu Buttons down the title, those buttons in which i've added a image over each of them. There is the problem, the tags don't run when I try to make disappear some of those buttons, with their respective image. Cause I placed that Menu Bar down the title, but IN the table where the title is, instead of OUT of the table. Then, when the Menu Bar is out of the table, the tags fail, but borders keep OK. However, if I place the Menu Bar IN the table, next to the title (with a breakline) the tags are ok, but borders get deformed, and Resizing in FFox causes a bothering efect. Should I give it up ?  

 
 



 
Lord KaraduraSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: BEGIN/END Tags In Order To See Specific Content (IcyPhoe 
 
Never give up...

I'll try to help you to get this sorted out.

Can you please take two extra snapshot of your problem, with and without your code, inserting a circle or an arrow indicating the problems... then attach in a zip files both snapshots and overall_header, so I can take a better look at the problem?

Thanks.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: BEGIN/END Tags In Order To See Specific Content (IcyPhoe 
 
Strange, but I tried a last atempt, and I finally got the wanted results. I started from 0: used the Menu bar that I had, over the original overall_header_sq.tpl, and now it runs. LOL

I'm not sure why now it works, I must have tried it about 200 times, XD. But at least it works, that's the important thing.

Thanks for your time!!  




Pd: here you have a preview: http://www.elautillocoloso.com
I know template's images are not a big thing, but i'm learning, just wait!! xd
 



 
Lord KaraduraSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: BEGIN/END Tags In Order To See Specific Content (IcyPhoe 
 
Great that you solved!

Your template is even nicer now with the new table headers... I think you are ready to create a new one for Icy Phoenix and distribute it!
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
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


  

 

  cron