Page 1 of 1

Comment Module

Posted: Fri Apr 21, 2006 6:34 pm
by Dr.CSS
when i use the Comment Module in a page i get this, where does this come from,,

Add A Comment

i want to style it but if i use,,
div#content a{some style} it will make all links in content the same,, i've looked thru all the .php's in the comment module folder with out finding the line that makes this, of course i can almost understand the .php, if i new more i would code it to show like 'add comment' on blogs, with a count of them and link to read them instead of having the 'comment' on the same page, but i'll leave that up to the PHP wizards.  ;)

    mark

Re: Comment Module

Posted: Fri Apr 21, 2006 7:19 pm
by katon
I understood you have this link on this page:
http://www.multiintech.com/cmsite/index.php?page=6
And as far as I can see in the source of the page, the link is enclosed in

       
You can use this in your stylesheet.  Something like:
#content2 #img3 link{
...
}
Not sure this will work exactly like this, but at least it must give you the idea where to dig.

Re: Comment Module

Posted: Fri Apr 21, 2006 7:51 pm
by Dr.CSS
well i can get to it but like i said it will make any link in that 'div' show up with that 'style'.
i was hoping to find out what generated that line so i could put a unique 'id' on it for styling.
like i do for Imap menus, i changed that to have 'id's like,,

<a id="a15" title="Home" href="http:/

that way i can 'style' the indivdual links,

  mark

Re: Comment Module

Posted: Fri Apr 21, 2006 10:02 pm
by katon
ok, now the svn version has this problem taken care of.

Re: Comment Module

Posted: Fri Apr 21, 2006 10:32 pm
by Dr.CSS
Thanks just got it.

  mark
maksbud wrote: , of course i can almost understand the .php, if i new more i would code it to show like 'add comment' on blogs, with a count of them and link to read them instead of having the 'comment' on the same page, but i'll leave that up to the PHP wizards.  ;)
any luck with this,, not that i want to be pushy or anything,
but i will say you do work fast, i saw some of your other post about this mudule.

Re: Comment Module

Posted: Fri Apr 21, 2006 10:59 pm
by Dr.CSS
hmm,, ok so where is the 'Add a Comment' now,, how do you 'Add a Comment'

  mark

Re: Comment Module

Posted: Sat Apr 22, 2006 8:09 am
by katon
in the template, add line
{$addcomment}
Then add a respective style in the stylesheet.

Re: Comment Module

Posted: Sat Apr 22, 2006 4:52 pm
by Dr.CSS
Thanks thats great. had me going there for a minute  :D

  mark