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

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.
halm
Forum Members
Forum Members
Posts: 103
Joined: Mon Jun 11, 2007 12:52 pm

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

Post 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?!
:-[ :-[ :-[
Last edited by halm on Wed Aug 15, 2007 7:24 am, edited 1 time in total.
"One measures a circle, beginning anywhere" - Charles Fort
cyberman

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

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

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

Post by Dr.CSS »

Did you look in the module Help.... \/ read below....
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

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

Post by Nullig »

Those tags are probably called in your main template.

Nullig
halm
Forum Members
Forum Members
Posts: 103
Joined: Mon Jun 11, 2007 12:52 pm

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

Post 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 ...
"One measures a circle, beginning anywhere" - Charles Fort
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post 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...
halm
Forum Members
Forum Members
Posts: 103
Joined: Mon Jun 11, 2007 12:52 pm

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

Post 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.  :(
"One measures a circle, beginning anywhere" - Charles Fort
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post 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.?...
halm
Forum Members
Forum Members
Posts: 103
Joined: Mon Jun 11, 2007 12:52 pm

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

Post 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
"One measures a circle, beginning anywhere" - Charles Fort
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post 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...
halm
Forum Members
Forum Members
Posts: 103
Joined: Mon Jun 11, 2007 12:52 pm

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

Post by halm »

There's "sample" and "_dflt", none of them contain the tags ...
"One measures a circle, beginning anywhere" - Charles Fort
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post 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?...
halm
Forum Members
Forum Members
Posts: 103
Joined: Mon Jun 11, 2007 12:52 pm

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

Post 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!
"One measures a circle, beginning anywhere" - Charles Fort
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post by Dr.CSS »

How are you calling this in the page/template, the tag,    {    }  ?
halm
Forum Members
Forum Members
Posts: 103
Joined: Mon Jun 11, 2007 12:52 pm

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

Post by halm »

That's what I'd like to know, too  ;)

From the (rendered) page source it looks like {comments}{socialBookmarks} but I dunno ...
"One measures a circle, beginning anywhere" - Charles Fort
Post Reply

Return to “CMSMS Core”