Joomla! and Beyond 2013

Trucos y técnicas útiles para las plantillas Joomla!

Robin Poort  · 

Presentación

Vídeo

Transcripción

Extracto de la transcripción automática del vídeo realizada por YouTube.

okay everybody we're going to start now I got the sign to start so come closer come sit here man today I'm going to tell you a little bit about Joomla templating I'm going to give you some clever tips and tricks that you can use when you're

creating websites and building templates well first a little bit about myself this is me Robin I'm designer and front-end developer and I work for a themed partner that's why I built that we built and sell a joomla templates and i create a design and

develop those templates also i working on a company where we actually built websites for clients for custom custom templates custom websites for clients as well today i want to talk about the following four things first thing is templates in general then something

about the index dot PHP and then some module alternative layouts and menu item alternatively hats so first we've got a template well template as you know is the design of your website it's all all the graphical part but there's also nowadays more

and more code is also coming with your templates and templates in Joomla itself are getting better and smarter every time welcome with every upgrade and so I'm gonna show you a couple of things you can do with so the next time when you're building

a website and you've got a problem try not to run to the Joomla extensions directory but why are so many people going to the exchanges directory well for some people no problem some people are just lazy and if they've got a problem they just don't

want to think about it go to the extensions directory type in there and hope to find a solution other people think it's always better to use an extension for whatever you do and some people don't know better some people don't know that there's

actually that you can do more with Joomla the core Joomla then then it's visible at first glance but why would I actually like to change that why would I want people to not go to the extensions directory because exchanges could be unsafe they're not

on set but they could be unsafe then the extension got access to the whole Joomla system so there's no sandbox and there's some other difficulties as well a couple of years ago we've had a website we run it we made it for a client and all of a

sudden the client emails us and says my website is broken and it was really hacked because you you'd go to the website you see a website for five seconds after five seconds agree directed you to a porn site or whatever so it was not good so we tried to

find out what the problem was because we've always updated Joomla and all the extensions and everything everything was up-to-date perfectly so we couldn't find out what the problem was after some extensive research and using some tools we found out

that the problem was actually in some files that were located in the temporary folder and it seemed people from an extension we installed so even when you make sure you keep everything up to date there's still a chance for example if you didn't empty

your team people they that there's a possible way for hackers to getting your website there was also there's there's also the question if you always if you always need an extension for example if you got X map to create a site map and you just

want to create a simple site map you can do that as well by creating a module which shows your menu because then you've got a site map as well and if you want the site map to show any component you could use another core feature of Joomla which is low

position and place the module into an article so then you still got your sitemap got it all running you maybe you need to add some CSS to make it look nice but you've got your sitemap without the need for an extension because most of the extensions that

you use are probably too big for the problem you're trying to solve you might nine out of ten times you probably only need 10% of the template of the extension the the use of the extension but you're still loading all the code and you're still

paying for everything else which is not really necessary so some tricks you can do to your index dot PHP file first without an index of PHP there's no template because there's just nothing to show and hello you're in next the PHP can do more than

just show your components in your modules first thing to do is add a page clause as your body class so you can have more control over your styling so when you want to do this if you got a home page and you want the form to be larger on your own page or a column

to be wider or a color to be different then it could be really useful to use your page Clause as your body class for your website you can also could also show or hide things on different pages by using a body class page class although I wouldn't recommend

hiding things because they're still being loaded and oh why should you hide it for people and not hide it for other people so how do we how do we implement it well it's it should be looks like it's it's gonna be really easy because you got

a page class you're filling your page Klaus you click Save or save and close you go to your website and your page class is being loaded the only downside is that Joomla only loves it in components and modules so that's actually not deep enough in the

[ ... ]

Nota: se han omitido las otras 2.678 palabras de la transcripción completa para cumplir con las normas de «uso razonable» de YouTube.