Page 3 of 4

Re: MetaMax Module Observations

Posted: Mon Feb 27, 2012 9:44 pm
by Gregor
You're welcome.

It might of course be that my playing around with the parameters did not work out. From earlier use of the search option to find keywords, I noticed that it came up with keywords that also were found in the text, either a page or blog. It now seems I'm just able to come up with the two keywords I entered myself.

Re: MetaMax Module Observations

Posted: Mon Feb 27, 2012 9:50 pm
by oliverseddon
What settings do you have currently?

I have a few sites with MetaMax and they all seem to pul in keywords.

Re: MetaMax Module Observations

Posted: Mon Feb 27, 2012 10:05 pm
by Gregor
Number: 20
Length: 3
Density: 1

Played around with the numbers, however without any luck.

Re: MetaMax Module Observations

Posted: Mon Feb 27, 2012 10:19 pm
by oliverseddon
The default for getting keywords and descriptions is to pull them from the default Content block, is your content in that block?

If not you have the option to assign the other content blocks to variables and add comma seperated list to the Content block variables input in MetaMax. It will then take that content into consideration when creating the keywords.

For example I tend to capture all my content blocks at the very top of my template and this enables them to be used by MetaMax.

Code: Select all

{capture assign='pageContent'}{content}{/capture}
{capture assign='codeBlockUpper'}{content block='Upper Code Block' wysiwyg='false' oneline='true'}{/capture}
{capture assign='codeBlock'}{content block='Code Block' wysiwyg='false' oneline='true'}{/capture}
So in this example adding pageContent, codeBlockUpper, codeBlock to MetaMax. I then just call these variables in my template where I want them to appear on the front end.


I hope at least some of that makes sense, but let me know if not.

Re: MetaMax Module Observations

Posted: Tue Feb 28, 2012 6:47 am
by Gregor
I have my content assigned like this:

Code: Select all

{capture assign='get_content'}{content}{/capture}
{if !isset($pagetitle)}
   {capture assign='pagetitle'}{title}{/capture}
{/if}
{MetaMax}
{strip}
{process_pagedata}
In the template I call the content via:

Code: Select all

{global_content name='UB_col1_c'}
and in this GCB it says:

Code: Select all

<div id="main">
     {$get_content}
     <br />  {* to insure space below content *}
     {global_content name='SocialMedia'}
So basically, the variable $get_content contains the content.

Looking at your example, this seems to be similar to the way I use it. If I overlook something, please let me know.

Re: MetaMax Module Observations

Posted: Tue Feb 28, 2012 7:01 am
by Gregor
One other observation regarding {cms_jquery}. By clicking the option and adding
jquery.ui.nestedSortable-1.3.4.js, jquery.json-2.2.js, jquery-ui-1.8.14.min.js
to the "Exclude parameter:" does not seem to work. The header of my site contains a script using jquery and that is not loaded. I originally had:

Code: Select all

{cms_jquery cdn='true' exclude='jquery.ui.nestedSortable-1.3.4.js, jquery.json-2.2.js, jquery-ui-1.8.14.min.js'}
in the template, which is working. For the time being I put that tag back in place.

Re: MetaMax Module Observations

Posted: Tue Feb 28, 2012 8:07 am
by Gregor
Another thing I came up to, some JS needs to be placed in a specific order, f.i. jquery must be loaded before the cycle-script. So, JS-placed in the HTML block is loaded before the jquery enter in the "JQuery settings". Just an observation.

Re: MetaMax Module Observations

Posted: Tue Feb 28, 2012 8:32 am
by oliverseddon
I have added the following settings to MetaMax JQuery tab:

Include {cms_jquery} tag: Checked
Exclude parameter: jquery.ui.nestedSortable-1.3.4.js, jquery.json-2.2.js, jquery-ui-1.8.14.min.js
Include parameter: Blank
CND parameter: False
Custom root parameter: Blank
Assign parameter: Blank

The result is jquery-1.6.2.min.js being loaded. So from what I can see it all seems to work for me, what settings do you have?

Re: MetaMax Module Observations

Posted: Tue Feb 28, 2012 8:34 am
by oliverseddon
The JS scripts load in the following order:

jquery-1.6.2.min.js
jquery-ui-1.8.14.min.js
jquery.ui.nestedSortable-1.3.4.js
jquery.json-2.2.js


All of this appears before the HTML block area.

Re: MetaMax Module Observations

Posted: Tue Feb 28, 2012 8:49 am
by Gregor
I have the following settings:
Include {cms_jquery} tag: Checked
Exclude parameter: jquery.ui.nestedSortable-1.3.4.js, jquery.json-2.2.js, jquery-ui-1.8.14.min.js
Include parameter: Blank
CND parameter: True
Custom root parameter: Blank
Assign parameter: Blank

Thought I check the {cms_jquery} tag again to show you, at first no changing of the header and the ticker under 'Zeiluitspraken' and after a couple of seconds it started to rotate. Hmmm, impatience...

Re: MetaMax Module Observations

Posted: Tue Feb 28, 2012 8:54 am
by oliverseddon
So is it working as you expected now?

I see from your page source that it all appears to have loaded correctly.

I am just looking to see if your way of assigning your content via a GCB gives me the same results as you. I'll let you know what I find. Is there any way you could have the content captured and assigned in your template rather that a GCB?

Re: MetaMax Module Observations

Posted: Tue Feb 28, 2012 8:57 am
by Gregor
It is working as expected :) thanks for asking.
Is there any way you could have the content captured and assigned in your template rather that a GCB?
No, there is not.

Re: MetaMax Module Observations

Posted: Tue Feb 28, 2012 9:00 am
by oliverseddon
I have just tried adding my content the same way you have, and added the text that appears on your home page and I get this appearing in my head:

Code: Select all

<meta name="keywords" content="whisky, werd, naam, voor, zijn, alcohol, niet, wordt" />
My keywords settings are as follows:

Number of keywords: 20
Length of keywords: 4
Density of keywords: 3

Re: MetaMax Module Observations

Posted: Tue Feb 28, 2012 9:07 am
by oliverseddon
Have you added get_content to the Content block variables: text input in MetaMax?

Without the $ sign. I might need to add that tho the help text.

Re: MetaMax Module Observations

Posted: Tue Feb 28, 2012 9:14 am
by Gregor
oliverseddon wrote:Have you added get_content to the Content block variables: text input in MetaMax?

Without the $ sign. I might need to add that tho the help text.
That did do the trick ;)
Shall I help you with the help text?