 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
April 21st, 2007, 02:12 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Mar 2002
Posts: 66
| 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.
|
| |
April 21st, 2007, 12:49 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,653
|
We dont have hacking guides. However we do have a list on which templates go to what files Which Templates for What--FAQ? |
| |
April 22nd, 2007, 11:54 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Mar 2002
Posts: 66
|
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.
|
| |
April 23rd, 2007, 11:06 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,653
|
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.
|
| |
April 23rd, 2007, 11:38 AM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Mar 2002
Posts: 66
|
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.
|
| |
April 23rd, 2007, 11:52 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,653
|
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?
|
| |
April 23rd, 2007, 12:02 PM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Mar 2002
Posts: 66
|
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.
|
| |
April 23rd, 2007, 12:08 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,653
|
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
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 07:48 PM. | |