I have a webapp that I created using OnsenUI and hosted on AWS. My company website is based on WordPress and now I would like to combine the two, if you will, to use one domain. That would require me to somehow transfer my webapp, if possible, or at least the html files and all required libraries/files (CSS, JS, etc.) to my WordPress site - NOT replacing current Wordpress site, just wanting to add the webapp as a page. The motivation behind moving the webapp to WordPress is so that I am able to implement a paywall. Any suggestions? I’ve never programmed in PHP and overall still a novice with WordPress. Please help, pretty much at end of rope.
Related
For the past 3 years I have been a PHP developer writing and creating websites in a "Vanilla" fashion (no CMS). When I created or altered a site I would write my own html, php, css and js files. I just started a job this week as a web developer at a small company that exclusively uses Drupal7/8 and Wordpress.
I was assigned, what in my mind is a simple task, of creating a landing page with a carousel and a form on it. In my past vanilla life this would take me all of two hours to have it live. This site however was created in Drupal 7 by a developer no longer at the company.
I have been through both Lynda.com courses on Drupal 7&8 development and have a good grasp on the concepts, but still don't know where to even begin.
Is there anyone out there who has come from a similar background of web development outside of a CMS and has since moved into it that can give me some advice on where to begin?
Thanks!
I followed the step in this video:
https://www.youtube.com/watch?v=WsLA7n9fknc
and here was the output I got on the page:
here
You should try to install and use drupal contrib modules to create the carousel and the form, for example:
Create a view with Views Slideshow module, you could start following this example:
https://www.drupal.org/docs/7/modules/views-slideshow/creating-a-slideshow
Use the webform module to create a simple form, please see the following tutorial: https://www.ostraining.com/blog/drupal/webform-module
I have one web application using drupal.Now i am trying to make the same application in to android application. So I need to convert the drupal php files into core php file
Is it possible or can I use the same drupal php files into my android application
Please anyone help me in this because i have less idea in PHP and drupal
First, if I understood you correctly, you are wanting to write up your drupal project so it can be accessed from mobile. Let me assure you, you generally do not need to rewrite much to have drupal accessible on mobile. Of course this would not be a native app, but many themes have great built-in mobile support. see [this list for a few examples].
Themes like adaptive and corolla makes it quite a breeze to push mobile content.
To recap, you would need to have:
Your site hosted on a webserver
Your drupal site fitted with a mobile / adaptive / responsive theme.
And you would be able to access your project from mobile.
Even though wordpress uses PHP, I would like to build a web application within a wordpress site I already have, so that I don't have to redo the site from scratch, and can use the same design elements I've already developed.
Is there a way to have certain pages on my existing wordpress site run Grails in the background, and then spit out the appropriate HTML elements so that it can use the existing buttons, divs, etc.?
Grails and PHP it totatlly different techologies. Grails is a framework written in and uses Groovy/Java, requires different web-server, etc.
Btw, there is another way: you can hide this two apps behind one frontend (nginx, or something), and map (proxy) different urls to different apps, some urls to wordpress, some to grails app.
Another option to to use the Grails: Wordpress plugin.
This will allow your Grails site to host your existing Wordpress site.
I need to create a mobile website for a Joomla website that is already live and running (has been for a while). I have no experience in using Joomla, so hence why I am asking you Guru's on here! I need to be able to display news and their categories, and possibly a few sub pages of cut down text from the full site.
I have found a few Joomla Extensions which hint at redirecting users to a mobile theme.
See:
Mobile Joomla!
Architect for Joomla
Do these include a mobile theme with them? Or do you have to manually create a separate theme for these extensions to identify and use when a mobile device or tablet is visiting the website? If so - can any of you direct me to the best possible route of implementing a "simple" mobile theme based on the current website? And note any common pitfalls + issues.
The website in question is here.
I look forward to your answers - thanks!
Due to the fact that a mobile version (if optimized for mobile devices) looks quite different to a normal website, I would write my own code which accesses the joomla database. For example, you create an own subdomain (no need to check "show mobile version" on every page) and there you can create a very lean and fast php/html5 version, for example. The php accesses the joomla database and gets all the news you need. Writing your own code has some advantages (in imho):
You can create a lean and dedicated version specific for your needs -> less code which handles generic things is needed
You can use some sophisticated gui-tools like iScroll to create a nice gui
I don't think that there's a great community for mobile joomla websites...
I have a Hindi magazine website hosted on Joomla. Though helpful from publishing point of view the site was a maintenance nightmare. Joomla is so much susceptible to hacker attacks. My host will often shut down my site due to bots attacking my website. Recently I relaunched the site as a new Wordpress based site on a different name. The Joomla based website would therefore never be updated anymore. However, I do want to maintain the old content. I have used PHP but hardly am a power user.
I want to convert the files as plain HTML. I created a mirror of the website using HTTrack. But thanks to the fact that Joomla had variety of URLs for the same page (if you used a SEF URL plugin you would understand) the mirror is full of redundant content. Moreover I have repetitive HTML content (for header,footer,menu etc) in each page.
My questions are:
Which is a better option, create a static HTML site or PHP4.x pages (with Unicode content and having include PHP fragments for repetitive content)?
If latter is better should I use template system like Smarty? I am worried about caching since the content will hardly be updated I want caches to last forever.
Thanks for the help.
If the content is not going to change frequently I recommend using HTML files. They are static and hence faster.
However, if you are going to be updating content frequently, then you can either upgrade to the latest version of any popular CMS preferably joomla or drupal. I cite these two because they are actively developed and you can get a lot of support for them on the internet. Be sure to follow their security guide for hardening your installation.
If I were you I'd move everything over to WordPress since you have started using this. This way you will be maintaining a single website application keeping things better manageable in the long run.
You can copy the data out of Joomla using the Joomla administration interface. Or maybe even quicker using a database tool like MySQL Tools or Navicat which has a lot of export options.
Copying the HTML from Joomla using tools like HTTrack or TelePort Pro will result in lots of duplicate code and pages like you state.
Maintaining an extra PHP site just for the old content will be as much effort as getting everything into WordPress.
The "Static Content" project at: https://github.com/juliopontes/staticcontent does exactly what you are after although it looks like it may need to be updated for Joomla 3.5.