Build a Joomla Website Forum

Free Joomla support for all and priority support for members.

Database & Conditional Displays?

Les
Les
Offline
0
I've been working all week on a project and I've gone from a Joomla website to an Phone App and then to a WYSIWYG Web App. Each environment has it's pro's and Con's. The more I change from enviroment to environment the more my concept grows and evolves. Which brings me to my question. Does Joomla have a databse extension anyone could suggest. I want a administraor-user to be able to enter configuration type information that will then be used when the site is pulled up a visitor. The second part of this question is, will Joomla allow for conditional displays? I.E. If this value then display this image? If this text, Then display this Text.
I may just need to get into code but I am trying to avoid it at this time.
thanks
Les
Responses (7)
  • Accepted Answer

    Les
    Les
    Offline
    Sunday, April 14 2013, 04:36 AM - #permalink
    0
    Thanks Robert, I know about how the CMS works but it's like creating a Excel Spread sheet and each column is a different sellers compltet information. When the seller starts or changes anything, they simply plug the info into their column of the spread sheet. When the user logs on, something keys the Website to load column 24 or column 35's data. I will check out the things you suggested. In the end you could create a website for hundreds of people by creating just one site.
    Les
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, April 14 2013, 04:14 AM - #permalink
    0
    Well, that is in effect exactly what Joomla, or any database driven dynamic website, will do. Content is created on the fly based on certain parameters.

    If you switch your perspective from, "I need a new one page website built every time a user comes to visit" to something more like, "I need a page displayed on my website that provides specific data based on some filtering info" you'll see what I mean.

    I think you can get at least very close to what you want by using a CCK. I've been playing with Content Builder a bit, but any Extension that has really good filtering options could work. You could check K2, ZOO, and Form2Content as a starter. Here's the the section:
    http://extensions.joomla.org/extensions/authoring-a-content/content-construction

    You might even allow your users (sellers) to create their own content types (products) from a front end form.
    The reply is currently minimized Show
  • Accepted Answer

    Les
    Les
    Offline
    Saturday, April 13 2013, 10:26 PM - #permalink
    0
    Very Close Robert. The visitors to the site would not get a list of sellers to choose from. They would originally be directed to a website address(say with an embedded code). This code would designate what sellers website they are going to see. If effect each website would be built as the Buyer accessed the page.
    As a starter model, each sellers page would only be appear as one page.
    Les
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, April 13 2013, 05:51 PM - #permalink
    0
    OK, let's simplify this way way down.

    Let's just get the very basic functionality that you're looking for.

    You want to have a website that allows multiple sellers the ability to sell various items, right? In their profile section, they can create products and put them into categories?

    Visitors (the general public) can come to the site and browse on either items or categories of items? Then when they are show the list, the specific seller is shown with their item?

    Does that sound like the basics of it?
    The reply is currently minimized Show
  • Accepted Answer

    Les
    Les
    Offline
    Saturday, April 13 2013, 10:14 AM - #permalink
    0
    Thanks Robert. As an example say you had a config page that was accessible for a specific at it let them put in their Name, Address, Phone No. and asked if they wanted to sell Cars, Boats, Trains or Horses. They would also be able to upload images of the products they sell.
    Viewers of the site could not get into this config area. Now when a user goes to the site when he clicks on a menu item for products it shows pictures of the appropriate item the person sells. It would probably also show the Prices that were defined with the sales products. When he went to the service page it would populate the appropriate fields with the name, Address etc.

    That would be step one.
    Step two would be the ability to add another dimension to this approach. The first person selling products has a code to identify him so when the user accesses the page it displays seller 1's products.
    When another user access' another page the same format chooses to fill the model with seller 2's products and info.
    It may be that each user has a leading page with a different address domain and it them forwards to the model pages and fills the information in as needed. The CMS system would seem to lend itself to this type approach. This would provide a large number of users websites, configured by them but programed only once.

    I understand this restrict some originality but if the websites goal was similar across many people it could work out. maybe like a MLM website where everyone sold the same products but they could manipulate their own site to a certain extent.

    I'm just reaching right now.. trying to see if any of these concepts are available in joomla.
    Les
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, April 13 2013, 09:20 AM - #permalink
    0
    Hey Les,

    Not exactly sure what you mean by a database extension. An admin changing configuration info from the back end sounds like a framework to me? I'm sure you're talking about something else though. What configuration information would you be changing?

    In terms of conditional logic, yes for sure. Remember that Joomla is simply written in PHP which provides all of the programming logic you might need for providing conditional displays within your templates. I'm sure there are limitations to that, but if you know PHP you should be able to think up a solution. Not sure how you'd go about this without getting into the code though.
    The reply is currently minimized Show
  • Accepted Answer

    Les
    Les
    Offline
    Saturday, April 13 2013, 06:19 AM - #permalink
    0
    Small addition: In running in responsive mode I seem to be having problem using a web cm that uses Java when I access the site from my phone. Has anyone else run into this?
    The reply is currently minimized Show
Your Reply