Magento 2 - Showing iframe in admin configuration panel - php

I want the users who download and install my extension from the marketplace to go through a registration/login flow. Since the normal system.xml file supports only static pages and doing the entire thing using frontend models is too complicated, I'm wondering if I can instead show everything in an iframe?
Showing everything in an iframe gives me lot of advantages like -
Flexibility over design. Magento buttons/elements are ugly.
Being able to use the same iframe my other eCommerce offerings
Much much less engineering time since our team is much more comfortable with JavaScript/CSS than PHP/XML etc
So my question is how to implement the iframe and are there any disadvantages that I'm missing?
I see its possible for Magento 1

Related

Drupal 8: How to create completely standalone custom page?

Good day,
I've been thrown in the deep DEEP end with a website I have to develop using Drupal 8 and the Acquia platform.
The problem is that the timeframe in which I have to develop this website is so small that there just isn't time to learn all the Drupal in's and out's. My thinking is to create custom pages with custom html etc. and from there Ajax my way through this.
However having absolutely no Drupal experience this proves to be challenging as hell.
Is there any way I can create a custom page using a complete custom template bypassing the Drupal inner workings and just plug into the main objects such as the database etc.
I've been spending a lot of time on Google on how to achieve this but to no avail. Any guidance or advice would be greatly appreciated.
So far I only installed the Bootstrap theme but can't seem to even find the files for this theme in my file structure.
Here is a link to page that explains how to create custom page (the module that gives you custom page, that is) in D8:
https://www.drupal.org/docs/8/creating-custom-modules/a-hello-world-custom-page-module
You'll have to do some reading...but it's not that much.

Joomla! 2.5 - Implement custom table as plugin or module?

Just started developing with Joomla! (2.5), completely newb, read through the docs talking about Plugins, Components and Modules. Having a hard time figuring out which to choose and how to implement. I'd like to have a table similar to the one used in the Plugin Manager in the Joomla! administrator backend where the the results can be searched, filtered and even individual entries can be toggled (Enable/Disable by clicking on Status circle). Can someone point me to a tutorial or even some example code I can in developing this?
I’ve already read a few sites including this (http://www.inmotionhosting.com/support/website/joomla-25/plugin-vs-module-vs-component).
If you want to create page in administrator panel with tables, that display some items, you should develop joomla component.
Look for this: http://docs.joomla.org/Developing_a_Model-View-Controller_(MVC)_Component_for_Joomla!2.5
Note, that only components can provide extended administrator interface for managing some entries, create pages on font-end. Plugins intended only for processing output of components and modules. And modules intended only for display some html on specific positions in front-end template.

How to write a custom php code in joomla

I am working on a joomla website but as I am new to joomla so I dont know exactly how to write a data uploading form for an administrator.Actually I want to make a form for administrator through which he will be uploading information about properties ,few pictures and some other information in the form of textfields , comboboxes and radio buttons.Once the data uploads then user will be able to search these properties by providing some information (in the form of textfields,comboboxes etc ).I know how to do these things in other own written websites but don't know how to do it in joomla.As far as I know there are a lot of extensions but they are very costly thats why I want to do it myself
'very costly' is a very subjective term. I've rarely seen a Joomla add-on cost more than £30 or £50 (approx $50 - $80). Some add-ons are more perhaps double this - but they tend to be full apps that will just drop in and run a full business.
http://docs.joomla.org/ and in particular this page:
http://docs.joomla.org/Component_Development
should be your starting points.
As you are just starting out you probably want to follow the Joomla 1.7 items where possible. Where not possible Joomla 1.6 is almost identical internally.
Browse the code of the 'core' components that ship with Joomla - within the /components/ and /administrator/components/ folders. Download extensions from the JED (Joomla Extensions Directory) http://extensions.joomla.org/ and pick those apart too.
Andrew Eddie - Joomla's former lead developer - offers video tutorials for a very minor subscription fee at his site http://learn.theartofjoomla.com/

CMS for DJ website

I am in the process of building a website for a DJ. Instead of reinventing the wheel, I thought I would look out there if there are any solution available. My requirements are:
Ability to have own domain name & custom design
Section for listening to DJ's song
Section for photos
Section for videos
Usual CMS functionalities for managing static pages (personal bio)
Self-hosted & PHP is a big plus
Open source/proprietary free/paid doesn't matter
If you answer with a more generic CMS (i.e. WordPress), could you point out some extensions that would be helpful. I'm also open to web apps that don't fill every requirement, but explicit which of the requirements are not available.
Not a 100% match for a DJ, but Indexhibit is very popular among artists in general. I like it personally, and use it whenever I need to set up a simple, minimalistic CMS for a client.
It brings a lot of gallery and image management functions and is relatively easy to extend if you speak PHP. Every page can have a custom background image. No built-in WYSIWYG editor, so text and layout possibilities are very limited - although I find that is often a good thing.
It doesn't come with a built-in music and video playing facility out of the box, which is the biggest minus. The project's forum, however, shows some successful examples of people who managed to build that in. I can't make any estimate on how hard that would be.
Other than that, it does everything you need. The design is customizable through style sheets and page templates; there are various gallery functions; it's self-hosted, and Open Source (but asks for a backlink to be put somewhere on the site).
Drupal
Wordpress
Joomla
Google Search Results:
Play a MP3 / Wordpress plugin
Photo Gallery / Wordpress Plugin
Videos / Wordpress Plugin
if you need to find Drupal or Joomla plugins, replace tghe word 'Wordpress' in the Google Search
All three of these are very customisable

Wordpress as CMS, Without Using It As Website Platform

What is the best method, if there is one, of using Wordpress as a CMS for users to input data while not actually building the website on the Wordpress platform?
One possible solution I've found is using a PHP class called "WPGet" (http://peter.upfold.org.uk/projects/wpget) which fetches directly from the database.
You could use Wordpress' API calls, but depending where your "custom built application" sits, it might require including numerous files in your code (not very fun/efficient)
I have a site that requires constant updating. It's a golf club site: results, news etc all updated via wordpress by the club, or individuals with interest (juniors, ladies, seniors each have a mini-site) - and not always by me - so i have a front end, the standard site with static .php pages, which i then feed data to, by calling on posts marked in categories from wordpress, relevent to the site's page. The coding is easy and it's a quick and simple way of using wordpress as a cms, but it does strip away most of the Wordprss functionality, eg. comments, But I even use it for galleries with lightbox.
Like i say - it's nothing major, but sounds similar to what you're asking...?

Categories