Adding CCS, Javascripts and PHP files into Joomla websites [closed] - php

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am quite new to Joomla and have come across a problem that annoys me as a programmer alot!
Now Ive been watching several tutorials on-line and all of them state "Its so easy for non programmers to create a website with Joomla"
While that's fine and all there seem to be few tutorials that actually show what "powers" you do have if you infact have programmering experience.
Here is my problem:
I want to be able to add PHP, Javascripts CSS and HTML to my site i have stumbled across JUMI but as far as i know it only allows me to add scripts to articles and modules.
Here is an example of what i want to achieve:
I will buy and use a template at Themeforest Then i want to create a search bar using HTML and PHP, when using the search option the site will run my script and load the result into a table using a combination of JQuery and HTML.
Other than that i wish to create a session so that when user for example tries to purches items on my site will be saved and so that my site actually remembers the users choices.
Now i do not except you guys to have all the answers but a simple redirect to a tutorial, paper or any other place where i can learn about how to make this work would make me very gratefull.
Question update
So i think my question is abit hard to understand i ive made this update:
Maybe i have misunderstood some things but say for instance one of you guys download a template how do you go on from there? how do you manipulate the modules so that when you search for something the search is done in another database table than the default one? how do you create a login for users to use and add your own costum scripts?
These are only a few examples but i hope you get the idea.

Read more abou Joomla modules. They allow to add bits of your own custom functionality to your websites :
http://docs.joomla.org/Module
[update]
If you need to create more self-contained bits of functionalites that operate on their own db tables ect then you most likely need to build component (the tutorial below is quite hands-on):
http://docs.joomla.org/J2.5:Developing_a_MVC_Component/Developing_a_Basic_Component
I realize the Joomla docs are not great. I myself learned most by studying code of core templates and components

Search bar is a full integrated feature to frameworks like
Joomla
Drupal
Wordpress
and so on..
If you want sessions and some more advanced security mechanism you might want to think about buying a ssl certificate and do most of the interaction to the server by SSL encryption.
Also you sholud look at:
http://www.opencart.org
is that answer your problem?

I think you are working on a joomla 2.5. I don't know if you are able to build a new template (copy of Themeforest) and override that.
For the adds you got many solutions. You can override your template, build modules or componments that you gonna put in different postion, or you can try some plugin like sourcerer, module anywhere...All that depends on the type of your site, sometimes that doesn't feet.
For the session I think you still have several choices, build it from scratch or search for a module.
Hope that helps.
I would create a module. I'm sure there are several ways to do that but that's what I would do. From scratch or with blank_module (joomla module).
You got some doc here : http://docs.joomla.org/J2.5:Creating_a_simple_module/Developing_a_Basic_Module
Here for the output ovveride (other database for example) : http://docs.joomla.org/Understanding_Output_Overrides

Related

What are my scripting options for a library/framework for building a web app [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I am investigating building a web app.
I know systems like Twitter Bootstrap provide a great starting point for front end design but what are the options for back end, preferably PHP/mySQL but I am open to anything. I have searched around a bit but I am not sure I have the right terminology because all of my searches have brought up nothing close to what I need, so I can only assume I'm looking in the wrong places.
There are plenty of scripts out there that will create a youtube clone for example; and what I need will be similar to this but it will not be video site. My app will be geared up more towards managing and creating lists, information, tags, files ( like .doc .txt etc maybe ). I haven't actually gotten the content part worked out fully yet and I don't expect the base system to be able to handle that part necessarily but what I would like for now is if I could find some library/framework that would allow me to experiment with different content configurations.
What I need from this framework specifically is some kind of system whereby people could register and thus have a login, profile page and have variuous (private) things associated with their account ... ( again I'm not sure what 'things' yet but probably lists and possibly files of some kind). I will eventually probably need some kind of capacity to share things between members. There seems to be a library/script for everything else out there so I thought there might be something for the basis of a membership system.
So
a) can someone suggest the correct terminology I would search google for this - I was trying "portal" script and membership site but I got nowhere
b) does such a thing exist and can anyone suggest anything in particular.
One more important thing. The project is in the very early stages and has no budget so I am pretty much limited to Open Source Freeware, though I welcome any paid for solutions regardless
PS I have developed with WordPress for years now and I know I could probably squeeze this out of WordPress with a few plugins and CPT work but I really feel it might be asking too much and I'll get scaling issues earlier than I need to.
You would want to determine what language you will build the system in.
PHP/MySQL frameworks include Yii, Symphony, Zend and more. Google PHP Frameworks.
if you want to go with Ruby with a rails framework then you can look into that. Rails for Zombies is a good place to start learning Ruby On Rails.
You are referring to this as a "Portal" but I would not be searching for that. I would be looking at web applications. I build a lot of these types of applications in Yii framework with PHP. If you are familiar with wordpress, then perhaps PHP would be a better option. If you do go with PHP on a Yii framework, then consider learning how to use the Gii code generator. This will help you make tables and lists and manage records. I started with this book: http://www.amazon.com/dp/1847199585?tag=gii20f-20&camp=0&creative=0&linkCode=as1&creativeASIN=1847199585&adid=0BHF2HS6FNS82M85KJQT and it showed me everything I needed to know about the framework. It also is good if you are still quite new to PHP and Object Oriented Programming.

Modular CMS for static HTML sites [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Are there any modular, lightweight content management systems for websites that start as static HTML?
To be more specific, there are a number of clients who would like to edit content on very specific areas of the website (i.e. the hours, the special events, etc..) but those are the only things on the website they would ever want to change themselves. Typically the company I work for has used WordPress, but lately I've been noticing it being unnecessarily bulky for the functionality we are actually using.
Ideally it would be something as basic as a login portal that redirects to the homepage after you log in, then the editable area would append an (edit) link which would pop a plain text editor up.
I've seen of couchCMS and cushyCMS but haven't heard anything about them, I've also looked into trying to build a simple CMS but I still have more to learn in PHP and MySQL before I'm comfortable.
P.S. I've read the "what questions to ask" section for a while before I decided to post this here, I know it's not very specific of a coding question but if you know of a better exchange site to ask this, I'll promptly delete and repost there.
The question is a bit open ended, ie we don't know all your requirements, budget, timelines etc, so an "answer" is hard. All I can give you are options/advice.
Have you tried searching on Stack sites and Google (etc) for "content management system" and reviewing what each one offers?
Drupal is lightweight-ish as it allows a basic package then bolt on features you want.
However, whatever CMS you decide to go with, bear in mind most CMSs are designed to cater for much more than what you want. Most try to provide for forums/blogs/sites with shops, etc. Generally, they wouldn't spend months planning and developing, and continuing to release bug fixes/security updates/etc for something that just managed a bit of text here and there.
clients would like to edit content on very specific areas of the website (i.e. the hours, the special events, etc..) but those are the only things on the website they would ever want to change themselves
This is very simple. It might be worth hiring a freelancer/dev company to create your own simple CMS that would store the data you want changing in a DB and give you/your clients some simple form fields to edit and save them.
Do not go for Drupal whatever you do. It was a nightmare. We are now using wordpress as its much cleaner code and simpler to modify and customize. However it seems you need something even simpler than wordpress.
There are very simple cms's out there that allow you to include as little as one javascript file in your html page and you can then define areas in the page to make editable.
Best place to check out is http://www.opensourcecms.com/
You will probably want to look at the "lite" category
for an example of a javascript only system check out "99ko 1.2.7"
http://www.opensourcecms.com/scripts/details.php?scriptid=638&name=99ko
good luck!

Lightweight PHP/MySQL CMS for HTML5 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
So far I've build my websites with Typo3 but it's a bit of a heavy beast for smaller sites. I've also done some projects with Drupal and Wordpress but my impression is that they mess up the HTML a lot and it is too much effort to "correct" them.
I like to build some smaller websites with HTML5 now and was wondering which PHP/MySQL-based CMS could be right for that.
In the end I went with Concrete5 as it was recommended to me by various people and seems to be very well-written! http://www.concrete5.org
Unfortunately, every publicly available stock CMS system will, ultimately, have the downfall of messy output. This stems from the fact that they attempt to be something for everyone, rather than a targeted product.
Rolling your own CMS is not that big of a challenge with a little PHP knowledge. If you're familiar enough to know what you want and how you would lay it out, there are a ton of great resources for developing your own CMS, including:
http://www.ssdtutorials.com/premium-tutorials/series/cms-dreamweaver.html
http://www.developphp.com/view.php?tid=322&t=Intro_How_to_Build_Custom_PHP_and_MySQL_CMS_Website_Software
http://www.packtpub.com/cms-design-using-php-and-jquery/book
http://www.packtpub.com/php-5-cms-framework-development-2nd-edition/book
Essentially, a simple CMS boils down to dynamic page generation with a server-side scripting language and templating, a database to store content, and a backend for management. At it's simplest, you have one page template (your content always is output to a simple template, as in a blog or something where you rarely have different types of output), and your backend consists of a log-in to password protect a form that updates your database.
To get back to the main point, however, HTML5 will only be involved in the output for client-side rendering. That is, if your template is HTML5, your site is HTML5 (for all intents and purposes, at least to your visitors).
A question like this will generally get a lot of opinionated, debate type responses because every developer has different opinions and different tool sets.
For smaller projects, I prefer to use some light weight components and build it rather than using a packaged CMS.
Me personally, for smaller projects:
HTML5 Boilerplate, it gives you a great starting point, and once you
have used it and are familiar you can quickly customize it to your
preferences. http://html5boilerplate.com/
FlourishLib, is a great no framework library, it is quick, easy to use and the documentation is great. http://www.flourishlib.com
jQuery, is a great tool for your JS needs.
I spent so much time playing around with other packaged CMS that I found I could have already had the project up and out the door by the time I tweaked the CMS to get what I wanted out of it.
And using this tools you can easily create your own boilerplate to get your project started quickly.
Again, this is just an opinion based on my preferences.
You can check out glFusion at http://www.glfusion.org with all the features it has right out of the box. Unlike allot of other CMS's glFusion is free, including the plugins. Latest version 1.3.0 as of the time of this posting, will have html5 and also be w3c validated.
If you are looking for a lightweight and fast cms build on HTML5 and CSS3 then Gecko should be the right one for you!
Check CouchCMS - i think it is the best one for your purpose www.couchcms.com
Perch CMS (not free but very cheap) is very lightwight, may want to take a look. http://grabaperch.com/
I really like GetSimple CMS. I use this on a majority of small projects because it is incredibly easy to set up. It is PHP powered, and does not require an SQL Database. Instead it uses XML files to store content.
http://get-simple.info/
As a previous poster mentioned, HTML5 Boilerplate and jQuery provide a quick way to get set up and I often use these in conjunction with each other.

User management, authentication and acl plugin for CakePHP? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am pretty new to CakePHP, having been using rails for a little while. My question is, can anyone recommend a good user management, authentication and acl plugin or component for Cake?
I have come across this one, but it has not been updated since 2008. If not can anyone recommend a good book/tutorial site for this kind of set up? I am more than happy to sit down and write this kind of thing myself, but would rather use a tested community plug-in.
Cheers
I found this one which is updated, works with latest CakePHP v1.3.. But haven't tested it though. Link: http://github.com/jedt/spark_plug
I haven't yet found a plugin that I've been completely satisfied with. I've been using the SimpleAclComponent and SimpleAuthComponent (that are based on
A lightweight approach to ACL - The 33 lines of Magic) to build a custom solution.
You could try the phpGACL plugin for CakePHP - I've had some amount of success with it but it takes a bit of getting used to. You're best checking out the 1.2 branch from the Cakeforge repository though, rather than just going for the "download" link on the plugin's home page, which hasn't been updated for some time.
I am currently using this one, http://bakery.cakephp.org/articles/view/acl-management-plugin,
but I had to modify it a bit to get it to manage CRUD. I'm curious what others will post in this thread.
-Matt
It took some wrestling, but I did eventually get authentication and acl working via built in CakePHP components, Auth and Acl.
Getting it setup was smooth until it came time to grant and deny permissions. For this I use an Acl management plugin by Jeff Loiselle that I got from http://bakery.cakephp.org/articles/view/acl-management-plugin
I use this nice plugin : http://sourceforge.net/projects/pippoacl/
You could manage users, groups and permissions of groups with ajax in very nice and user friendly interface
I have tried all what is posted above but nothing can beat Authake
Try this one https://github.com/CakeDC/users
It is from CakeDC
PoundCake Control Panel works with CakePHP 1.3

Simple, free PHP blog engine easy to redesign? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am looking for a PHP blog engine which needs to be easy to redesign (CSS, HTML). It also needs to be free and have simple user interface so that the client doesn't struggle to add posts. Any suggestions?
Wordpress - I keep trying other blogs and I keep going back to wordpress. It's definitely the easiest I've used for customizing templates, and the admin UI is very nice.
I kinda like b2evo we used it on our site and modded it to great effect.
I hear Chyrp is nice. Textpattern gets some praise too.
I am using flatpress for over a year and i am not going to change it for nothing.
Flat text files, simply admin panel, a lot of useful plugins, templates, widgets, static pages, rss2-atom, categories, upload mechanism.
It's easy and super simply. And if your want backups, make a tar. If you want to transfer it, just copy the tar.
http://flatpress.org
I have been very impressed with WordPress since I started using it.
I have had a look at the CSS that sits behind and it has a good structure in my view. There are lots of templates and good information on building your own.
I have recently started looking at NetTuts mainly for the Ruby on Rails tutorial but there is lot of good tutorials on extented WordPress at http://nettuts.com/category/working-with-cmss/
Well, it's hard not to suggest Wordpress. Redesigning it isn't too terribly difficult, a monkey could use it, the admin interface is simple and easy on the eyes, and it has great community support. I'd recommend using the Automatic Upgrade plugin with it as well, so that your customer can always stay up to date as well (for security reasons).
It is not exactly a blog engine but you may find Typolight interesting. It is very easy to use and fairly extensible.
Wordpress is definately the answer here. It's got a large community that can assist, with a lot of available free themes you can use and customize to build your own template.
It is also easy to extend with a wide range of plugins.
There are a lot of Linux hosted servers that come with Wordpress preinstalled already to make it even easier, but the installation of it is simple and straight forward.
Only one answer, Wordpress. I have used it only a few times to customise but simply found that it can be done by editing the header and footer files along with the stylesheet.
What can be simpler.
I suggest you just give it a go before you look at others as you could deliberate for ages just to come back to it :)
In the blog specific package area I have used: Textpattern, Typolight, Nucleus, Serendipity and Wordpress. Hands down, Wordpress is the easiest for end-users to manage and, frankly, it is one of the easiest to template. The userbase for Wordpress is so large that you can easily find resources to help you out when you get stuck on something.
My only practical complaint about it is the need to set up caching so that it doesn't get bogged down by a Digg/Reddit/Etc. overload. However, if you set the cacheing up, you are good to go and can handle significant traffic.
Simple PHP Blog. very, VERY simple. Very lightweight. Completely customizable. you dont have to worry about using a database! I find it great! http://sourceforge.net/projects/sphpblog/
Go get it!

Categories