> I just finished developing my own theme and I tried to integrate the > extracontent feature in my theme, but it doesn't work the way it > should.
> My Problem is, that the content once placed in the ec stack, won't > change the position on the website when I change the id from 1 to 2 or > 2 to 1.
> I've already read the developer guide from the EC SDK, but I could > need some help.
> I put all the codes into the index.html and put some style rules to > the EC container in the style.css, but it won't work, is there > anything to do? > For example in the theme.plist data or anything else?
> Would be great, if someone could give some advice.
> best regards > christian
> -- > You received this message because you are subscribed to the Google Groups "ExtraContent" group. > To post to this group, send email to extracontent@googlegroups.com. > To unsubscribe from this group, send email to extracontent+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/extracontent?hl=en.
> On 18 Feb., 22:18, Adam Merrifield <mac...@gmail.com (http://gmail.com)> wrote: > > If this is your actual template file then you'll need to remove the empty myExtraContent1 and myExtraContent2 divs.
> -- > You received this message because you are subscribed to the Google Groups "ExtraContent" group. > To post to this group, send email to extracontent@googlegroups.com (mailto:extracontent@googlegroups.com). > To unsubscribe from this group, send email to extracontent+unsubscribe@googlegroups.com (mailto:extracontent+unsubscribe@googlegroups.com). > For more options, visit this group at http://groups.google.com/group/extracontent?hl=en.
> On 21 Feb., 13:10, Adam Merrifield <mac...@gmail.com (http://gmail.com)> wrote: > > Without seeing a live example it's impossible to see what you've done wrong.
> > > On 18 Feb., 22:18, Adam Merrifield <mac...@gmail.com (http://gmail.com)> wrote: > > > > If this is your actual template file then you'll need to remove the empty myExtraContent1 and myExtraContent2 divs.
> > > > On 2012-02-17, at 2:40, Christian <cw.hi...@googlemail.com (http://googlemail.com)> wrote:
> > > -- > > > You received this message because you are subscribed to the Google Groups "ExtraContent" group. > > > To post to this group, send email to extracontent@googlegroups.com (mailto:extracontent@googlegroups.com). > > > To unsubscribe from this group, send email to extracontent+unsubscribe@googlegroups.com (mailto:extracontent+unsubscribe@googlegroups.com). > > > For more options, visit this group athttp://groups.google.com/group/extracontent?hl=en.
> -- > You received this message because you are subscribed to the Google Groups "ExtraContent" group. > To post to this group, send email to extracontent@googlegroups.com (mailto:extracontent@googlegroups.com). > To unsubscribe from this group, send email to extracontent+unsubscribe@googlegroups.com (mailto:extracontent+unsubscribe@googlegroups.com). > For more options, visit this group at http://groups.google.com/group/extracontent?hl=en.
%pathto()% is essential for themes and their resources. You can't use hard links to files within the theme, they need to be parsed with %pathto()%. So if %pathto()% is failing when looking for the extracontent.js file, that means that it's not where it's supposed to be and RapidWeaver is looking for it in the wrong place. You need to resolve that.
-- Adam Merrifield seyDoggy vCard: seydoggy.com/vcard
On Wednesday, February 22, 2012 at 8:44 AM, Christian wrote: > Thx Adam you really helped me out, > now I have changed the paths and it seems to work right.
> I don't know why, but somehow, Rapidweaver doesn't upload the > extracontent.js files to the server when I put the pathto link in it. > Now with google works > Thank you adamn, I really appreciate your support.
> > > On 21 Feb., 13:10, Adam Merrifield <mac...@gmail.com (http://gmail.com)> wrote: > > > > Without seeing a live example it's impossible to see what you've done wrong.
> > > > > On 18 Feb., 22:18, Adam Merrifield <mac...@gmail.com (http://gmail.com)> wrote: > > > > > > If this is your actual template file then you'll need to remove the empty myExtraContent1 and myExtraContent2 divs.
> > > > > > On 2012-02-17, at 2:40, Christian <cw.hi...@googlemail.com (http://googlemail.com)> wrote:
> > > > > -- > > > > > You received this message because you are subscribed to the Google Groups "ExtraContent" group. > > > > > To post to this group, send email to extracontent@googlegroups.com (mailto:extracontent@googlegroups.com). > > > > > To unsubscribe from this group, send email to extracontent+unsubscribe@googlegroups.com (mailto:extracontent+unsubscribe@googlegroups.com). > > > > > For more options, visit this group athttp://groups.google.com/group/extracontent?hl=en.
> > > -- > > > You received this message because you are subscribed to the Google Groups "ExtraContent" group. > > > To post to this group, send email to extracontent@googlegroups.com (mailto:extracontent@googlegroups.com). > > > To unsubscribe from this group, send email to extracontent+unsubscribe@googlegroups.com (mailto:extracontent+unsubscribe@googlegroups.com). > > > For more options, visit this group athttp://groups.google.com/group/extracontent?hl=en.
> -- > You received this message because you are subscribed to the Google Groups "ExtraContent" group. > To post to this group, send email to extracontent@googlegroups.com (mailto:extracontent@googlegroups.com). > To unsubscribe from this group, send email to extracontent+unsubscribe@googlegroups.com (mailto:extracontent+unsubscribe@googlegroups.com). > For more options, visit this group at http://groups.google.com/group/extracontent?hl=en.
ok, now the paths seem to work, I had to put an additional string in
the theme.plist so that Rapidweaver uploads the scripts folder where
the extracontent files lie.
But the safari console displays now : ReferenceError: Can't find
variable: jQuery
On 22 Feb., 15:39, Adam Merrifield <mac...@gmail.com> wrote:
> %pathto()% is essential for themes and their resources. You can't use hard links to files within the theme, they need to be parsed with %pathto()%. So if %pathto()% is failing when looking for the extracontent.js file, that means that it's not where it's supposed to be and RapidWeaver is looking for it in the wrong place. You need to resolve that.
> --
> Adam Merrifield
> seyDoggy vCard: seydoggy.com/vcard
> On Wednesday, February 22, 2012 at 8:44 AM, Christian wrote:
> > Thx Adam you really helped me out,
> > now I have changed the paths and it seems to work right.
> > I don't know why, but somehow, Rapidweaver doesn't upload the
> > extracontent.js files to the server when I put the pathto link in it.
> > Now with google works
> > Thank you adamn, I really appreciate your support.
> > > > On 21 Feb., 13:10, Adam Merrifield <mac...@gmail.com (http://gmail.com)> wrote:
> > > > > Without seeing a live example it's impossible to see what you've done wrong.
> > > > > > On 18 Feb., 22:18, Adam Merrifield <mac...@gmail.com (http://gmail.com)> wrote:
> > > > > > > If this is your actual template file then you'll need to remove the empty myExtraContent1 and myExtraContent2 divs.
> > > > > > > On 2012-02-17, at 2:40, Christian <cw.hi...@googlemail.com (http://googlemail.com)> wrote:
> > > > > > --
> > > > > > You received this message because you are subscribed to the Google Groups "ExtraContent" group.
> > > > > > To post to this group, send email to extracontent@googlegroups.com (mailto:extracontent@googlegroups.com).
> > > > > > To unsubscribe from this group, send email to extracontent+unsubscribe@googlegroups.com (mailto:extracontent+unsubscribe@googlegroups.com).
> > > > > > For more options, visit this group athttp://groups.google.com/group/extracontent?hl=en.
> > > > --
> > > > You received this message because you are subscribed to the Google Groups "ExtraContent" group.
> > > > To post to this group, send email to extracontent@googlegroups.com (mailto:extracontent@googlegroups.com).
> > > > To unsubscribe from this group, send email to extracontent+unsubscribe@googlegroups.com (mailto:extracontent+unsubscribe@googlegroups.com).
> > > > For more options, visit this group athttp://groups.google.com/group/extracontent?hl=en.
> > --
> > You received this message because you are subscribed to the Google Groups "ExtraContent" group.
> > To post to this group, send email to extracontent@googlegroups.com (mailto:extracontent@googlegroups.com).
> > To unsubscribe from this group, send email to extracontent+unsubscribe@googlegroups.com (mailto:extracontent+unsubscribe@googlegroups.com).
> > For more options, visit this group athttp://groups.google.com/group/extracontent?hl=en.
You need to backup a few steps and read all of the documentation. There are two versions of ExtraContent--one which relies on jQuery if your theme already requires it, and one that doesn't rely jQuery.
In your live example you included the script that doesn't require jQuery (which is perfectly fine) but then you've also hard coded in the jQuery version of ExtraContent into the head of the document despite the fact that you don't include jQuery (hence the error).
So you need to choose one or the other and follow the directions pertinent to that version.
-- Adam Merrifield seyDoggy vCard: seydoggy.com/vcard
On Wednesday, February 22, 2012 at 10:49 AM, Christian wrote: > ok, now the paths seem to work, I had to put an additional string in > the theme.plist so that Rapidweaver uploads the scripts folder where > the extracontent files lie. > But the safari console displays now : ReferenceError: Can't find > variable: jQuery
> On 22 Feb., 15:39, Adam Merrifield <mac...@gmail.com (http://gmail.com)> wrote: > > %pathto()% is essential for themes and their resources. You can't use hard links to files within the theme, they need to be parsed with %pathto()%. So if %pathto()% is failing when looking for the extracontent.js file, that means that it's not where it's supposed to be and RapidWeaver is looking for it in the wrong place. You need to resolve that.
> > On Wednesday, February 22, 2012 at 8:44 AM, Christian wrote: > > > Thx Adam you really helped me out, > > > now I have changed the paths and it seems to work right.
> > > I don't know why, but somehow, Rapidweaver doesn't upload the > > > extracontent.js files to the server when I put the pathto link in it. > > > Now with google works > > > Thank you adamn, I really appreciate your support.
> > > > > On 21 Feb., 13:10, Adam Merrifield <mac...@gmail.com (http://gmail.com)> wrote: > > > > > > Without seeing a live example it's impossible to see what you've done wrong.
> > > > > > On Tuesday, February 21, 2012 at 3:54 AM, Christian wrote: > > > > > > > well, even after recent changes of the index.html nothing happens, the > > > > > > > problem is still there. > > > > > > > https://docs.google.com/open?id=0B4cy_21QLbIzZjM0ZWRlZTUtOTM2Yy00NjEz...
> > > > > > > On 18 Feb., 22:18, Adam Merrifield <mac...@gmail.com (http://gmail.com)> wrote: > > > > > > > > If this is your actual template file then you'll need to remove the empty myExtraContent1 and myExtraContent2 divs.
> > > > > > > > On 2012-02-17, at 2:40, Christian <cw.hi...@googlemail.com (http://googlemail.com)> wrote:
> > > > > > > -- > > > > > > > You received this message because you are subscribed to the Google Groups "ExtraContent" group. > > > > > > > To post to this group, send email to extracontent@googlegroups.com (mailto:extracontent@googlegroups.com). > > > > > > > To unsubscribe from this group, send email to extracontent+unsubscribe@googlegroups.com (mailto:extracontent+unsubscribe@googlegroups.com). > > > > > > > For more options, visit this group athttp://groups.google.com/group/extracontent?hl=en.
> > > > > -- > > > > > You received this message because you are subscribed to the Google Groups "ExtraContent" group. > > > > > To post to this group, send email to extracontent@googlegroups.com (mailto:extracontent@googlegroups.com). > > > > > To unsubscribe from this group, send email to extracontent+unsubscribe@googlegroups.com (mailto:extracontent+unsubscribe@googlegroups.com). > > > > > For more options, visit this group athttp://groups.google.com/group/extracontent?hl=en.
> > > -- > > > You received this message because you are subscribed to the Google Groups "ExtraContent" group. > > > To post to this group, send email to extracontent@googlegroups.com (mailto:extracontent@googlegroups.com). > > > To unsubscribe from this group, send email to extracontent+unsubscribe@googlegroups.com (mailto:extracontent+unsubscribe@googlegroups.com). > > > For more options, visit this group athttp://groups.google.com/group/extracontent?hl=en.
> -- > You received this message because you are subscribed to the Google Groups "ExtraContent" group. > To post to this group, send email to extracontent@googlegroups.com (mailto:extracontent@googlegroups.com). > To unsubscribe from this group, send email to extracontent+unsubscribe@googlegroups.com (mailto:extracontent+unsubscribe@googlegroups.com). > For more options, visit this group at http://groups.google.com/group/extracontent?hl=en.
*sigh* no, no, no. There are TWO ExtraContents--one WITH jQuery and one WITHOUT. Only use ONE. You are using BOTH.
In addition, you've included jQuery TWICE--the production version and the minified version.
You need to slow down, back up and read all the documentation of anything you are going to include in your theme or you are going to make it a nightmare for those developing in the same environment (i.e. stacks, snippets and scripts that the end user adds to their page using your theme).
-- Adam Merrifield seyDoggy vCard: seydoggy.com/vcard
On Thursday, February 23, 2012 at 3:36 AM, Christian wrote: > now the console doesn't show an error anymore, hope I did the right > way. > I put the jQuery Library into my theme, so actually everything should > work fine, I hope so.
> Didn't thought theme development with Extracontent would be that > complex. > Practise makes perfect, right ?=)
> On 22 Feb., 16:59, Adam Merrifield <mac...@gmail.com (http://gmail.com)> wrote: > > You need to backup a few steps and read all of the documentation. There are two versions of ExtraContent--one which relies on jQuery if your theme already requires it, and one that doesn't rely jQuery.
> > In your live example you included the script that doesn't require jQuery (which is perfectly fine) but then you've also hard coded in the jQuery version of ExtraContent into the head of the document despite the fact that you don't include jQuery (hence the error).
> > So you need to choose one or the other and follow the directions pertinent to that version.
> > On Wednesday, February 22, 2012 at 10:49 AM, Christian wrote: > > > ok, now the paths seem to work, I had to put an additional string in > > > the theme.plist so that Rapidweaver uploads the scripts folder where > > > the extracontent files lie. > > > But the safari console displays now : ReferenceError: Can't find > > > variable: jQuery
> > > On 22 Feb., 15:39, Adam Merrifield <mac...@gmail.com (http://gmail.com)> wrote: > > > > %pathto()% is essential for themes and their resources. You can't use hard links to files within the theme, they need to be parsed with %pathto()%. So if %pathto()% is failing when looking for the extracontent.js file, that means that it's not where it's supposed to be and RapidWeaver is looking for it in the wrong place. You need to resolve that.
> > > > On Wednesday, February 22, 2012 at 8:44 AM, Christian wrote: > > > > > Thx Adam you really helped me out, > > > > > now I have changed the paths and it seems to work right.
> > > > > I don't know why, but somehow, Rapidweaver doesn't upload the > > > > > extracontent.js files to the server when I put the pathto link in it. > > > > > Now with google works > > > > > Thank you adamn, I really appreciate your support.
> > > > > > On Wednesday, February 22, 2012 at 3:56 AM, Christian wrote: > > > > > > > I created just another blank theme with ec to help solve the problem.
> > > > > > > On 21 Feb., 13:10, Adam Merrifield <mac...@gmail.com (http://gmail.com)> wrote: > > > > > > > > Without seeing a live example it's impossible to see what you've done wrong.
> > > > > > > > On Tuesday, February 21, 2012 at 3:54 AM, Christian wrote: > > > > > > > > > well, even after recent changes of the index.html nothing happens, the > > > > > > > > > problem is still there. > > > > > > > > > https://docs.google.com/open?id=0B4cy_21QLbIzZjM0ZWRlZTUtOTM2Yy00NjEz...
> > > > > > > > > On 18 Feb., 22:18, Adam Merrifield <mac...@gmail.com (http://gmail.com)> wrote: > > > > > > > > > > If this is your actual template file then you'll need to remove the empty myExtraContent1 and myExtraContent2 divs.
> > > > > > > > > > On 2012-02-17, at 2:40, Christian <cw.hi...@googlemail.com (http://googlemail.com)> wrote:
> > > > > > > > > -- > > > > > > > > > You received this message because you are subscribed to the Google Groups "ExtraContent" group. > > > > > > > > > To post to this group, send email to extracontent@googlegroups.com (mailto:extracontent@googlegroups.com). > > > > > > > > > To unsubscribe from this group, send email to extracontent+unsubscribe@googlegroups.com (mailto:extracontent+unsubscribe@googlegroups.com). > > > > > > > > > For more options, visit this group athttp://groups.google.com/group/extracontent?hl=en.
> > > > > > > -- > > > > > > > You received this message because you are subscribed to the Google Groups "ExtraContent" group. > > > > > > > To post to this group, send email to extracontent@googlegroups.com (mailto:extracontent@googlegroups.com). > > > > > > > To unsubscribe from this group, send email to extracontent+unsubscribe@googlegroups.com (mailto:extracontent+unsubscribe@googlegroups.com). > > > > > > > For more options, visit this group athttp://groups.google.com/group/extracontent?hl=en.
> > > > > -- > > > > > You received this message because you are subscribed to the Google Groups "ExtraContent" group. > > > > > To post to this group, send email to extracontent@googlegroups.com (mailto:extracontent@googlegroups.com). > > > > > To unsubscribe from this group, send email to extracontent+unsubscribe@googlegroups.com (mailto:extracontent+unsubscribe@googlegroups.com). > > > > > For more options, visit this group athttp://groups.google.com/group/extracontent?hl=en.
> > > -- > > > You received this message because you are subscribed to the Google Groups "ExtraContent" group. > > > To post to this group, send email to extracontent@googlegroups.com (mailto:extracontent@googlegroups.com). > > > To unsubscribe from this group, send email to extracontent+unsubscribe@googlegroups.com (mailto:extracontent+unsubscribe@googlegroups.com). > > > For more options, visit this group athttp://groups.google.com/group/extracontent?hl=en.
> -- > You received this message because you are subscribed to the Google Groups "ExtraContent" group. > To post to this group, send email to extracontent@googlegroups.com (mailto:extracontent@googlegroups.com). > To unsubscribe from this group, send email to extracontent+unsubscribe@googlegroups.com (mailto:extracontent+unsubscribe@googlegroups.com). > For more options, visit this group at http://groups.google.com/group/extracontent?hl=en.
If you think it is "hard" to implement EC in your theme, it means you need to learn basis of web development. This, of course, is just a gentle suggestion. It is clear you lacks the most basic understanding of web development.
> *sigh* no, no, no. There are TWO ExtraContents--one WITH jQuery and one WITHOUT. Only use ONE. You are using BOTH.
> In addition, you've included jQuery TWICE--the production version and the minified version.
> You need to slow down, back up and read all the documentation of anything you are going to include in your theme or you are going to make it a nightmare for those developing in the same environment (i.e. stacks, snippets and scripts that the end user adds to their page using your theme).
> -- > Adam Merrifield > seyDoggy vCard: seydoggy.com/vcard
> On Thursday, February 23, 2012 at 3:36 AM, Christian wrote:
>> now the console doesn't show an error anymore, hope I did the right >> way. >> I put the jQuery Library into my theme, so actually everything should >> work fine, I hope so.
>> Didn't thought theme development with Extracontent would be that >> complex. >> Practise makes perfect, right ?=)
>> On 22 Feb., 16:59, Adam Merrifield <mac...@gmail.com (http://gmail.com)> wrote: >>> You need to backup a few steps and read all of the documentation. There are two versions of ExtraContent--one which relies on jQuery if your theme already requires it, and one that doesn't rely jQuery.
>>> In your live example you included the script that doesn't require jQuery (which is perfectly fine) but then you've also hard coded in the jQuery version of ExtraContent into the head of the document despite the fact that you don't include jQuery (hence the error).
>>> So you need to choose one or the other and follow the directions pertinent to that version.
>>> On Wednesday, February 22, 2012 at 10:49 AM, Christian wrote: >>>> ok, now the paths seem to work, I had to put an additional string in >>>> the theme.plist so that Rapidweaver uploads the scripts folder where >>>> the extracontent files lie. >>>> But the safari console displays now : ReferenceError: Can't find >>>> variable: jQuery
>>>> On 22 Feb., 15:39, Adam Merrifield <mac...@gmail.com (http://gmail.com)> wrote: >>>>> %pathto()% is essential for themes and their resources. You can't use hard links to files within the theme, they need to be parsed with %pathto()%. So if %pathto()% is failing when looking for the extracontent.js file, that means that it's not where it's supposed to be and RapidWeaver is looking for it in the wrong place. You need to resolve that.
>>>>> On Wednesday, February 22, 2012 at 8:44 AM, Christian wrote: >>>>>> Thx Adam you really helped me out, >>>>>> now I have changed the paths and it seems to work right.
>>>>>> I don't know why, but somehow, Rapidweaver doesn't upload the >>>>>> extracontent.js files to the server when I put the pathto link in it. >>>>>> Now with google works >>>>>> Thank you adamn, I really appreciate your support.
>>>>>>>> On 21 Feb., 13:10, Adam Merrifield <mac...@gmail.com (http://gmail.com)> wrote: >>>>>>>>> Without seeing a live example it's impossible to see what you've done wrong.
>>>>>>>>> -- >>>>>>>>> Adam Merrifield >>>>>>>>> seyDoggy vCard: seydoggy.com/vcard (http://seydoggy.com/vcard)
>>>>>>>>>> On 18 Feb., 22:18, Adam Merrifield <mac...@gmail.com (http://gmail.com)> wrote: >>>>>>>>>>> If this is your actual template file then you'll need to remove the empty myExtraContent1 and myExtraContent2 divs.
>>>>>>>>>>> On 2012-02-17, at 2:40, Christian <cw.hi...@googlemail.com (http://googlemail.com)> wrote:
>>>>>>>>>> -- >>>>>>>>>> You received this message because you are subscribed to the Google Groups "ExtraContent" group. >>>>>>>>>> To post to this group, send email to extracontent@googlegroups.com (mailto:extracontent@googlegroups.com). >>>>>>>>>> To unsubscribe from this group, send email to extracontent+unsubscribe@googlegroups.com (mailto:extracontent+unsubscribe@googlegroups.com). >>>>>>>>>> For more options, visit this group athttp://groups.google.com/group/extracontent?hl=en.
>>>>>>>> -- >>>>>>>> You received this message because you are subscribed to the Google Groups "ExtraContent" group. >>>>>>>> To post to this group, send email to extracontent@googlegroups.com (mailto:extracontent@googlegroups.com). >>>>>>>> To unsubscribe from this group, send email to extracontent+unsubscribe@googlegroups.com (mailto:extracontent+unsubscribe@googlegroups.com). >>>>>>>> For more options, visit this group athttp://groups.google.com/group/extracontent?hl=en.
>>>>>> -- >>>>>> You received this message because you are subscribed to the Google Groups "ExtraContent" group. >>>>>> To post to this group, send email to extracontent@googlegroups.com (mailto:extracontent@googlegroups.com). >>>>>> To unsubscribe from this group, send email to extracontent+unsubscribe@googlegroups.com (mailto:extracontent+unsubscribe@googlegroups.com). >>>>>> For more options, visit this group athttp://groups.google.com/group/extracontent?hl=en.
>>>> -- >>>> You received this message because you are subscribed to the Google Groups "ExtraContent" group. >>>> To post to this group, send email to extracontent@googlegroups.com (mailto:extracontent@googlegroups.com). >>>> To unsubscribe from this group, send email to extracontent+unsubscribe@googlegroups.com (mailto:extracontent+unsubscribe@googlegroups.com). >>>> For more options, visit this group athttp://groups.google.com/group/extracontent?hl=en.
>> -- >> You received this message because you are subscribed to the Google Groups "ExtraContent" group. >> To post to this group, send email to extracontent@googlegroups.com (mailto:extracontent@googlegroups.com). >> To unsubscribe from this group, send email to extracontent+unsubscribe@googlegroups.com (mailto:extracontent+unsubscribe@googlegroups.com). >> For more options, visit this group at http://groups.google.com/group/extracontent?hl=en.
> -- > You received this message because you are subscribed to the Google Groups "ExtraContent" group. > To post to this group, send email to extracontent@googlegroups.com. > To unsubscribe from this group, send email to extracontent+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/extracontent?hl=en.