From: Eloi G. <el...@re...> - 2003-07-10 02:46:36
|
OK. Try this. This is off the top of my head & I haven't tested it myself, so let me know if it works. I modified these Article Manager templates using techniques found at http://www.alistapart.com/stories/practicalcss/ . They should work for PageMaster as well. Make 2 templates: Blank Space.tpl: <div style="clear: both;"> <br /> </div> Image Only - Float Left.tpl: <div style="float : left; margin-bottom : .5em; margin-right : 1em"> {IMAGE} <div class="smalltext" align="center">{TEXT}</div> </div> save them to the templates directory. In the page you want to put these images into, make a section & assign Blank Space.tpl to it. Then create as many sections with Image Only - Float Left.tpl as you want and assign an image to each of them. Remember when you create these sections that you have to enter something in either the section title or text field or the section won't save (I'll change that in my next version). It doesn't matter what you enter in the section title-- the template won't show it. Place a Blank Space.tpl section at the end of the images if you're going to include text sections after them. -eloi- ----- Original Message ----- From: "CPTEOS" <cp...@ne...> To: "phpwebsite-developers" <php...@li...> Sent: Wednesday, July 09, 2003 4:42 PM Subject: Re: [Phpwebsite-developers] Pagemaster More images in a single section > Thanks for comments. 1)+2) I used already (In tis way that would be no > developer question I think) > > But it would be more comfortable to design a .tpl using {image1} ... > {imageN}- Same would be nice for {Content 1 ..n}. I've done it in > duplicating parts of code. But it is harder than it seems at the > beginning. So maybe someone has already a solution. That's, why I#ve asked > > Best > > EO > > > el...@re... wrote: > > >Two ways. You can either: > > > >1) Use more than 1 section with no text, just images. You may have to edit > >or create new templates that don't have the hard linebreaks at the end of > >them or use <div> blocks to properly place & wrap the display, or > > > >2) alter conf/textsettings.php to allow the <img> tag to be used and code > >the image links in yourself. > > > >Personally, I'd go with #1, because with #2 you'd have to deal with where to > >place the images and find & update the links in you ever change your site > >directory structure. Also, if you enable <img> tags, then all other > >contributors to your site can use them too. You may not want that. > > > >-eloi- > > > > > > > > > >------------------------------------------------------- > >This SF.Net email sponsored by: Parasoft > >Error proof Web apps, automate testing & more. > >Download & eval WebKing and get a free book. > >www.parasoft.com/bulletproofapps > >_______________________________________________ > >Phpwebsite-developers mailing list > >Php...@li... > >https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > > > > -- > Your favorite stores, helpful shopping tools and great gift ideas. > Experience the convenience of buying online with Shop@Netscape! > http://shopnow.netscape.com/ > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > |