Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: [SOLVED]Reporting few troubles

[SOLVED]Reporting few troubles 03 Feb 2013 20:01 #6623

  • dieda1821
  • dieda1821's Avatar
  • Offline
  • Senior Member
  • Posts: 53
  • Thank you received: 2
  • Karma: 4
Sorry, today I've posted this in the wrong section.


Hi,

I have some troubles with the Cook Interface, applied to the backend pages, both in the sandbox and trying locally (xampp):

1) For some reason, today when I choose a boolean field "checkbox", it always appears as a radio-button option (this is particularly strange since a couple of days ago I made some trials and the checkboxes were appearing correctly).

2) If I apply a standard filter to a backend collection page (I tried "search" and "combo"), this appears correctly inside the interface, but then it does not appear in the component.

3) If I apply the task "Publish" both to the grid (view "icon") and to the toolbar of a collection page, the icon does not appear. Anyhow, by looking carefully one can see the hover link effect, and by clicking on the empty space, the task works (first trial today), that is, the selected item becomes "published".

4) Regarding the "date" fields: by clicking on the datepicker, nothing happens (tried today and a couple of days ago, and it never worked).

Thanks for the assitance

Elena
Last Edit: 08 Feb 2013 07:37 by dieda1821.
The administrator has disabled public write access.

Re: Reporting few troubles 05 Feb 2013 12:55 #6640

  • dieda1821
  • dieda1821's Avatar
  • Offline
  • Senior Member
  • Posts: 53
  • Thank you received: 2
  • Karma: 4
Hi,

I tried to play a bit with the Config settlements, but didn't solve the issues...any suggestion ?

Elena
The administrator has disabled public write access.

Re: Reporting few troubles 07 Feb 2013 08:21 #6662

  • dieda1821
  • dieda1821's Avatar
  • Offline
  • Senior Member
  • Posts: 53
  • Thank you received: 2
  • Karma: 4
Hi, me again.

Just to add that now the "published" green icon appears correctly (both sandbox and locally). The task is correctly executed when clicking the icon, The only detail that remains is that the icon does not switch between published and unpublished. That is: when the icon is pressed and the item becomes unpublished, the green icon is not replaced by the red one.

Issues with filter "search" (inside "backend collection layout"), datepicker (inside "backend item layout") and checkboxes not appearing still remain.

Besides I noticed that also the task "Save and New" to a "backend item layout" is not appearing inside the backend (I tried the sandbox only).

All in all I think Cook is a very nice builder interface, it really helps a lot and it's worth its price. The only "against" point is that finding few or some non-working functionalities is a bit frustrating (would be better not to have them at all, or seeing them as future add-ons only, so that expectations and results would match better).

Hence, anyhow, thanks for the nice job.

Elena
Last Edit: 07 Feb 2013 08:22 by dieda1821.
The administrator has disabled public write access.

Re: Reporting few troubles 07 Feb 2013 08:34 #6663

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Hi Elena,

And may I apologise that you've had these issues and also that I've not managed to reply until now!

Secondly, I'm glad your unpublished/published is working ok now...

I believe that the issues you're facing are a result of JS conflicts due to auto loading of the latest jQuery. Can you also check the version of jQuery you are using (<head> of your doc)? Cook gets the latest version of jQuery which I believe is now on V1.9.x which I understand broke some validation. I'm not sure whether this has been fixed however, there is a workaround: www.j-cook.pro/forum/19-new-tickets/6460...-jquery-version#6460

Hope this helps!

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.

Re: Reporting few troubles 07 Feb 2013 11:59 #6666

  • dieda1821
  • dieda1821's Avatar
  • Offline
  • Senior Member
  • Posts: 53
  • Thank you received: 2
  • Karma: 4
Hi audibleid,

Thanks for answering.

I can check which version of jQuery I am using, but not from the <head> of my document, since there I cannot find the jQuery call. If you could be more specific about which file I have to inspect, I will look.

In the com folder "admin/js" those files are present:
jquery-1.8.2.min.js
jquery-ui-1.9.1.min.js

Does this help ?

The link you posted brings to a 404 page...

Elena
The administrator has disabled public write access.

Re: Reporting few troubles 07 Feb 2013 12:06 #6667

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Hi Elena,

Sorry about that - it was the text, not the link that I posted accidentally! Here it is: www.j-cook.pro/forum/19-new-tickets/6460...-jquery-version#6460

I'm not sure that that's what the issue is if you're loading jquery 1.8.2 however, it would still be worth checking in the head - it must be there. If it's not then, that is maybe part of the issue.

Do you get any JS errors in firebug/chrome console?

Best wishes,

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.

Re: Reporting few troubles 07 Feb 2013 12:31 #6669

  • dieda1821
  • dieda1821's Avatar
  • Offline
  • Senior Member
  • Posts: 53
  • Thank you received: 2
  • Karma: 4
Hi,

From the backend, item layout page, Firefox gives three errors:

1)
ReferenceError: jQuery is not defined
[Interrompi per questo errore] 
})(jQuery);
In js/jquery.validationEngine.js

2)
ReferenceError: jQuery is not defined
[Interrompi per questo errore] 
};}};$.validationEngineLanguage.newLang();})(jQuery);
In administrator/index.php?option=com_manta&view=mantaproditem&layout=soggettoproduttore (-> this is my item layout)

3)
ReferenceError: jQuery is not defined
[Interrompi per questo errore] 	
jQuery(document).ready(function(){
In the same file as error 2

By using Firebug, here's the head of the page:
<head>
<meta content="text/html; charset=utf-8" http-equiv="content-type">
<meta content="Joomla! - Open Source Content Management" name="generator">
<title>Manta J! - Soggetto Produttore</title>
<link type="image/vnd.microsoft.icon" rel="shortcut icon" href="/seblod/administrator/templates/bluestork/favicon.ico">
<link type="text/css" href="/seblod/administrator/components/com_manta/css/validationEngine.jquery.css" rel="stylesheet">
<link type="text/css" href="/seblod/administrator/components/com_manta/css/manta.css" rel="stylesheet">
<link type="text/css" href="/seblod/administrator/components/com_manta/css/toolbar.css" rel="stylesheet">
<link media="all" title="Verde" type="text/css" href="/seblod/media/system/css/calendar-jos.css" rel="stylesheet">
<link type="text/css" href="/seblod/media/system/css/modal.css" rel="stylesheet">
<link type="text/css" href="templates/system/css/system.css" rel="stylesheet">
<link type="text/css" href="templates/bluestork/css/template.css" rel="stylesheet">
<style type="text/css">
<script type="text/javascript" src="/seblod/media/system/js/mootools-core.js">
<script type="text/javascript" src="/seblod/media/system/js/core.js">
<script type="text/javascript" src="/seblod/administrator/components/com_manta/js/jquery.validationEngine.js">
<script type="text/javascript" src="/seblod/media/system/js/calendar.js">
<script type="text/javascript" src="/seblod/media/system/js/calendar-setup.js">
<script type="text/javascript" src="/seblod/media/system/js/mootools-more.js">
<script type="text/javascript" src="/seblod/media/system/js/modal.js">
<script type="text/javascript">
<script src="http://localhost/seblod/media/editors/tinymce/jscripts/tiny_mce/tiny_mce.js" type="text/javascript">
<script type="text/javascript">
<link rel="stylesheet" href="http://localhost/seblod/media/editors/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/ui.css">
<link rel="stylesheet" href="http://localhost/seblod/media/editors/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css">
</head>

Elena
The administrator has disabled public write access.

Re: Reporting few troubles 07 Feb 2013 12:51 #6670

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Well, surely enough, jQuery library is not even loaded in your component by the look of it.

Did you choose the jQuery JS library in builder config? Did you choose to embed it in your downloaded project?

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.

Re: Reporting few troubles 07 Feb 2013 12:54 #6671

  • dieda1821
  • dieda1821's Avatar
  • Offline
  • Senior Member
  • Posts: 53
  • Thank you received: 2
  • Karma: 4
Config are settled as follows:

JS Framework: JQuery
Embed Framework: Yes
Form style: condensed
Features: maximum
TODO: yes
The administrator has disabled public write access.

Re: Reporting few troubles 07 Feb 2013 13:07 #6672

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Hi Elena,

So, in your component's helper, helpers/helper.php, there should be a few lines of code that dial up your link to the embedded library... They are inside the public static function headerDeclarations() that begins around line 150. Your embed links should look similar to:
$doc->addScript($componentUrlAdmin . '/js/jquery-1.8.2.min.js');
$doc->addScript($componentUrlAdmin . '/js/jquery-ui-1.9.1.min.js');
If they don't exist, try adding them. Also, ensure that the version of jQuery (not UI) is not 1.9.x... If it is, double check your JS folder to ensure that the filenames and versions of jQuery match the link in your addScript() call. If it is a1.9.x version, you'll need to get a fresh 1.8.x version from google and replace the JS file in the JS directory.

Hope it helps!

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
Last Edit: 07 Feb 2013 13:07 by JoomGuy.
The administrator has disabled public write access.

Re: Reporting few troubles 07 Feb 2013 13:32 #6673

  • dieda1821
  • dieda1821's Avatar
  • Offline
  • Senior Member
  • Posts: 53
  • Thank you received: 2
  • Karma: 4
Hi !

By following your instructions jQuery is now loaded correctly and: the datepicker works :-)

Could you help me also with the other issues ?

In particular, the checkboxes not appearing.
I have a boolean variable, and I have chosen "checkbox" in Cook, by the way, this appears as radio-button (both in sandbox and locally).
The administrator has disabled public write access.

Re: Reporting few troubles 07 Feb 2013 13:33 #6674

  • dieda1821
  • dieda1821's Avatar
  • Offline
  • Senior Member
  • Posts: 53
  • Thank you received: 2
  • Karma: 4
I forgot to add that I don't see script errors anymore :cheer:
The administrator has disabled public write access.

Re: Reporting few troubles 07 Feb 2013 13:54 #6675

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
dieda1821 wrote:
...Could you help me also with the other issues ?

In particular, the checkboxes not appearing.
I have a boolean variable, and I have chosen "checkbox" in Cook, by the way, this appears as radio-button (both in sandbox and locally).
Of course!

OK, just to confirm, issues 2, 3 & 4 resolved now?

What version of COOK are you using, CMS (Cook version 1.5 for Joomla 1.6, 1.7 & 2.5) or Cook v2.0 beta?

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.

Re: Reporting few troubles 07 Feb 2013 14:05 #6676

  • dieda1821
  • dieda1821's Avatar
  • Offline
  • Senior Member
  • Posts: 53
  • Thank you received: 2
  • Karma: 4
Thanks a lot!

So far, here's the situation:

1) Checkboxes (associated to boolean var) does not appear in "backend item layout"
2) Filters do not appear
3) Published icon in "bakend collection layout" does not change to "unpublished" icon (but I'm not sure if this is a behaviour to be expected as default, or if it needs some custom coding).

4) Datepicker not working --> SOLVED by adding the lines you told me to admin/helpers/helper.php

I am using Joomla 2.5.8 (interface 11.4.0) and Cook CMS

Elena
Last Edit: 07 Feb 2013 14:06 by dieda1821.
The administrator has disabled public write access.

Re: Reporting few troubles 07 Feb 2013 14:27 #6678

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Aha, I think that is the issue! Cook CMS version is about to get bumped - or, very soon at least...

Very few issues have been dealt with for that version for some time now as far as I understand! Some of the features including the ability to load jQuery and certainly the ability to embed it are not really 'part of' cook 1.5.

I think that this is likely the reason for your earlier jQuery issues where despite having configured the option, the engine that renders your component (sandbox & download) does not even look to this parameter, nor would it know what to do with it if it did.

I apologise for this! Cook is in this wonderful transition phase at the moment where version 2.0 is almost ready to come out of beta! I know that doesn't help you right now however, switching to version 2.0 beta will fix the issues you are facing.

That said, you should proceed with some caution before switching. There are a number of features of cook that changed in version 2 such as publishing wizard and a few others. If you have any instances of these now changed wizards, there are some steps that you'll have to take to ensure that your new, version 2.0beta project works properly...

Part of the message is hidden for the guests. Please log in or register to see it.

Anyway, hope to be able to help you resolve this!

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.115 seconds

Get Started