Editing Subsilver edits to Black Pearl styles (and more)


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.

Profile PM  
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 :wink:

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 :oops:

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

Profile PM  
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: [Download] [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: [Download] [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: [Download] [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: [Download] [Hide] [Select]
</table>


by:
Code: [Download] [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 :wink:
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 :mryellow:

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 :mryellow: 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: [Download] [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: [Download] [Hide] [Select]
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<th>{L_KB_CATS}</th>
</tr>
<tr>

REPLACE WITH
Code: [Download] [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>

Profile PM  
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.

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

Profile PM  
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: [Download] [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>


Page 1 of 1


  
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

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.948s (PHP: 2% SQL: 98%)
SQL queries: 17 - Debug Off - GZIP Enabled