Page 1 of 2

[SOLVED!] Social Bookmarks/Comments MIA --?! Detective needed.

Posted: Mon Aug 06, 2007 4:28 pm
by halm
Right, so I'm way down on my checklist now. It's time to prettify my blog page, and I wanted to tidy up the links below each post (printlink, socialBookmarks, comments) - get them to stand in line or some such.

Not important though; didn't get that far.

I checked the News Module detailpage. And the stylesheet. And the News Module stylesheet, too.
I cannot find the {socialBookmarks} or {comments} tag anywhere.
A bit hard to align or style them if you don't know where they are ... ::)

I do not have the insight to backtrack and figure out where they may be, so I'll swallow my pride and ask -
Anybody with an investigative mind who can tell me where I might have put the tags?!
:-[ :-[ :-[

Re: Social Bookmarks/Comments MIA --?! Detective needed.

Posted: Mon Aug 06, 2007 7:59 pm
by cyberman
halm wrote: I cannot find the {socialBookmarks} or {comments} tag anywhere.
Have you looked here?

http://dev.cmsmadesimple.org/projects/socialbookmarks/
http://dev.cmsmadesimple.org/projects/comments/

Re: Social Bookmarks/Comments MIA --?! Detective needed.

Posted: Mon Aug 06, 2007 8:00 pm
by Dr.CSS
Did you look in the module Help.... \/ read below....

Re: Social Bookmarks/Comments MIA --?! Detective needed.

Posted: Mon Aug 06, 2007 8:55 pm
by Nullig
Those tags are probably called in your main template.

Nullig

Re: Social Bookmarks/Comments MIA --?! Detective needed.

Posted: Mon Aug 06, 2007 9:17 pm
by halm
[quote="cyberman"]
Have you looked here?

http://dev.cmsmadesimple.org/projects/socialbookmarks/
http://dev.cmsmadesimple.org/projects/comments/
@ Cyberman: Thank you, yes. I have both tags installed. My trouble is where I put in my coding  :-\

@ Nullig: You'd think so, wouldn't you? I checked in my template, no luck.

The social bookmarks and comments are showing on my detail page - but I can't for the life of me remember or figure out where they're called from ...

Re: Social Bookmarks/Comments MIA --?! Detective needed.

Posted: Mon Aug 06, 2007 10:19 pm
by Dr.CSS
For Styling you may find the Web Developers toolbar for Firefox useful and if you right click in the rendered page you can 'view source' to see what div it's in for styling purposes...

Re: Social Bookmarks/Comments MIA --?! Detective needed.

Posted: Wed Aug 08, 2007 8:08 am
by halm
Yeah ...

Maybe I was too vague. The styling is not the issue right now.

The elements display on my page, no problem. I can tell from the source (crtl-u in Firefox) what they are in, but it doesn't give me a clue as to what template or php-document the functions are called in. Installed the developer's toolbar, don't see how that will help me locate it.

I need to know where I may have put the function calls as it is really frustrating to have stray code lying around. It's like waiting for the other shoe to drop.  :(

Re: Social Bookmarks/Comments MIA --?! Detective needed.

Posted: Wed Aug 08, 2007 3:19 pm
by Dr.CSS
If you see this...





Then what is in it you want to change is in the comments module display template, second tab over, Content » Comments

It is probably in the news detail template... Content » News  fourth tab over... at the bottom?...

{if $return_url != ""}
{$return_url}
{/if}{cms_module module='comments' modulename='News' pageid=$entry->id emailfield=1 websitefield=1  }

Of course I could have told you first time where you put them if I had a link... on your comp.?...

Re: Social Bookmarks/Comments MIA --?! Detective needed.

Posted: Thu Aug 09, 2007 7:43 am
by halm
mark wrote:if I had a link
Sure.

I checked the News templates, too ... doesn't seem to be there ???
And it's the social bookmarks tag I need to find the most. According to page source it's in

Re: Social Bookmarks/Comments MIA --?! Detective needed.

Posted: Thu Aug 09, 2007 4:18 pm
by Dr.CSS
If you go to the News module, if you are using CMSMS 1.1, and look at the Detail Template look at the bottom to find the sample template, or the one marked default, click it and you will probably find the tags for them at the bottom of it...

Of course this assumes you have news 2.3 installed and don't have a bunch of extra templates, one of them should be marked default...

Re: Social Bookmarks/Comments MIA --?! Detective needed.

Posted: Thu Aug 09, 2007 5:36 pm
by halm
There's "sample" and "_dflt", none of them contain the tags ...

Re: Social Bookmarks/Comments MIA --?! Detective needed.

Posted: Thu Aug 09, 2007 5:49 pm
by Dr.CSS
Well I can't do much else w/o access sorry... but your rendered page source shows them there... or it's in your template?...

Re: Social Bookmarks/Comments MIA --?! Detective needed.

Posted: Fri Aug 10, 2007 8:55 am
by halm
I have a separate template for the "Blog" page, and I checked that first thing, then proceeding to the other templates that I could access thru the admin panel. Like I said in the first post, I even checked the stylesheets.
Apparently I have been very devious as well as oblivious when applying those tags ... why am I never clever on purpose? :D

Thank you very much for trying to help, Mark. You're a  pal!

Re: Social Bookmarks/Comments MIA --?! Detective needed.

Posted: Fri Aug 10, 2007 5:56 pm
by Dr.CSS
How are you calling this in the page/template, the tag,    {    }  ?

Re: Social Bookmarks/Comments MIA --?! Detective needed.

Posted: Sun Aug 12, 2007 4:26 pm
by halm
That's what I'd like to know, too  ;)

From the (rendered) page source it looks like {comments}{socialBookmarks} but I dunno ...