Kod-selv hjørnet

OK - standard er godt, men hvad så når der IKKE findes noget brugbart. Så må man selv - og her kan du måske lære lidt af vores erfaringer med at vride rammerne i Joomla!

We are logging some files using ftp to our ISP's server. This work fine, but we need to perform some automatic housekeeping - that is: delete files older than 7 days / moving files to subfolders.

This has proven to be a very difficult, as there is only ftp access which can be done automatic -   and after lots of internet searches we decided to rotate folders instead.

Also, we would like to set this up from our home-server running Ubuntu Linux and using a bash script. Both tools are rather new knowledge, but after some heavy googling there may be a way out ;-)

Update I: First try was partly successfull....

Update II: Second try - sucess!! The answer is: Kermit!

Write comment (1 Comment)
In this article I described the basics of how to use Joomla session information in iFrame (wrappe) pages, by passing a sessioncookie.
This calls for changing core wrapper funtionality by way of template owerrides. This has the sideeffect of passing session info to every other wrapped pages as well, and on our site I found at least 3 pages where this lead to error.

The right solution to this problem is - of course - to create a new module / componet to do the wrapping and pass sessioninfo.

To be continued!

Write comment (0 Comments)
Når man gerne vil holde lidt styr på dataene i databasen, er det typisk at gemme oplysning om hvornår og hvem der oprettet data, og hvornår og hvem der sidst har ændret data.

I MySQL databaser er det noget der delvist kan automatiseres ved hjælp af TIMESTAMP felter - men helt uden problemer er det ikke..

Write comment (0 Comments)
In a previous article I described in general terms how to use Joomla! logon security from iFrame'd (wrapper) pages. In this article I'll give specifics regarding integration with AppGini generated code.

Write comment (1 Comment)
Joomla! er 'ud af boksen' UTF-8 baseret - dvs. det understøtter alle tænkelige tegn i alle tænkelige situationer. Så: Slut med underlige æ-ø-å og lignende.
MEN Hvad så når man har nogen hjemmestrikkede / ældre / andre systemer som IKKE bruger UTF-8. Dét kan give nogen udfordringer.

Det har taget lang tid, men langt om længe er det lykkedes at få orden på vores egne databaser... Du kan måske bruge lidt af mit arbejde!?

Write comment (0 Comments)

Runnning our family website on Joomla, I've been looking for a simple way to incorporate my own php programs into the Joomla framework, and ideally using Joomla user autentication to controll acces to programs.

After trying several several modules for integrating own php code using Joomla extension, I had to give up this aproach, and go for inclusion using iframe integration (standard Joomla wrapper option).
This leads to the need in some way to pass Joomla user ID and 'credentials'. Thanks to this article 'CodeCharge goes Joomla', I got on the right track, and finally got it to work.

Write comment (8 Comments)