Sparky - problem with layout builder site

  • jahouek
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 1 week ago - 12 years 1 week ago #23785 by jahouek
Hi from Poland!
Thanks for this great framework but...
I've got a problem with builder site and no clue what's goes wrong - see attachments.





Everything was fine - last action what I did was adding Google Webfont in 'Features' tab and assigned it to topmenu. What could go wrong is that I put to font name field name of font with additional formatting, I mean:
Text field contain:
Code:
Arial, Helvetica, something
I put new font as:
Code:
'Pirata One', cursive; Arial, Helvetica, something
I know that's wrong but doing quickly and I had no idea that this crash the page.

Please look this screenshot:

I can't edit any values of menu options. Where can I find css or any other file which keeping that, to edit this values? I was searching template folder via FTP but didn't see.


Tested on Chrome and Firefox and I checked many simple possible reasons but I have no more ideas.

Best Regards
Attachments:
Last edit: 12 years 1 week ago by jahouek. Reason: small update

Please Log in to join the conversation.

More
12 years 1 week ago #23800 by ivan.milic
Can you send us admin login using "Report To Moderator" is your site is online we would like to take an look

Please Log in to join the conversation.

More
12 years 1 week ago #23821 by ivan.milic
open

templates\sparky\elements\menucfg.php

around line 719 replace
Code:
var vals = '<?php echo $this->value; ?>'.split('&');
with:
Code:
var vals = "<?php echo json_encode($this->value); ?>".split("&");

Please Log in to join the conversation.

  • jahouek
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 11 months ago #24110 by jahouek
Hi, I changed but not just like you wrote. I had to delete "json_encode" and now working properly - with this entry was still the same problem. Is it important?

Please Log in to join the conversation.

More
11 years 11 months ago #24118 by ivan.milic
We tested that change more thermally and it turn out that I put extra quotes, so right change is:

Code:
var vals = '<?php echo $this->value; ?>'.split('&');
with:
Code:
var vals = <?php echo json_encode($this->value); ?>.split("&");

Please Log in to join the conversation.

  • jahouek
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 11 months ago #24122 by jahouek
Huh I was tried to change quotes too but didn't delete them, just change " to ' back and forth.
Ok now is changed like above and working fine, thanks a lot!

Please Log in to join the conversation.

Time to create page: 0.199 seconds
Powered by Kunena Forum