Search found 340 matches

by MySchizoBuddy
Sat Dec 10, 2005 9:03 am
Forum: General discussions
Topic: Distance Between Entry and Extended Entry
Replies: 3
Views: 2607

u could jut put a upper margin to it
in ur style sheet and use this

Code: Select all

.serendipity_entry_extended { margin-top:10px;}
this should already be in ur style sheet. look for it and add the margin
by MySchizoBuddy
Fri Dec 09, 2005 2:12 pm
Forum: Bugs
Topic: contactform/staticpage plugins
Replies: 12
Views: 6462

Ohhhhh
I guess i'll leave it to default then.
:P
what if i don't care if it stored in the database or not. as long as i get the email its fine
by MySchizoBuddy
Fri Dec 09, 2005 1:58 pm
Forum: Themes
Topic: Power to the Smart(y) People!
Replies: 10
Views: 10119

hoshi
u have a very cool archive page
how did u make it.
how come ur using wordpess :S
by MySchizoBuddy
Fri Dec 09, 2005 1:18 pm
Forum: General discussions
Topic: detecting latest 3 posts
Replies: 28
Views: 20652

ok the release notes in the smarty folder says 2.5.0
its ok i guess.
by MySchizoBuddy
Fri Dec 09, 2005 11:45 am
Forum: General discussions
Topic: Serendipity blog users map
Replies: 2
Views: 2189

wow i didn't realize that we have 73 registered on frappr.
lets see when we make it 100.
by MySchizoBuddy
Fri Dec 09, 2005 6:23 am
Forum: Bugs
Topic: contactform/staticpage plugins
Replies: 12
Views: 6462

can i add more fields in the contact form

Code: Select all

<input type="text" id="serendipity_commentform_Relatedurl" name="serendipity[url]" value="{$commentform_url}" />
what should i put in the name and value field
by MySchizoBuddy
Fri Dec 09, 2005 3:02 am
Forum: General discussions
Topic: chitika eminimalls
Replies: 3
Views: 2536

So your saying even after installing smarty the {$entry.title} variable isn't available and i should use {$blogTitle} instead.

but for blogtitle to include an entry i have to select the entry, that means it won't work on front page
by MySchizoBuddy
Fri Dec 09, 2005 2:37 am
Forum: General discussions
Topic: detecting latest 3 posts
Replies: 28
Views: 20652

btw the smarty version we have is 2.5.0 the version the latest version is 2.6.10. Should i upgrade the smarty or is it something i should not fiddle with
by MySchizoBuddy
Fri Dec 09, 2005 2:12 am
Forum: General discussions
Topic: change date format
Replies: 6
Views: 4323

u just need to know the smarty format for all the diferent ways to write date
http://smarty.php.net/manual/en/languag ... format.php
by MySchizoBuddy
Thu Dec 08, 2005 5:21 pm
Forum: General discussions
Topic: detecting latest 3 posts
Replies: 28
Views: 20652

ok this worked {counter assign=inc print=false} {assign var="allow" value=0|rand:1} {if $inc gt 1 and $inc lt 6 and $allow==1} {$entry.plugin_display_dat} {/if} now i can randomly place the ads between post 1 and 6 plus i'm noticing on smarty forum, people don't like to use {counter} rathe...
by MySchizoBuddy
Thu Dec 08, 2005 4:48 pm
Forum: General discussions
Topic: detecting latest 3 posts
Replies: 28
Views: 20652

yeah i'm trying the assign function {assign var="inc" value={counter}} but that won't work cause u cannot have {} inside {} {assign var="inc" value=counter} this assigns the word counter not the value :? i tried this <?php $smarty->assign('inc', '{counter}'); ?> doesn't work either
by MySchizoBuddy
Thu Dec 08, 2005 4:34 pm
Forum: General discussions
Topic: detecting latest 3 posts
Replies: 28
Views: 20652

ok problem. counter cannot be used inside an if statement. So i cannot check the counter.
by MySchizoBuddy
Thu Dec 08, 2005 2:51 pm
Forum: General discussions
Topic: detecting latest 3 posts
Replies: 28
Views: 20652

ok cool counter works :) phew I was freaking out, cause without the counter my cool new blog was broken , I also found a smarty random function {1|rand:5} that will generate random number between 1 and 5 and i can use this to randomly show the blocks :) :) :) Now the random number should not generat...
by MySchizoBuddy
Thu Dec 08, 2005 2:33 pm
Forum: General discussions
Topic: detecting latest 3 posts
Replies: 28
Views: 20652

the outer most loop is stuck on -1. i'm not sure why
Ok let me try the {counter} and see what it does.
I guess I'll have to read up on random number generation and how to create smarty tags of it.
thanks.
by MySchizoBuddy
Thu Dec 08, 2005 2:11 pm
Forum: General discussions
Topic: detecting latest 3 posts
Replies: 28
Views: 20652

garvin can u give me a counter that counts from 0 to end of all the posts and doesn't reset. right now the counter runs per day and resets for next day. So if i have 2 post today and 3 yesterday, the the counter goes from 0 to 1 and resets back to zero and goes from 0 to 2, it doesn't go from 0 to 4