Canon Digital Photography Forums  

P.O.T.N. SUPPORT SHOP IS OPEN, check it out now!

Go Back   Canon Digital Photography Forums > Exhibit Engine > Version 1.0-1.5 discussion
Register Rules FAQ Members List Search Today's Posts Mark Forums Read



Reply
 
Thread Tools Display Modes
Old 23rd of February 2005 (Wed)   #1
Oceanwatcher
Member
 
Oceanwatcher's Avatar
 
Join Date: Feb 2005
Location: Oslo, Norway and sometimes Goiania, Brazil
Posts: 60
Default Templates for EE

First of all, I must say I like some of the bundled templates for EE well. But there are still things I would like different.

My main problem now is the caption for each picture. It is streched too wide because it resize with the browser window. I wish I could find a template that has a margin on both sides that takes the text in 20 percent on each side. That would look better for the presentation.

Is there a repository for templates anywhere? Or could people upload here in the forum?
__________________
Regards,

Oceanwatcher
www.oceanwatcher.com
Oceanwatcher is offline   Reply With Quote
This ad block will go away when you log in as member
Old 23rd of February 2005 (Wed)   #2
Pekka
El General Moderator
 
Pekka's Avatar
 
Join Date: Mar 2001
Location: Hellsinki, Finland
Posts: 14,076
Default Re: Templates for EE

Template editing needs only skills in html coding. The page is basically laid out using tables. If you change in pagetemplates/photo/default.php line 167 to

<table border="0" cellspacing="0" cellpadding="0" align="center" width="70%"><tr>

you get narrowed description. Description can also be tied with photo width by putting it into same table as photo (but personally I would like to keep pages elements from jumping around with every photo), like this:

Edit line 92 to

<table border="0" cellspacing="0" cellpadding="0" align="center" width="1"><tr>

Add under </div> at line 113:

PHP Code:
<?php
        
if ($description_text_html != "") {
            print 
"<table border=\"0\"><tr><td>&nbsp;&nbsp;</td><td><p>";
            print 
$description_text_html;
            print 
"<br></p></td><td>&nbsp;&nbsp;</td></tr></table>";
        }
?>
and then remove lines 167-190:

PHP Code:
<table border="0" cellspacing="0" cellpadding="0" align="center"><tr>
        
        <?php
        
print $filler_td_html;
        
?>
        
    <td width="100%">
    
        <?php
        
if ($description_text_html != "") print "<p><br>";
        print 
$description_text_html;
        if (
$description_text_html != "") print "<br><br></p>";
        
?>
        
    </td>
    
        <?php
        
print $filler_td_html;
        
?>
        
    </tr>
        
        
    </table>

The forum accepts attachments in zip format, so feel free to upload templates here.
__________________
This signature signifies my significance significantly
Photo Gallery

----------------------------
Pekka is offline   Reply With Quote
Old 23rd of February 2005 (Wed)   #3
malum
Member
 
malum's Avatar
 
Join Date: Jul 2002
Location: UK
Posts: 608
Default Re: Templates for EE

you can also put html directly in the description box (which is what I do) wrapping the text in a table.
__________________

malum is offline   Reply With Quote
This ad block will go away when you log in as member
Old 23rd of February 2005 (Wed)   #4
Oceanwatcher
Member
 
Oceanwatcher's Avatar
 
Join Date: Feb 2005
Location: Oslo, Norway and sometimes Goiania, Brazil
Posts: 60
Default Re: Templates for EE

Quote:
Originally Posted by Pekka
Template editing needs only skills in html coding. The page is basically laid out using tables. If you change in pagetemplates/photo/default.php line 167 to

<table border="0" cellspacing="0" cellpadding="0" align="center" width="70%"><tr>
Perfect! Exactly what I needed. Now it looks better. Thanks, Pekka. Only decent Finnish word I learnt was terve (I think). But that does not mean thank you... I know a couple of not so nice ones, but I'll keep that out of the forum.

Quote:
Originally Posted by Pekka
The forum accepts attachments in zip format, so feel free to upload templates here.
Anyone?
__________________
Regards,

Oceanwatcher
www.oceanwatcher.com
Oceanwatcher is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do the templates work? Pekka EE 2 Manual 5 8th of July 2007 (Sun) 15:53
Templates Jon Foster RAW, Post Processing and Printing 2 13th of June 2007 (Wed) 21:26
where to get templates Zilly Presentation 1 16th of December 2006 (Sat) 16:14
templates? lalvidrez General Photography Talk 7 24th of October 2006 (Tue) 00:26
templates kingstonphotography RAW, Post Processing and Printing 1 24th of March 2006 (Fri) 20:28


All times are GMT -5. The time now is 20:19.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
This forum is not affiliated with Canon in any way and is run as a free user helpsite by Pekka Saarinen, Helsinki Finland. You will need to register in order to be able to post messages. Cookies are required for registering and posting. HTML in messages is not allowed, plain website addresses are automatically made active by the board.