PDA

View Full Version : Further to the SUGAR Template:


LynnR
11-16-2005, 06:10 PM
I tried yesterday to change my template to Sugar, I really like it, but was completely unsuccessfully. :(
The problem I'm having with my current template is a mystery. I went on a short hiatus, and from the time I came back till now none of my thumbnails would show up. I checked mysql db and all seems to be fine, my path hasn't changed, but no thumbnails.

http://digitalgladrags.com/photoblog/ ... any suggestions are gratefully received. Thanks.

Joe[y]
11-16-2005, 06:24 PM
what procedure did you use for changing templates exactly?

can you post your 'general info' here so we can help better wtih lack of thumbs.

LynnR
11-16-2005, 06:30 PM
When I tried to change the template, I uploaded Sugar to my templates directory, went to the admin part of pixelpost and selected "sugar" from the drop down menu ... and saved ... I refreshed my sreen and there was nothing but barebones ... no images, ... mine or the ones for the template .....
I thought maybe it had to do with my own directories on my HD, so I've just rearranged them, (the paths were different) ... anyway, I was just about to try again ... I'll see what happens.

Thanks for the reply.

LynnR
11-16-2005, 06:35 PM
... It must be my paths ... I can't think what else it might be. I'll leave the "mess" there so someone can see: http://digitalgladrags.com

Connie
11-16-2005, 07:04 PM
I see many many errors there in the sourcecode

<li><a href="/photoblog/images/thumb/?=browse&pagenum=1">archives</a></li>
<li><a href="/photoblog/images?showimage=%3CIMAGE_PREVIOUS_ID%3E">&lt;&lt;</a></li>
<li><a href="/photoblog/index.php">current</a></li>
<li><a href="/photoblog/images?showimage=%3CIMAGE_NEXT_ID%3E">&gt;&gt;</a></li>

1) take off that "&" and change it to "&amp;" in the archive link
you better use <a href="<SITE_BROWSELINK>">Archive</a>
if then the & still brings the error you use the very old buggy 1.4.2-version which was replaced

2) what is this: 3CIMAGE_NEXT_ID%3E??

how did you edit the template? Whith which editor?
did you use a plain texteditor or maybe something like WORD?
which codepage was active when you edited the text?

LynnR
11-16-2005, 07:34 PM
I use Ultra Dev4 to edit ... I've made the changes you suggested, I'll upload now and see what happens.

I have no idea what the " 3CIMAGE_NEXT_ID%3E " is ... ?

Thanks Connie.

Joe[y]
11-16-2005, 07:44 PM
whatever text editor you use it's replacing things like < in your template with %3C etc

trust in notepad etc! plain text editors are good if you're having problems.

LynnR
11-16-2005, 07:58 PM
I've been using UltraDev for eons, it's never done any replacing before ... *shrug*
At least the archives page is working, ... the 7 thumbnails are still not there, I'll have to upload them manually.

I have to leave this stuff for a while. I have some school assignments I need to work on. In the mean time though, I think I'll download Sugar again, and open in notepad and do some comapring.

One more question before I leave for a while, ... do you suppose the template images are not showing up because the path is not right? ... and my photo images too?

Thanks for the help so far ... :)

Connie
11-16-2005, 08:05 PM
well, the path seems to be ok, I can open the folder in

http://digitalgladrags.com/photoblog/thumbnails/

as well as the image folder

why don't you activate another template until you solved this problem?

Go on, activate the simple template ! Then we will see whether your site is ok or not!

Connie
11-16-2005, 08:38 PM
Lynn,

I have the feeling that you uploaded the files by FTP not as ASCII

also with the new template you have again mistakes in the page:
<a href="/photoblog/images?showimage=<"IMAGE_PREVIOUS_ID> << </a>

<a href="/photoblog/index.php">current</a>
<a href="/photoblog/images?showimage=<"IMAGE_NEXT_ID>

look at this: <"IMAGE_NEXT_ID> !! it must be <IMAGE_NEXT_ID> or did you edit that template as well with a non-ascii-editor?

but I think, slowly you will come to a working version, I promise!

did you work with Frontpage? Why these <font>.tags? They are deprecated html, not in our templates anywhere...

LynnR
11-16-2005, 10:54 PM
Well, ... I LOVE my archives now, ... before I really hated them. I like this SUGAR Template a lot, but I guess I didn't account for the varying sizes of my shots, .... some (most) don't fit the template. Is there a "work-around" that I could use?

Thanks very much for your help Connie and you too Joey. :)

http://digitalgladrags.com/photoblog/

LynnR
11-16-2005, 11:23 PM
... I thought I saw a thread about how to change the Title at the top ... and now I can't find it again. Help?

Connie
11-17-2005, 07:22 AM
Lynn,

if you would read the tag-list with all tags which PP provides, you would see that we have a tag "<SITE_TITLE>"

if you read a little bit HTML you will see that every HTML page needs a <TITLE>-tag

so: combine this knowledge and do for example the following:

<title><SITE_TITLE> :: <IMAGE_TITLE></title>

and you will have a nice Site-Title ;=)

LynnR
11-17-2005, 09:07 AM
I couldn't find my way back to the tag list, I'll look again. And I have the title tag changed, it is the title on the template image I'm trying to change .... I'll figure it out I guess, ... thanks Connie.

LynnR
11-20-2005, 03:57 PM
Unresolved I decided to go with Visible template and it's working wonderfully (except the random images, but I'll probably just disable it). :)

blinking8s
11-21-2005, 02:50 AM
my one gripe...with it as a whole, the images posted dont even fit on a 1024x768 monitor...these are things you must think about that go hand in hand with our designs/templates

tinyblob
11-21-2005, 08:25 AM
glad to see your new password is working out for you ;)

i agree with blinking8s though, try to reduce the graphic size a little. i tend to stick with a 600 pixel width.

as much as we loath it, most of us in the design/development community try to make everything usable at a 1024x768 screen resolution. i personally fluctuate between four screen resolutions on different machines: 1920x1200, 1600x1024, 1280x1024 and 1024x768. the internet looks very different when shifting between these four, helps you get perspective ;)

it's not so bad though... i remember when the "standard" was 800x600.. or 640x480.