Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> KISGB General Support
Author Message
metalive
New Member
New Member



Joined: Dec 04, 2003
Posts: 5
Location: Milky Way

PostPosted: Thu Dec 04, 2003 10:52 am Reply with quote

Hello,

What I want to do is to have all the little icons of e-mail, homepage, icq, etc. in one row and only let them go into the next line,when there are enough to fill up a line, when they reach the right end of the icon column.

In the config-menue, I removed the "<br /<br />" from the "icon seperator" field, but it makes no difference

greetz

_________________
And everything I used to be has spiraled into insanity...

Last edited by metalive on Sun Dec 14, 2003 11:01 am; edited 1 time in total 
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
fury
Worker
Worker



Joined: Sep 09, 2003
Posts: 165

PostPosted: Thu Dec 04, 2003 2:14 pm Reply with quote

Please post the code you are trying to edit here and someone can help you
Thanks
Fury
 
View user's profile Send private message
metalive







PostPosted: Fri Dec 05, 2003 6:07 am Reply with quote

I am not editing any code. I am soley using the browser admin-interface.
There, I have removed the <br /><br /> tags as icon seperators, but it makes no difference.
 
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Fri Dec 05, 2003 6:37 am Reply with quote

The icon separator is what is between the name and date and the icons and has nothing to do with the layout flow. The reason the icons are coded as they are is to allow for uniformity in the table layout. To alter this behaviour, you will have to find all instances of this code (in index.php)
Code:
$cnti++; if ($cnti>3) {$icons .= "<br />"; $cnti = 1;}
and alter it. Right off the top of my head, and I have not tested this, try something like this
Code:
$cnti++; if ($cnti>10) {$icons .= "<br />"; $cnti = 1;}
There are not 10 icons so the number should never be reached and thus, should allow what you are desiring.
 
View user's profile Send private message
metalive







PostPosted: Sun Dec 14, 2003 11:01 am Reply with quote

Hello,

I had lost an entry a while ago and re-entered it later. How does one edit the date and time? I tried it in the "edit entries browser view" and in the cvs itself, but it doesn't change

greetz
L/N Smile
 
Raven







PostPosted: Sun Dec 14, 2003 11:13 am Reply with quote

The date and time is stored in column 1 as a datetime value. It is then formatted as needed. The fields that are called date and time are no longer used and are there for legacy use only.
 
metalive







PostPosted: Sun Dec 14, 2003 11:35 am Reply with quote

so how do I change it then?
 
Raven







PostPosted: Tue Dec 16, 2003 11:20 pm Reply with quote

You will have to write a quick php program to convert a date to a timestamp value. Then, replace the timestamp value in your entry with that new value.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> KISGB General Support

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©