dimi78 Posted December 12, 2007 Share Posted December 12, 2007 I have been trying to integrate the more categories contribution with the sts template contribution. For most parts this has been successful, but I have one small problem. The site I'm working on has multiple languages, so I was trying to use the box titles of the more categories as a basis for the images. I created the reference to the box require(DIR_WS_BOXES . 'more_categories.php'); $sts->restart_capture ('more', 'box'); I created an infobox_more_categories.php.html file in the template folder. <div> <div style="width:170px; height:59px; "> <img border="0" src="images/box title/$headertext$langid.gif" width="170" height="59"> I also tried categorie$langid.gif </div> <div>$content</div> </div> Now in a perfect world I should get an image with source nameofbox + mylangid (1 for English for example). But when i run this the source of the image file says www.site.com/images/box title/categories$langid.gif The $langid and the $headertext are not working in my custom created boxes. (they do work for all my other boxes that come wit osc) Anyone with an idea or clue to the solution? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.