Kategori: Musik

JCE-Special entry image and multiple images in popup

I have found a workaround which includes editing the code by hand.
What I know you are not supposed to have to do that with JCE stuff.

– Is it so that this function is not icluded or how is it JCE?
Please reply

The working code looks like this:

http://www.joomlacontenteditor.net/media/com_ninjaboard/images/16/code.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(240, 248, 255); word-wrap: break-word; font-size: 1.1em; font-style: italic; line-height: 1.1em; margin-top: 20px; margin-right: 0px; margin-bottom: 20px; margin-left: 0px; width: auto; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; white-space: pre-wrap; background-position: 10px 10px; background-repeat: no-repeat no-repeat; ">sommarbilder<br /> <a target="_blank" rel="title[sommarbilder];group[sommarbilder]" class="jcepopup" href="images/stories/att_titta_pa/allmanna/sommar/sommar-2010_1.png"> <img alt="sommar" src="images/stories/att_titta_pa/allmanna/sommar/sommar.png" height="165" width="385" /></a> <a target="_blank" rel="title[sommarbilder];group[sommarbilder]" class="jcepopup" href="images/stories/att_titta_pa/allmanna/sommar/sommar-2010_2.png"> </a> <a target="_blank" rel="title[sommarbilder];group[sommarbilder]" class="jcepopup" href="images/stories/att_titta_pa/allmanna/sommar/sommar-2010_3.png"> </a> <a target="_blank" rel="title[sommarbilder];group[sommarbilder]" class="jcepopup" href="images/stories/att_titta_pa/allmanna/sommar/sommar-2010_4.png"> </a> <a target="_blank" rel="title[sommarbilder];group[sommarbilder]" class="jcepopup" href="images/stories/att_titta_pa/allmanna/sommar/sommar-2010_5.png"> </a> <a target="_blank" rel="title[sommarbilder];group[sommarbilder]" class="jcepopup" href="images/stories/att_titta_pa/allmanna/sommar/sommar-2010_6.png"> </a> <a target="_blank" rel="title[sommarbilder];group[sommarbilder]" class="jcepopup" href="images/stories/att_titta_pa/allmanna/sommar/sommar-2010_7.png"> </a> <a target="_blank" rel="title[sommarbilder];group[sommarbilder]" class="jcepopup" href="images/stories/att_titta_pa/allmanna/sommar/sommar-2010_8.png"> </a> <a target="_blank" rel="title[sommarbilder];group[sommarbilder]" class="jcepopup" href="images/stories/att_titta_pa/allmanna/sommar/sommar-2010_9.png"> </a>

The solution you have come up with is partially correct – you should add a style=”display:none;” or class=”jcepopup noshow” to each of the links apart from the first.

This is currently the only method available for creating popup galleries like this, I hope to make this simpler in a future Image Manager Extended update.

If you can’t find out or you want a closer explanation just contact me.
/Göran

Utveckling….

Nu är det de anställda som äntligen får förklara varför de jobbar bättre med ett gränssnitt som är gjort för människor i stället för tekniker. Lärare kan påvisa att datorer i skolan handlar om pedagogik och inget annat och kommunpolitikerna har förstått att man inte behöver plöja ner skattemiljoner i licenser när det finns alternativ som är både billigare och betydligt bättre.

Avslutar med ett par gamla visdomsord från Steve Ballmer som aldrig någonsin blir gammalt.

Google Calendar Logo

Synka flera Google-kalendrar till din iPhone eller iPad

Google Calendar LogoDet finns flera beskrivningar på google.com och andra ställen på nätet av hur man ska göra för att kunna synka flera av sina underkalendrar från samma konto till iPhone/iPod/iPad. Tyvärr fungerar de flesta inte längre.

Här är det enklaste sättet som fungerar idag:

0. Koppla ditt googlekonto till iPhonen i Inställningar -> E-post, kontakter, kalendrar -> Lägg till konto… (följ instruktionerna, de är enkla och rättframma)

1. Logga in på det gmail-konto du vill synka kalendrar från i webbläsaren (på mobilen eller valfri dator). 2. Gå till adressen: https://www.google.com/calendar/iphoneselect

3. Kryssa i de kalendrar du vill synka med mobilen.

4. Ge mobilen en liten, liten stund att uppdatera. Kolla sen att du har kryssat i att kalendrarna du just synkat verkligen ska synas i din kalenderapp (I appens inställningar, olika för olika appar, men det brukar stå ”Kalendrar” eller ”Inställningar” eller nåt liknande. Här kan du också välja färg på kalendrarna). Titta i kalendern och se att dina underkalendrar finns där.

4. Gå tillbaka till det här inlägget och skriv en kommentar om det lyckades (så att jag blir glad  )

5. Länka till det här inlägget på din blogg, facebook, forum eller liknande (så folk slipper famla runt i blindo för att google inte uppdaterar sina sidor eller ser till att de funkar!)

jce-paste-plugin

Content From Word Into Joomla Is A Bad Idea

As it happens, readers email me about problems on their Joomla sites or about things they don’t quite get. And I try my best to answer their questions. I don’t have the time for doing specific support for every user that emails me, but sometimes a quick look at the site can help the user solve his problem easily. . Was I able to help?

The reader told me the following:

I have recently edited all the website’s article using JCE Editor. When testing in various browsers, FF, Crome, Safari, all work fine. But IE8 a lot of the articles are missing. After days of searching the web for a solution, it’s clear many people have problems with IE8 and Joomla.

He then went on to explain some possible solutions he’d found on the web. Not so sure about these, my first thought was that it had something to do with the template he was using. After all, the Joomla platform or CMS doesn’t have problems with any browser at all. The template contains the code that is output to the user’s browser. Thus, the best place to look at first is the source code provided by the template (and at the content entered by the user into Joomla).

I looked at the code in Internet Explorer 8, and sure enough, the content didn’t show. It showed up fine in Firefox on the same computer, though. Then I took a look at the source code in IE 8. And there it was… It turned out, the reader had edited his text in Microsoft Word and pasted the content directly from there and into the Joomla editor (JCE). This is a recipe for disaster.

This is what I wrote back to him:

The problem is not with Joomla itself, but with the content you have entered into the page. For instance, if you look at the source code on one of your pages, you will see that the page contains a LOT of code which has been transferred over from MS Word.
At the start of this pasted code, you will notice the following: [if gte mso 9]…

This code snippet means the content will only show in Internet Explorer version 9 or greater (and in other browsers, since IE is the only one looking at these IF statements).

 

>

  

Be careful not to paste directly from Word into JCE, or at least use the ”Paste from Word” function when doing so. That will remove all of the MS Word specific code from your page.

  

The reader replied:

Thank you for pointing out it’s not good to copy from Word, I have never seen that advice anywhere before, and have done ALL my editing this way. I’ll use Notepad from now on (or try the paste as plain text button next time).

   So now i have pasted a lot of text from MS Word, do you know how i can fix this problem? How do i delete all the code which Word transferred over?

And then do I have to repaste everything again from Notepad?

This was my reply:

Copy the text out of the article (make sure you get everything out (check the source code panel in JCE), paste it into Notepad and repaste into the article.

Of course, when using JCE, he could also be using the ”Paste from Word” icon, which strips Word specific coding from the content.

DON’T PASTE DIRECTLY FROM WORD

So, pasting from Word should be done with caution. Word adds a lot of specific markup to the content that will be carried over to JCE or other WYSIWYG editors.

The markup is there to make sure the document looks the same when pasted. However, in most cases it is is totally useless and creates all sorts of problems. The above mentioned problem is just one.

Another common problem is that articles pasted from Word look different from other content on the site, as it contains style info that conflicts with the stylesheet of the Joomla template.

This has been a problem for years, and it will probably excist as long as Word is out there…

SETTING UP JCE TO IMPROVE PASTING FROM WORD

If you have users on your site that often forget to paste using the ”Paste from Word” function you can force JCE to strip Word styles.

Go to Components -> JCE -> Editor Profiles -> [Your profile]

Then navigate to Plugin Parameters and select the tab ”Paste”:

jce-paste-plugin

On this tab, you have some options that you can activate to have JCE remove more markup from the pasted content.

jce-paste-plugin-options

ted logo

Programmera appar i mellanstadiet

Thomas Juarez har lärt sig en hel del vad gäller presentationsteknik från Steve Jobs.

Sedan är det såklart ganska kaxigt att programmera appar i mellanstadiet

Vid 3:33, säger han sanningen. Eleverna kan mer, än vad vi kan……ibland.

ted logoIn the spirit of ideas worth spreading, TED has created a program called TEDx. TEDx is a program of local, self-organized events that bring people together to share a TED-like experience. 

  • 1
  • 3
  • 4