Forums » Customize

text/image display

murmur
UNITED STATES
2008-08-14 18:40:01
 

Hi,

I want to create a new slide show template that places the image above the text. I know that to create a new template I can duplicated and manipulate one of the plugins such as exhibit.slideshow.php /webdocs/ndxz-studio/site/plugin

When I open exhibit.slideshow.php, I dont know where there parameters are set that divide or control the location of the image and the text. What segment of code should I look at to change the location? Is exhibit.slideshow.php the file that controls the display of the text/image?

Thanks in advance to any replies! :)

LeslieOA M
UNITED KINGDOM
2008-08-14 20:31:45
 

Using exhibit.slideshow.php as a template/basis, you should take a look at the everything from line 54: -

  1. // people will probably want to customize this up
  2.     foreach ($pages as $go)
  3.     {
  4.         $title         = ($go['media_title'] == ...

...etc.

Check the plugins output (visit a page using it), then toggle the plugins css either within the plugin itself: -

  1. function dynamicCSS()
  2. {
  3.     return "#num {padding-left: 6px;}
  4.     .img-bot {margin-bottom: 6px; display: block; }";
  5. }

...or externally in your own custom stylesheet.

Goodluck!

murmur
UNITED STATES
2008-09-05 16:43:18
 


Yesterday, I was looking into how to edit the slide show template to switch the location of the text and image. I changed img-bot to img-top, and margin-bottom to top in exhibit.sideshow.php. This didnt work. However, I dont know where these parameters or variables are initially declared.

I was wondering whether anyone knows the following...

What are the variables, classes, or functions that control the location of the text and the images on the page?

In what file(s) are the variables, classes, or functions that control the location of the text and the images declared?

Thanks so much for the support + help!

Showing 1 - 3 of 3 posts in Forum > Customize > text/image display
 

You need to be logged in to post.