Forums » Customize

Iwakami and Text Arrangement

Lenzznel
NETHERLANDS
2010-02-06 10:55:34
Permalink Post
 

Hi, not being very firm in dealing with web design I have a question, which I believe should be quite easily be solved. This is my page and I would like to arrange the Iwakami Slideshow and text differently. The Slideshow on top and the Text below in line with the slideshow. Where can I arrange that? In the css not, I guess, but in the roor index.php? Where is it addressed?

Lenzznel
NETHERLANDS
2010-02-06 13:42:56
Permalink Post
 

Does anybody have a hint? To arrange Slideshow and Text differently, where should adjustments be done? Thank you.

lemathieu A
FRANCE
2010-02-06 14:26:11
Permalink Post
 

I think it's in the plugin itself (exhibit.iwakami.php) that you upload.

Don't have the time to look at it.
Have a try

Lenzznel
NETHERLANDS
2010-02-06 15:45:33
Permalink Post
 

Thanks Lemathieu, I tried to sort the exhibit.iwakami.php differently, but I am just not sure where the text is called. I have to say I am not a php pro and it ended up in an error each time I tried... Do you have another hint?

Lenzznel
NETHERLANDS
2010-02-06 15:50:12
Permalink Post
 

One more thing, it's not about Image title and caption text, but the main body of text. I would first like to have the image slideshow and below the body text.

Lenzznel
NETHERLANDS
2010-02-07 13:09:27
Permalink Post
 

Anybody any idea or hint?

jarmusch
UK
2010-02-07 15:36:44
Permalink Post
 

Lezznel,

if there's a bright php/javascript centre of the universe, I'm on the planet that it's farthest from, but i did manage to hack around with the djuve plugin to allow text below the images.

it's messy, but it seems to work for me. It creates a div for the content with an info id and and info class, which you add to your .css file to control. Only works if the process html switch in your exhibit (under additional settings) is set to off.

code is below. rename it without the .txt extension then put it in your plugins directory. Probably not a great leap (for anyone who isn't me) to do something similar for iwakami.

DJUVE with images above text

Lenzznel
NETHERLANDS
2010-02-08 10:57:14
Permalink Post
 

Hi Jarmuch, Thanks for your help. Let the bright php/javascript shine unpon us!

I tried the Djuve and it works a bit, but just like in the nice exhibit.sliderfloat.left there's always an error call for the php and I haven't figured out how to resolve that. When the image is called it says there is an undefined variable pointing at this line:

// image
$s .= "\n";

From my research I think to have figured out it misses a definition in my style sheet? Is that true? I think when I resolved that thing it should work. What do I have to do then to define that in my style sheet? That's the style sheet of the template I use I suppose?

Lenzznel
NETHERLANDS
2010-02-08 11:01:23
Permalink Post
 

Sorry, the code dind't write full. That's what I was reffering to:

$s .= "< div id='d-image'>\n";

easy
GERMANY
2010-02-08 17:45:01
Permalink Post
 

Hi jarmusch,

great direction, in which you are heading with your plugin!
Do you have an real (internet) example of it, where its used ?

Thanks,
Oli

suzaphone
GERMANY
2010-02-16 16:54:40
Permalink Post
 

heya
i changed everything in the Iwakami plugin to get the text UNDER the image - with absolutely no result.

does anyone have some concrete instruction of which part to change and how?

seems that so many people in this forum really want to have this and i've seen some people succeed. so there must be a way...if only someone had the heart to communicate this to the rest of us.

:)

Vaska A
I WROTE THIS
2010-02-16 22:46:55
Permalink Post
 

Show us your code...the change you made.

suzaphone
GERMANY
2010-02-17 19:08:34
Permalink Post
 

Well, not knowing any better, I tried to changed the order of elements that get called in the container box. Since changing the order didn't do anything, I changed it back... Nothing to see really.

I just wouldn't know what else to try in the .php file and need advise.

Vaska A
I WROTE THIS
2010-02-17 19:33:36
Permalink Post
 

On line 44 you'll find something like this...

  1.     // ** DON'T FORGET THE TEXT ** //
  2. $s = $rs['content'];
  3. if (!$pages) return $s;

Change to...what we are doing here is resetting the $s variable before it starts building the content.

  1.     // ** DON'T FORGET THE TEXT ** //
  2. $s = $rs['content'];
  3. if (!$pages) return $s;
  4. $s = '';

Around line 70 you will find:

  1.     // images
  2.     $s .= "<div id='img-container'>n";
  3.     $s .= "<div id='pics'>n";
  4.     $s .= $a;
  5.     $s .= "</div>n";
  6.     $s .= "<p id='nums'><span id='num'>1</span>/$total</p>";
  7.     $s .= "</div>nn";

There are a million different ways you could do this but here is one simple way to get this rolling. Change like:

  1.     // images
  2.     $s .= "<div id='img-container'>n";
  3.     $s .= "<div id='pics'>n";
  4.     $s .= $a;
  5.     $s .= "</div>n";
  6.     $s .= "<p id='nums'><span id='num'>1</span>/$total</p>";
  7.     if ($rs['content'] != '') $s .= "<div id='texthold'>$rs[content]</div>nn";
  8.     $s .= "</div>nn";

You will likely need to style some things (#texthold). And, it will be really helpful with this format that all your images so that text doesn't bob up and down with the differing heights of images.

This should get you rolling...I think you will still need more customizations on top of this.

Hey guys (Pindaros and Mathieu), do you remember that format we created in the "lab" that was a variation on Iwakami? I can't remember the name. If had the text and navigation to the right of the image - we should release that one here. If only I could remember the name - it had some super good bits in it.

Vaska A
I WROTE THIS
2010-02-17 19:34:52
Permalink Post
 

Crap...wherever you see ">n" or ">nn"...you need to add a / before the n. Silly bugs...somebody should just fire me.

arsondpi A
GREECE
2010-02-17 20:22:02
Permalink Post
 

You're fired!

Vaska A
I WROTE THIS
2010-02-17 20:32:27
Permalink Post
 

Pindaros, you are a horrible person!

;)

suzaphone
GERMANY
2010-02-17 22:13:36
Permalink Post
 

Fantastic!

Just tried it...but got some error message like:

"Parse error: syntax error, unexpected T_VARIABLE in ...exhibit.iwakami.php on line 46"

line 46 > $s = $rs['content'];

--------------------------------- This is the whole code ---

suzaphone
GERMANY
2010-02-17 22:13:55
Permalink Post
 

Maybe not whole code then...

Vaska A
I WROTE THIS
2010-02-17 22:42:16
Permalink Post
 

If that is line 46 there is nothing wrong with it. What is on the line before it?

arsondpi A
GREECE
2010-02-17 22:59:28
Permalink Post
 

The Vaska Horror Slide show....

* that format you're talking about -in the lab- ...I think it incorporated jflow... not iwakami...

Showing 1 - 21 of 21 posts in Forum > Customize > Iwakami and Text Arrangement
 

You need to be logged in to post.