|Date||Thu Jul 1 05:51:33 2010|
|Subject||[greenstone-users] Customization problems|
I saw that before, but there seemed to be some other tags being added in another process that I couldn't trace. Right now I've all but forgotten about it because I decided to see what using div tags would look like - and it works marvelously!
For others on the list who may want to use this method, here's a snippet of my code from my collection's config.cfg file that may be useful.
format VList "<div class='vlist_wrapper'>
I then use a custom CSS file to make this look presentable.
On 6/28/10 5:07 PM, "Katherine Don" <firstname.lastname@example.org> wrote:
This comes from the c++ source code - in runtime-src/src/recpt/vlistbrowserclass.cpp.
In vlistbrowserclass::output_section_group, look for the bit like
if ((item == 1 && use_table) || colnumber > 0 )
lines 234/5 for me, but may differ depending on your version of greenstone.
Jay Clark wrote:
In the code of the web page that's output, I see this fragment of a table with line numbers added by me:
1 <div class="top" id="CL2">
I've been able to identify in the source code where the 2nd line is generated from, and I know that the two table cells (line 4) come from the collect.cfg file for the VList format. What I can't seem to find in the source code anywhere is where the 3rd line comes from (<tr valign=top>). I want to add a class attribute to it - something like class="row" so I can apply CSS more easily.
Thanks in advance for your assistance.