Page 2 of 2

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

Posted: Sun Aug 12, 2007 4:39 pm
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...

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

Posted: Sun Aug 12, 2007 6:51 pm
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}
  ???

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

Posted: Mon Aug 13, 2007 4:56 pm
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

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

Posted: Tue Aug 14, 2007 10:16 am
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 ...

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

Posted: Tue Aug 14, 2007 2:44 pm
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...

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

Posted: Tue Aug 14, 2007 3:10 pm
by Nullig
Did you Create a Global Content Block with them in it?

Nullig

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

Posted: Tue Aug 14, 2007 7:34 pm
by halm
I didn't. It's only a couple days since I realized how handy GCTs can be ;)

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

Posted: Wed Aug 15, 2007 1:46 am
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...

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

Posted: Wed Aug 15, 2007 6:43 am
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!

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

Posted: Wed Aug 15, 2007 12:37 pm
by Dr.CSS
On a fresh install the Default templates will be named Sample, on an upgrade 'as I said before'...

Your welcome... ;)