Editing Subsilver edits to Black Pearl styles (and more) »  Show posts from    to     

Icy Phoenix


phpBB 3 MODS And Styles (Not Compatible With phpBB 3.1) - Editing Subsilver edits to Black Pearl styles (and more)



faethor [ Sun 09 Sep, 2012 09:58 ]
Post subject: Editing Subsilver edits to Black Pearl styles (and more)
Hi Josh

Thanks for your advice I will follow them. I didnt realized that I have errors in the gallery. I corrected all errors, but what do you mean with

Quote:
(make it fully follow black pearl style


Cheers F.


Joshua203 [ Sun 09 Sep, 2012 12:08 ]
Post subject: Re: JQ Who Is Where 0.0.2 Mod In Black Pearl Style
I mean subsilver edits are close but not exact .. compare your table headers and footers, black pearl has some extra stuff that needs corrections for just about any mod (any mod that adds new tables)

If you look at a simple black pearl table (one without the +/- function) it shouldn't be so hard to spot the differences, ofcourse if you need help with it just pop the question.

EDIT:
Same goes for your KB/Glossar pages btw


faethor [ Mon 10 Sep, 2012 09:40 ]
Post subject: Re: JQ Who Is Where 0.0.2 Mod In Black Pearl Style
Hi Josh

Thanks It sounds very hard for ma what you writing. I dont know what is a +/- functions in a table

Maybe I use a little introsuction in that stuff? A little example whit the differences I have?


Joshua203 [ Mon 10 Sep, 2012 12:48 ]
Post subject: Re: JQ Who Is Where 0.0.2 Mod In Black Pearl Style
By +/- funtion I mean the feature to show or hide a table (the + and - image top right at lots of tables)

So you pick a table that has n't got this feature but is build like most of the tables (just look at them closely, you'll spot the differences.

example:

one sourcecode of one table in your KB page looks like this:

Code: [Hide] [Select]
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<th>Kategorien</th>
</tr>
<tr>
<td class="row1">
<ul>

<li><span class="genmed"><a href="./kb.php?c=2" title="Begriffe, Erklärungen diverser Motive, etc.">Die Welt des Tätowierens</a></span></li>

<li><span class="genmed"><a href="./kb.php?c=5" title="">   Motive und deren Bedeutung</a></span></li>

<li><span class="genmed"><a href="./kb.php?c=6" title="">   Fachbegriffe</a></span></li>

<li><span class="genmed"><a href="./kb.php?c=7" title="">   Arten des Tätowierens</a></span></li>

<li><span class="genmed"><a href="./kb.php?c=3" title="Begriffe, Arten von Piercings, etc.">Die Welt des Piercens</a></span></li>

<li><span class="genmed"><a href="./kb.php?c=4" title="Begriffe, Arten des Bodymods, etc.">Body Modifications</a></span></li>

</ul>
</td>
</tr>
</table>


If you add at the top:
Code: [Hide] [Select]
<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><div class="tbl-title"><h4>XXXXX</h4></div></div></div></div>


and at the bottom:
Code: [Hide] [Select]
<div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c"> </div></div></div></div>


It should start looking more like it actually belongs in black pearl

EDIT:

or at the bottom you could also replace:
Code: [Hide] [Select]
</table>


by:
Code: [Hide] [Select]
<tr><td class="cat-bottom"> </td></tr>
</table>
<div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c"> </div></div></div></div>


Which would follow the style even more
There would still be some stuff that could need some switching or even deleting, but it all comes down to your taste.
Anyway it's just an example to get you started


faethor [ Mon 10 Sep, 2012 17:12 ]
Post subject: Re: JQ Who Is Where 0.0.2 Mod In Black Pearl Style
Thanks Joshua

But first, I have to finde where this code is I searched the kb-files who are in the Black Pearl folder, but all of them are looking different to the code you posted.

Ah, think i found the file:

The code is:

Code: [Hide] [Select]
<!-- IF .cat_list -->
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<th>{L_KB_CATS}</th>
</tr>
<tr>
<td class="row1">
<ul>
<!-- BEGIN cat_list -->
<li><span class="genmed"><!-- IF cat_list.CAT_SEL -->{cat_list.CAT_NAME}<!-- ELSE --><a href="{cat_list.U_VIEW_CAT}" title="{cat_list.CAT_DESC}">{cat_list.CAT_NAME}</a><!-- ENDIF --></span></li>
<!-- END cat_list -->
</ul>
</td>
</tr>
</table>
<br />
<!-- ENDIF -->


And now i have to do this:
OPEN the File
FIND
Code: [Hide] [Select]
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<th>{L_KB_CATS}</th>
</tr>
<tr>

REPLACE WITH
Code: [Hide] [Select]
<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><div class="tbl-title"><h4>XXXXX</h4></div></div></div></div>


Joshua203 [ Mon 10 Sep, 2012 18:23 ]
Post subject: Re: JQ Who Is Where 0.0.2 Mod In Black Pearl Style
It's just an example of one of the many tables, I thought if you edit one of them you understand better how to do them all.

faethor wrote: [View Post]

And now i have to do this:

It all depends how you want it to look exactly, if you REPLACE it like that you need to put {L_KB_CATS} where the XXXX is.

If you put it before "table" you'll see you have the option to make it have a title and a subtitle (like glossar and categories)

Whatever you do, if you add or edit the topline ..don't forget to also add or edit the bottom.


faethor [ Mon 10 Sep, 2012 18:29 ]
Post subject: Re: JQ Who Is Where 0.0.2 Mod In Black Pearl Style
Yes, of course the xxxx should be replaced with the constant

Actually, what is the goal of changing the tables like that? Is it "only" to follow the coding guideline of black pearl or do that change something in the looking of the website?

Cheers

Faethor


Joshua203 [ Mon 10 Sep, 2012 18:32 ]
Post subject: Re: JQ Who Is Where 0.0.2 Mod In Black Pearl Style
It's subsilver edits that are close to black pearl but not exact, I'm sure you see the differences just by looking at the pages.

A normal black pearl table would look something like this:

Code: [Hide] [Select]
<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><div class="tbl-title"><h4>XXXXX</h4></div></div></div></div>
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<th>XXXX</th>
</tr>

!!!!CONTENT!!!

<tr><td class="cat-bottom"> </td></tr>
</table>
<div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c"> </div></div></div></div>




Powered by Icy Phoenix