![]() |
Template guide So I have searched around, but I can't seem to find what I am looking for. Are there any template guides? I gotta admit, I find them pretty confusing to say the least. Its just a bit tricky figuring out what controls what and all that. Thanks very much. |
We dont have hacking guides. However we do have a list on which templates go to what files http://www.photopost.com/forum/photopost-product-faqs/109478-templates-what-faq.html |
Yep, thats exactly what i was looking for. Bit of a problem though. While I can edit the templates, I cannot get it to recognize new additions to the CSS file that I am using. I ahve chosen the Silver theme, but the template will ignore anything I put in there that isn't seemingly original in the CSS file. Strange. |
It is not strange. If your defining new classes you need to change templates to use those new classes. It all depends what your trying to do so without more of an example I cant really assist. Please explain in more detail what your doing. |
Well, basically this is what I currently have : http://madcatzracing.com/gallery/ I want it to look like this: http://www.dropmachine.com/images/.jpg So, i figured on adding additional cells on top of whever it was required, with a new class that calls the title graphic images as a background. Its not working out. So maybe I have to do it as a straight graphic? Only problem is, it won't look as good. |
Have you defined the additonal class in the stylesheet what is it? Have you altered the templates to use this new class and how are you doing it? |
Well, for example, this would be the sample css text: .greylineright { background-image: url(../stylesheets/graphics/greylineright.png); background-repeat: no-repeat; background-position: right top; } In say Categories.tmpl, i would just do this (but not in bold or caplitals): <td class="{$Style['GREYLINERIGHT']}" align="right" nowrap="nowrap"> {$cats['numposts'][$x]}</span> {$cats['lpostlink'][$x]} </td> Basically defining new classes in silver.css and then trying to sub them into the template files. Doesn't seem to be working, unless they are classes that have previously been stated. Anything I add seems to be ignored. |
There is your issue. You have never defined the class $Style which are defined elsewhere. We use a style array for our forum integration to remap classes when using forum styles and the $Style array is predefined in each integration file {$Style['GREYLINERIGHT']} The class name is not that use since you are not using that array use the straight class name greylineright |
| All times are GMT -5. The time now is 11:20 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0