Comment Module

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Comment Module

Post 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
katon

Re: Comment Module

Post 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.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Comment Module

Post 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
katon

Re: Comment Module

Post by katon »

ok, now the svn version has this problem taken care of.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Comment Module

Post 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.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Comment Module

Post by Dr.CSS »

hmm,, ok so where is the 'Add a Comment' now,, how do you 'Add a Comment'

  mark
katon

Re: Comment Module

Post by katon »

in the template, add line
{$addcomment}
Then add a respective style in the stylesheet.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Comment Module

Post by Dr.CSS »

Thanks thats great. had me going there for a minute  :D

  mark
Post Reply

Return to “CMSMS Core”