since ‎22-10-2014
‎10-12-2019
Tboness
Level 1
Column Control -> Rows not Column
Avatar

Tboness

Tboness
- Adobe Experience Cloud
Good afternoon.Column control is generating vertical rows, instead of columns (See attached image).Assume that the column selector only has 1 column option to choose from. I have two stylesheets included in the application.One for my normal design, and one for the column control. This is what my column control CSS looks like:/* column control layouts */ div.cq-colctrl-cols {width: 100%; float: left; } div.cq-colctrl-default { width: 100%; } /* layout 3: 4 x 25% ( grid3 + grid3 + grid3 + grid3 ) ...

Views

108

Likes

0

Replies

0
CQ 6.0 and commerce
Avatar

Tboness

Tboness
- Adobe Experience Cloud
Good afternoon.Been trying to implement a commerce solution into my project.Using the following package:cq-commerce-content-5.5.4.zipThe outdoor site is now not working, and the /editor.html/ include insidethe URL breaks pages, even in different sites.I havent been able to find any documentation on how to implementthe OOTB commerce solution. The docs mostly read like a features document.Your assistance would be appreciated.Kind regardsToby

Views

106

Likes

0

Replies

0
Re: Column Control -> Rows not Column
Avatar

Tboness

Tboness
- Adobe Experience Manager
Hi smacdonald.Based on the source code, I should have the required styles in my CSS.parsys_column being most prominent on the column divs:I think I know what the problem is though.This is the style that its trying to assign to the column DIV's:cq-colctrl-lt3 4 Columns (25%, 25%, 25%, 25%)-c1So instead of rendering the class for the DIV as "cq-colctrl-lt3-c1"it doesnt parse the tab and renders the class name as follows:"cq-colctrl-lt3 4 Columns (25%, 25%, 25%, 25%)-c1"The column layout editor has...

Views

26

Likes

0

Replies

0
Column Control -> Rows not Column
Avatar

Tboness

Tboness
- Adobe Experience Manager
Good afternoon.Column control is generating vertical rows, instead of columns (See attached image).Assume that the column selector only has 1 column option to choose from. I have two stylesheets included in the application.One for my normal design, and one for the column control. This is what my column control CSS looks like:/* column control layouts */ div.cq-colctrl-cols {width: 100%; float: left; } div.cq-colctrl-default { width: 100%; } /* layout 3: 4 x 25% ( grid3 + grid3 + grid3 + grid3 ) ...

Views

102

Likes

0

Replies

2
Re: CQ 6.0 and commerce
Avatar

Tboness

Tboness
- Adobe Experience Manager
Good morning Sham.Thanks for the resources.So hybris is the way to go.Will work through the resources.Kind regardsToby

Views

32

Likes

0

Replies

0
CQ 6.0 and commerce
Avatar

Tboness

Tboness
- Adobe Experience Manager
Good afternoon.Been trying to implement a commerce solution into my project.Using the following package:cq-commerce-content-5.5.4.zipThe outdoor site is now not working, and the /editor.html/ include insidethe URL breaks pages, even in different sites.I havent been able to find any documentation on how to implementthe OOTB commerce solution. The docs mostly read like a features document.Your assistance would be appreciated.Kind regardsToby

Views

58

Likes

0

Replies

2
Re: CQ components and Posting data via javascript
Avatar

Tboness

Tboness
- Adobe Experience Manager
This is probably the 3rd version of the form I tried.Had my JS code inside a clientlibs folder.Then tried embedding the script inside the page.Even if I hook up my submit button to a javascript function: function submitForm() { alert("Submit Form");} "Submit form" alert pops up, but then Im still presented with the error:javax.jcr.nodetype.ConstraintViolationException: no matching property definition found for {}firstnameRemoving the form tag resolved the issue.Thanks for the link.Will work off the example.Kind regardsToby

Views

39

Likes

0

Replies

0
CQ components and Posting data via javascript
Avatar

Tboness

Tboness
- Adobe Experience Manager
Good afternoon.Trying to code a custom component form.Takes user information, and posts it (jQuery.Post) to an external URL.Subscription form:<%@include file="/libs/foundation/global.jsp"%> (function($) { // Form Submit jQuery('form[name=subscribeForm]').validate({ debug: false, errorPlacement: function (error, element) { return; }, submitHandler: function(form){ jQuery.post('http://externalURL.com/formmail.php', { firstname: jQuery('input[name=firstname]', form).val(), lastname: jQuery('input[name=lastname]', form).val(), email: jQuery('input[name=email]', form).val(), mobile_number: jQuery('input[name=mobileNumber]', form).val(), }, function (response) { jQuery('.section__wrapper__title').hide(); loader.container.hide(); if(response.success == true) { jQuery.get('NewsletterThankYou.html', function(html){ loader.container.html(html); }); } else { jQuery.get('ErrorMessage.html', function(html){ loader.container.html(html); }); } }, 'json'); } }); })(); // Form Submit Name: Surname: Email Address: Your Phone Number: Each time I submit the form, the following error is returned: Status500Messagejavax.jcr.nodetype.ConstraintViolationException: no matching property definition found for {}firstname

Views

98

Likes

0

Replies

2
Re: CQ and Javascript redirection
Avatar

Tboness

Tboness
- Adobe Experience Manager
Hi Justin.Cool, solved.Removed the /cf#/ from the URL, and was then able to redirect.Thanks for your answer.Kind regardsToby

Views

157

Likes

0

Replies

0
Re: CQ and Javascript redirection
Avatar

Tboness

Tboness
- Adobe Experience Manager
Hi Justin.Attached your script to my page.Instead of redirecting to google.comThe page is redirected to the following url:http://localhost:4502/cf#_Any jQuery.posts(), throws an error in my browser console:"Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://www.externalURL.com This can be fixed by moving the resource to the same domain or enabling CORS."Kind regardsToby

Views

156

Likes

0

Replies

0
CQ and Javascript redirection
Avatar

Tboness

Tboness
- Adobe Experience Manager
Trying to redirect to an EXTERNAL URL via javascript.CQ blocks any attempts of reading or redirecting to external URL's.How do I work around this?Kind regardsToby

Views

549

Likes

0

Replies

4
Re: Multisite Manager -> English only
Avatar

Tboness

Tboness
- Adobe Experience Manager
Finally managed to reply to this post.Yeah, ran through the AEM document relating to the topic.Can only translate, using the "language copy" to English/English+.Tried using the geometrix demo sites, and no luck.Kind regardsToby

Views

63

Likes

0

Replies

0
Re: Multisite Manager -> English only
Avatar

Tboness

Tboness
- Adobe Experience Manager
No resolution yet. Can someone please address this issue.Kind regardsToby

Views

66

Likes

0

Replies

0
Multisite Manager -> English only
Avatar

Tboness

Tboness
- Adobe Experience Manager
Good afternoon.I have created a site with an English root page (en).I created a second language root page (fr).Select the entire site, and select the Tools -> Language copy option.The expected menu pops up, displaying the British and French flags.All pages under the English categories are checked.When I select a page under the French section, I should be presentedwith the ignore/auto/english/english+/french/french+ options.Unfortunately, english and english+ are the only options available to me....

Views

127

Likes

0

Replies

3
Re: Column Control - Column Layout has no values
Avatar

Tboness

Tboness
- Adobe Experience Manager
Hi there.I found the problem.Was a mismatch between the column names in the stylesheet.And the names for the columns in the layouts node on the design dialogue.My mistake.Thanks for taking the time to look at the query.Kind regardsToby

Views

102

Likes

0

Replies

0
Re: Column Control - Column Layout has no values
Avatar

Tboness

Tboness
- Adobe Experience Manager
Hi there.Why would a CSS template prevent a control from populating a list?I have removed the CSS and JS imports into the website.And still no luck. Like I said, the problem is that the column layoutoptions are not being populated.String layouts = contentStyle.get("layouts",String.class); JSON data returned:ColumnControl/en/Test/jcr:content/card-container-1/colctrl.style.json/layouts{}ColumnControl/en/Test/jcr:content/card-container-1/colctrl.infinity.json{"jcr:primaryType":"nt:unstructured","jc...

Views

73

Likes

0

Replies

0
Re: Column Control - Column Layout has no values
Avatar

Tboness

Tboness
- Adobe Experience Manager
Indeed, using CQ6 as of today.Unfortunately, no luck. I tried creating a column control through the geometrixx demo site.And the different column options are indeed present in the layout selector.Therefore, something is not right with my site setup.I have a simple template:<%@include file="/libs/foundation/global.jsp"%> Column Control Looking through the column control source code:libs/foundation/components/parsys/colctrl/layoutdatasource/layoutdatasource.jspThink this is my problem:S...

Views

70

Likes

0

Replies

0
Column Control - Column Layout has no values
Avatar

Tboness

Tboness
- Adobe Experience Manager
Good morning.Dragged the column control into a component region on my page.I select the control, and select the "Edit" option.The Column Layout selector, should present me witha few layout options.Unfortunately the column layout selector is empty,as the attached screenshot will show.Any ideas?Kind regardsToby

Views

548

Likes

0

Replies

6
Re: CQ and Javascript redirection
Avatar

Tboness

Tboness
- Adobe Experience Manager
Thanks, will look into that.But the question still stands.How does one redirect in javascript to an external URL?Kind regardsToby

Views

26

Likes

0

Replies

0
CQ and Javascript redirection
Avatar

Tboness

Tboness
- Adobe Experience Manager
Good afternoon.Im trying to write a little javascript, that detects mobile agents.If the agent is a mobile device, redirect.window.onload = function() { if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) { // If Mobile: Redirect window.location.replace("http://www.externalurl.com"); }}Unfortunately, CQ doesnt like external URL redirection.Is it possible, inside CQ to redirect from the client?And if it is, how does one do it?Kind regardsToby

Views

65

Likes

0

Replies

2
Re: Login Component issues
Avatar

Tboness

Tboness
- Adobe Experience Manager
Hi smacdonald.Instead of coding a custom login module, I want to use the out of the box one.The geometrix-outdoor sites login component works.Why create something from scratch that is already there?The SecurityManager elements look promising: But I cannot find the repository.xml file. Using CQ6.AdobeV6\crx-quickstart\repository\ -> Does not contain an XML file.Kind regardsToby

Views

33

Likes

0

Replies

0
Login Component issues
Avatar

Tboness

Tboness
- Adobe Experience Manager
Good morning.Slowly but surely getting a hang of the system.Starting to implement registration and login forms.Registration:Used the geometrix outdoor example for a successful registration page.User information is stored in the following structure:\home\users\mysite\Login:Im using the builtin login component:/libs/foundation/components/loginUnfortunately, not having any success.It keeps returning "The user could not be found."Looking through the error log, I think the following might help:GET /c...

Views

105

Likes

0

Replies

2