[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.
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 this tells me it's in your News detail template... at the very bottom...

        The Blog Section
       
08/06/2007

Literate Porn Comic on TV

The tag I was looking for ... {news  etc. etc.}  in a page or 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 »

Well, I'm telling you I already checked:
My News detail page -

Code: Select all

{if $entry->formatpostdate}
	<div id="NewsPostDetailDate">
		{$entry->formatpostdate}
	</div>
{/if}
<h3 id="NewsPostDetailTitle">{$entry->title}</h3>

<hr id="NewsPostDetailHorizRule" />

{if $entry->summary}
	<div id="NewsPostDetailSummary">
		<strong>
			{eval var=$entry->summary}
		</strong>
	</div>
{/if}

{if $entry->category}
	<div id="NewsPostDetailCategory">
		{$category_label} {$entry->category}
	</div>
{/if}
{if $entry->author}
	<div id="NewsPostDetailAuthor">
		{$author_label} {$entry->author}
	</div>
{/if}

<div id="NewsPostDetailContent">
	{eval var=$entry->content}
</div>

<div id="NewsPostDetailPrintLink">
	{$entry->printlink}
</div>
{if $return_url != ""}
<div id="NewsPostDetailReturnLink">{$return_url}</div>
{/if}
  ???
"One measures a circle, beginning anywhere" - Charles Fort
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 »

Your page source clearly shows the following:

Code: Select all

<div id="NewsPostDetailPrintLink">         
	<a href="http://haverholm.com/test-cmsmadesimple/index.php? ... </a>
</div>

<div id="NewsPostDetailSocialBookmarks">
        | <a href="http://del.icio.us/post?url ... </a> | 
</div>
The last div should be:

Code: Select all

<div id="NewsPostDetailReturnLink">
	<a href="http://haverholm.com/test-cmsmadesimple/index.php? ... </a>
</div>
It appears that "NewsPostDetailSocialBookmarks" has replaced "NewsPostDetailReturnLink" in your template. Perhaps the db is foobar.

I would try resetting the template to factory defaults to see if that works.

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 »

Tried resetting template. No joy.

If something is haywire in the db, what do I do?

I suspect, however, that I've been hardcoding something somewhere to achieve what (I thought) I wanted. I distinctly remember trying to align the printlink, socialBookmarks and commentslink horizontally (failing miserably, natch).

Just don't recall how and where ...
"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 want to PM me a temp login I'm sure I can find it....  ;) full admin or I won't be able to look at all the relevant places...
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 »

Did you Create a Global Content Block with them in it?

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 »

I didn't. It's only a couple days since I realized how handy GCTs can be ;)
"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 »

I you look in your News and look at the Detail Template you will see at the bottom 'Available Templates' and there will be one called 'Sample', which in a fresh install is the template News will use, and another called _dflt, I bet this one has this in it...


        {cms_module module='comments' modulename='News' pageid=$entry->id}


       
{$entry->printlink}



        {socialBookmarks title="*********** - "}


{*if $return_url != ""}
{$return_url}
{/if*}

When you upgrade to CMSMS 1.1 the news will take the original templates and rename them _dflt, for default, so if at some point you customized them they will still be this way and will be set as the default template with a green check mark under the default heading...
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 »

Isn't _dflt the default template? If it is I'll feel like a right arse now, cos I was sure I'd checked ...

Anyway - Mark, you're a sweetheart, you've gone above and beyond on this one!
Big thank you's!
"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: [SOLVED!] Social Bookmarks/Comments MIA --?! Detective needed.

Post by Dr.CSS »

On a fresh install the Default templates will be named Sample, on an upgrade 'as I said before'...

Your welcome... ;)
Post Reply

Return to “CMSMS Core”