Good art is a taste, good design is an opinion.


Come as guest, stay as family.
Board Index

Come as guest, stay as family.


You are not connected. Please login or register

Foto

[Archived] How can i add two buttons on index



View previous topic View next topic Go down Message [Page 1 of 1]

1
Offline

  nebunidebuni

avatar
Punbb Rookie
Punbb Rookie
  • Description:


how can i put on my forum this 2 buttons?

here



the 2nd button is for "mark as read"

http://i39.servimg.com/u/f39/17/19/90/23/icon_q10.png

  • Information:
Forum:http://nebunidebuni.hitforum.roVersion:PUNBB
Type:Request a codeTags:buttons,index

Powered by PunBB
Currently 0 users have thanked nebunidebuni for this post:

2
Offline

  Shadow

avatar
Administrator
Administrator
Step 1: Open [ic]Index_body[/ic] template
Find:
Code:
[panda=html]<p class="crumbs"><a href="/">#nebunidebuni</a></p>
Replace with:
Code:
[panda=html]<p class="crumbs"><a href="/">#nebunidebuni</a></p><div class="right1"><a href="/search?search_id=newposts">View New Content</a></div>

Step 2: CSS
Put basic code for position, you can style it further for your needs
Code:
[panda=css].right1 {
    position: relative;
    top: -85%;
    float:right;

Preview:


For question 2, please explain it a bit more since I can't understand what you need?

Powered by PunBB
Currently 0 users have thanked Shadow for this post:

3
Offline

  nebunidebuni

avatar
Punbb Rookie
Punbb Rookie
don't work ...

"For question 2"

there i want to be 2 buttons 1 for "view new content" 2nd "mark as read"

i see here


Powered by PunBB
Currently 0 users have thanked nebunidebuni for this post:

4
Offline

  Shadow

avatar
Administrator
Administrator
@nebunidebuni wrote:[link="/t542-how-can-i-add-two-buttons-on-index#3251"]don't work ...

"For question 2"

there i want to be 2 buttons 1 for "view new content" 2nd "mark as read"

i see here

It's working as I tested it, you didn't put the code as far as I can see


If you want both then the code from step 1 replace with this one:
Code:
[panda=html]<p class="crumbs"><div class="right1"><a href="/search?search_id=newposts">View New Content</a><a href="/?mark=forums"> &nbsp;&nbsp;&nbsp;<img src="http://i39.servimg.com/u/f39/17/19/90/23/icon_q10.png"></a></div>

Final result:

Powered by PunBB
Currently 0 users have thanked Shadow for this post:

5
Offline

  Guest

avatar
Guest
[aviso="Thread Archived"]Original poster seems to be inactive and didn't respond within 7 days in this thread. Because of this, the topic has been Archived.

If you have further questions, please open a new topic.[/aviso]


Powered by PunBB
Currently 0 users have thanked Guest for this post:

View previous topic View next topic Back to top Message [Page 1 of 1]


Topic URL's

URL
BBcode
HTML

Permissions in this forum:
You cannot reply to topics in this forum