Links buttons
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Links buttons
Your Portal Version: 1.0.0RC3
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Beginner
Boardlink: http://forum.conditor.be
What have you done before the problem was there?
Nothing
What have you already tryed to solve the problem?
searching
Description and Message
Hello again,
Next question, sorry to be so noobish...
There is a links block, where u can type in text and a url.. now my question is:
Instead of text i want a button in there.. i tried with [img] tags and with html, both didn't work.. is there a way to add buttons (images) instead of plain text?
Thanks in advance!
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Beginner
Boardlink: http://forum.conditor.be
What have you done before the problem was there?
Nothing
What have you already tryed to solve the problem?
searching
Description and Message
Hello again,
Next question, sorry to be so noobish...
There is a links block, where u can type in text and a url.. now my question is:
Instead of text i want a button in there.. i tried with [img] tags and with html, both didn't work.. is there a way to add buttons (images) instead of plain text?
Thanks in advance!
-
- Former Team Member
- Posts: 246
- Joined: 15. January 2008 08:41
- phpBB.de User: PeterS
- phpBB.com User: PeterS
Re: Links buttons
Hello again,
i didn´t think so at the moment, but i use the middle custom block to show credit buttons from friends an partners.
greetz Peter
i didn´t think so at the moment, but i use the middle custom block to show credit buttons from friends an partners.
greetz Peter
Re: Links buttons
If i didn't use that one allready i could have used it
Is there a way to get more "custom" blocks in the middle? atm i'm using the side and middle block allready, and don't wanna change them for the links
maybe there is a mod for it?
Greetz
Is there a way to get more "custom" blocks in the middle? atm i'm using the side and middle block allready, and don't wanna change them for the links
maybe there is a mod for it?
Greetz
Re: Links buttons
Great thanks, i'll give that a go.
I'll let you know if i got it to work, knowing me i'll screw up somewhere in the process :-p
I'll let you know if i got it to work, knowing me i'll screw up somewhere in the process :-p
Re: Links buttons
Like i said..
Somehow i can't get it to work :-/
I made a copy of:
/forum/styles/SF_Glacier_Lite/template/portal/block/custom_small.html
And called it
/forum/styles/SF_Glacier_Lite/template/portal/block/custom_small2.html
Then i changed the code to:
Then i opened:
/forum/styles/SF_Glacier_Lite/template/portal/portal_body.html
And changed the code to:
And i don't see the block.
Where did it go wrong??
Somehow i can't get it to work :-/
I made a copy of:
/forum/styles/SF_Glacier_Lite/template/portal/block/custom_small.html
And called it
/forum/styles/SF_Glacier_Lite/template/portal/block/custom_small2.html
Then i changed the code to:
Code: Select all
<!--version $Id: custom_small2.html 236 2008-05-18 15:50:06Z kevin74 $ //-->
<div class="portal-panel">
<div class="inner">
<span class="portal-corners-top"><span></span></span>
<h3><img src="{T_THEME_PATH}/images/portal/portal_menu.gif" width="18px" height="18px" alt=""/> Link Partners</h3>
<div class="postbody" style="width: 100%">
<div class="content"><a href="http://www.starlightweb.nl/nuke-evo"><img src="http://www.starlightweb.nl/nuke-evo/images/evo/ministar.gif" alt="Starlightweb" title="Starlightweb" border="0" /></a></div>
</div>
<br />
<span class="portal-corners-bottom"><span></span></span>
</div>
</div>
<br style="clear:both" />
/forum/styles/SF_Glacier_Lite/template/portal/portal_body.html
And changed the code to:
Code: Select all
<!-- IF S_DISPLAY_USERMENU -->
<!-- IF not S_USER_LOGGED_IN -->
<!-- INCLUDE portal/block/login_box.html -->
<!-- ENDIF -->
<!-- IF S_CUSTOM_SMALL2 -->
<!-- INCLUDE portal/block/custom_small2.html -->
<!-- ENDIF -->
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
<!-- INCLUDE portal/block/user_menu.html -->
<!-- ENDIF -->
<!-- ENDIF -->
Where did it go wrong??
-
- Former Team Member
- Posts: 625
- Joined: 19. January 2008 23:56
- phpBB.de User: thomas.d
- phpBB.com User: thomas.d
- Contact:
Re: Links buttons
Did you refresh the template- and theme cache?
Viele Grüße
Thomas
Deutsche Sprachdateien für
[Alpha] phpBB Calendar 0.0.8 (alightner) | [RC] phpBB Arcade 1.0.RC8 |
ACP Add User MOD 1.0.0 |
Thomas
Deutsche Sprachdateien für
[Alpha] phpBB Calendar 0.0.8 (alightner) | [RC] phpBB Arcade 1.0.RC8 |
ACP Add User MOD 1.0.0 |
Re: Links buttons
Yes, i did that
I also moved 1 block (the custom_small) and that i can see after a refresh of the cache.
But i can't see the new block
I also moved 1 block (the custom_small) and that i can see after a refresh of the cache.
But i can't see the new block
-
- Site Admin
- Posts: 2989
- Joined: 7. January 2006 20:11
- phpBB.de User: Saint
- phpBB.com User: Saint_hh
- Location: Hamburg
- Contact:
Re: Links buttons
This is a bit mixed up, i guess. Try this:Conditor wrote:Then i opened:
/forum/styles/SF_Glacier_Lite/template/portal/portal_body.html
And changed the code to:
And i don't see the block.Code: Select all
<!-- IF S_DISPLAY_USERMENU --> <!-- IF not S_USER_LOGGED_IN --> <!-- INCLUDE portal/block/login_box.html --> <!-- ENDIF --> <!-- IF S_CUSTOM_SMALL2 --> <!-- INCLUDE portal/block/custom_small2.html --> <!-- ENDIF --> <!-- IF not S_IS_BOT and S_USER_LOGGED_IN --> <!-- INCLUDE portal/block/user_menu.html --> <!-- ENDIF --> <!-- ENDIF -->
Where did it go wrong??
Code: Select all
<!-- IF S_DISPLAY_USERMENU -->
<!-- IF not S_USER_LOGGED_IN -->
<!-- INCLUDE portal/block/login_box.html -->
<!-- ENDIF -->
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
<!-- INCLUDE portal/block/user_menu.html -->
<!-- ENDIF -->
<!-- ENDIF -->
<!-- INCLUDE portal/block/custom_small2.html -->
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~
Kein Support per PN / No support via PM!
Kein Support per PN / No support via PM!
Re: Links buttons
That is great!!!
Thanks
So now it's just a mather of renaming them and place them that way.
Thanks alot, this was a great help and it's solved
Thanks
So now it's just a mather of renaming them and place them that way.
Thanks alot, this was a great help and it's solved
-
- Site Admin
- Posts: 2989
- Joined: 7. January 2006 20:11
- phpBB.de User: Saint
- phpBB.com User: Saint_hh
- Location: Hamburg
- Contact:
Re: Links buttons
Just to explain:
- You've placed the new block within a switch for the usermenu. You have to keep it outside.
- If you want to use a switch like <!-- IF S_CUSTOM_SMALL2 --> - it has to be defined somewhere and set to "TRUE". Otherwise it will always be "FALSE" and nothing is displayed.
So just insert the include - without a not defined switch.
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~
Kein Support per PN / No support via PM!
Kein Support per PN / No support via PM!
-
- Active Member
- Posts: 2
- Joined: 9. February 2009 18:28
- phpBB.de User: nedumeritu
- phpBB.com User: nedumeritu
Re: Links buttons
And so, everything can be great but you forgot to show us the final codes.Kevin wrote:Just to explain:
- You've placed the new block within a switch for the usermenu. You have to keep it outside.
- If you want to use a switch like <!-- IF S_CUSTOM_SMALL2 --> - it has to be defined somewhere and set to "TRUE". Otherwise it will always be "FALSE" and nothing is displayed.
So just insert the include - without a not defined switch.
The theory is fine. But the practice will kill us.
-
- Site Admin
- Posts: 2989
- Joined: 7. January 2006 20:11
- phpBB.de User: Saint
- phpBB.com User: Saint_hh
- Location: Hamburg
- Contact:
Re: Links buttons
I showed the code as a solution above, as i saw the problem. It was never my intention to "show you the final codes". There was a clear question and i answered it.
What are planning to do? Just complaining wont get you further.
What are planning to do? Just complaining wont get you further.
That sounds bad. You better think about it, if it is the right thing for you to do.nedumeritu wrote:The theory is fine. But the practice will kill us.
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~
Kein Support per PN / No support via PM!
Kein Support per PN / No support via PM!