With the help of data from the database on my Web page

Hello

This is probably a simple great question, so I apologize in advance. I looked through a lot of information on BC and I can't seem to find the answer to my question (although a lot of it seems to go over my head that I'm a n00b full BC., and I feel that my hands are tied without being able to just stir up the something in Python or PHP!).

I am trying to create a Web page that displays a single product (the entire site exists just for 1 product), and the user can click on the color chart of different color in order to customize it. I would like my client (owner of site) so you can easily add new colors (using the hexadecimal code) for different parts of the product.

So I basically just need a place where the client can enter these values, and then I can write on my page in JavaScript format and build dynamic page using JavaScript.

It seemed that the way to do would be to create a new "Web App" inside the BC. I did, and I created a "Web App Item" called "Data". Under "Data", I added a 'field Item' named 'Color', which is a multiline text area. I entered a few different hexadecimal codes like this:

000000

FFFFFF

003366

(I thought that I can analyze the lines with JS)

The problem, I comes across however, is to know how to enter these data in my source code on my Web page? I created a Web page and I put the code in it:

{module_webapps, 6042, one,}

but this will display a list of links, with a link to 'Data', and then if you click on "Data" you go to a separate web page that says only: "Data" in this topic. Very strange.

Is there a way I can get the data entered here in the source of my Web page? (Or is there a better way to do it?)

As a more general question... It's basically just how use BC as a CMS and have custom fields that you can then access your web page. A bit like plugin, WordPress Advanced Custom Fields, if you're familiar with that. (I know that's not WordPress, but just a way that I can access certain values that my client has entered in)

Thanks in advance!

Heather

You may be better to use electronic commerce and assign different attributes for your colors?

Tags: Business Catalyst

Similar Questions

  • Problems with the phone and Desktop Web page layouts

    Hi all

    I was hoping that someone could help with a problem with my website sciencenewsbreak.com. I have two office and put phone in page each has its own master page. When viewing my site for example on the desktop and using the navigation menu all my pages come up with available funds, all good. However, if I have a specific page using google search "3 aug science newsbreak" or "newsbreak science 28 July... My phone set charges upward, not my office layout. This is not uniform as pages for July 31 and August 1 appear as correct desk combination. This occurs using safari or chrome. Also when looking for a July 27 google shows a result but link to said page page is not found.

    I add a new page to home/today ' hui every day and I am just by clicking the + button to the left of my last page page

    Screen Shot 2015-08-09 at 2.16.42 pm.png

    Does anyone know whats going on. heeeeeeeelp please

    See you soon

    Garry

    Google indexes the same items in various ways, caused by the fact that you have two separated from each identical item versions that are duplicates - the only difference is the presentation which is displayed according to a mechanism of screen/detection javascript by Muse (which, coincidentally, is generally considered a bad method to deal with different screens and devices).

    You must all least tell Google which version is the main (the so-called canonical version), otherwise Google indexing algorithms will decide that based on their best estimate. This is the reason why the search results are so confused.

    Read this info to learn more about the canonical meta tag: use of the canonical - URL search Console Help

    In any case, apart from this question, I also noticed your pages the support phone on my Nexus 7 Android tablet version, and it looks terrible: the desktop version should be displayed on the landscape orientation.

    Your Web site should be turned into a responsive design for one. Two, as you update your content on a daily basis, Muse and static html pages are about the worst imaginable solutions (even more so when it comes with a lot of content that must be seen on a variety of devices and screens!).

    This case calls desperately for a sensitive designed dynamic site, whose content is well ranked in a content management system. The obvious solution that comes to mind: Wordpress.

  • Is it possible to synchronize an existing database with the database CRM from Adobe?

    I have a database that is hosted locally customers, and I would like to sync it with the database hosted on Business Catalyst without manually having to import/export a list of customers. Is there currently a way to do this?

    Hello

    Look in the API as a possible solution to this...

    "This system has a broad framework of the API (application programming interface) that allows you to communicate, synchronize or take action with your own external application." For example if you are an online store and you want to adjust the inventory levels in real time as shoppers buy from you, then you can simply use this API. Other uses of the API include the ability to synchronize your entire customer database on this system with the one on your desktop. The scope of the API will give you indeed freedom to undertake all kinds of specific tasks to the success of your business"

    - http://kb.worldsecuresystems.com/635/bc_635.html

    Kind regards

    -Sidney

  • Connection problem with the database, the closure of Flex Builder

    Hello

    I developed a web page that connects to a database, reads data and it shows on the screen. I use HTTPService to connect to a php server that supports MySQL data. Everything is OK when I run the Flex Builder web page, but when I run the page doing double click on the file released .html the connection fails and the program generates this error:

    [RPC Fault faultString = "" error #2028: file:///Q:/2009-08-05-1330FinalFrontEnd/bin-release/FrontEnd.swf SWF file with Local file system cannot access Internet URL http://localhost/Test2/Test2.php. "faultCode ="InvokeFailed"faultDetail ="null""]
    to mx.rpc::AbstractInvoker / http://www.adobe.com/2006/flex/mx/internal: call ()
    at mx.rpc.http.mxml::HTTPService/ http://www.adobe.com/2006/flex/mx/internal: call ()
    at mx.rpc.http::HTTPService/send()
    at mx.rpc.http.mxml::HTTPService/send()
    in FrontEnd / submitLabelsQuery)
    in FrontEnd / updateLabels)
    in FrontEnd / ___FrontEnd_SetEventHandler5_handler)

    Does anyone know how can I use the web page without using Flex Builder?

    More information:

    I use Flex Builder 3 to the development of the web page and WampServer 2.0 for the connection with the database.

    Thank you

    Onditz

    Hi Onditz,

    Previously, I also faced the same problem when working with Php as the Backend, the problem is that Flex does not call your PHP page

    It is the way I solved it to export your Flex Project at Flex Release Build.

    Right click on the export of project---> Flex project---> Release Build---> copy all the files on your server where all of your PHP files are and then call the application from the browser

    http://localhost/test2/sample.html. »

  • register the database with the database Vault

    Version: 11.2.0.2.0

    Operating system: Solaris

    Can someone tell me please how to enter Oracle Database Vault with a database from command line without using DBCA.

    The doc oracle E23090-10 provides only through the DBCA Wizard. I'm having some trouble with my software x - manager, so I cannot use the DBCA Wizard and seeks to enter the vault of the database with the database by command line.


    Oracle database Vault is already enabled through 'chopt enable lbac' and 'chopt enable dv. Now all I do is register with the databases on the server.

    Thank you

    Hi DK2010, actually I found my answer in the metalink Doc ID 803948.1

    I have to run the dbca in silent mode and at the end of this doc, it's exactly what I need.

    "

    DBCA-silent - configureDatabase

    sourceDB-

    [- sysDBAUserName

    -sysDBAPassword ]

    -addDBOption DV, WHO

    -dvUserName

    -dvUserPassword

    -dvAccountManagerName

    -dvAccountManagerPassword

    "

    Now, the keystone of the database is registered with the database.

  • Questions about synchronize with the database.

    Hi experts,

    With the help of Jdev11.1.1.5.0 - adfbc-oracledb10g

    I got quite stupid question.

    but I need to ask this question here.

    while I give make a right-click to eo synchronize with the database. EO get the newly created field.

    I had a vo is dependent on the OS. the vo not update how can get the field. ?

    Someone can help me.

    Published by: ADF7 on March 12, 2012 21:02

    ADF7,

    You don't the you in your VO up to you to add attributes manually. VO is supposed to be some specific use cases and so in general do not need all of the underlying fields of the EO. You can add them by going to the VO and the shuttle of new fields in the attributes list.

    John

  • Strange problems with the database

    Hello

    I just got my Fuze and am very happy with it; However, I am having a very strange problem with the database. I have a 16 GB sdhc card that I use with the "rocket" and there are about 4 songs on the card that will not play and have no information charge tag. Their tags appear in the tag browser (not the in the track information screen) as just an empty rectangle. Under the track information screen, sizes are listed as ~ 4000 mb. The songs will not play and I can not jump in front of one of these songs once they were loaded.

    At first, I suspected some kind of corruption of tag, so I set out that night to track down the problem. I removed the 16 GB card and reset the player. Then, I loaded one of the corrupt in the internal memory of the player. The track has been scanned and played correctly. Then, I removed the track of the internal memory and it loaded on another SDHC card. Yet once, everything worked correctly, so I knew that the card I was using was a kind of system files or physical problem. I returned the original 16 GB sdhc card in the reader and checked that the file was still unplayable, and then I plugged the "rocket" to my computer. I transferred the unplayable file on my computer and compared (with md5sum) to the original file, thinking that if there was the file system or physical corruption the copy of the map would be damaged. However, the files were equivalent.

    To make things even more interesting, I also have problems with the registration of the kind. I have some files tagged Genres such as 'Classic' and 'Rock '. In the list of the genre, I see this:

    C

    CL

    CLA

    CLAS

    Class

    Classic

    Classic

    Classica

    Classic

    Rock

    So, there is corruption on the kind of 'Classic' but not the kind of "Rock". Each of the substrings of 'Classic' contains only a few titles, with most of the other titles listed where they should be. I checked that the tracks are labeled correctly and in exactly the same way as the other tracks that do not have this problem.

    I am at a total loss about what to do, and I'd really appreciate any advice or suggestions. I use the current firmware, 2.03.31a and the songs in question are in Ogg Vorbis format.

    MM

    Thanks for your replies.

    I managed to find what may be the problem. Tracks that received corrupt tags had the names of total path with more than 256 characters. It seems that the driver internal fat32 the rocket uses vomits all over the place when the path name is too long. Before the "rocket", I got an iPod running rockbox tags with the same directory structure that I have on the "rocket", so I don't think that this restriction on the length of the path name is a limitation or requirement of the fat32 file system. Reduce the path corrected the problem with the files being unreadable.

    However, the problem with foires genres the rest. Looking at the files show that corruption, they all have a little information in tags. Most of the information is contained in the hashes I have files that identify them via musicbrainz. The limit on the total number of characters in the tags of the track includes the "rocket" label is not read or use?

    MM

  • Synchronizing with the database for the relationship child parent - several associations is auto created

    JDeveloper version - 11.1.1.7.0


    I created a table say 'table ' have a primary key. Created a new ADF application and using business components of Table added table at my request.


    I then created another table in the database say 'TableChild' have a foreign key reference to a field in thetable '. In my application, I added the TableChild using business components of Table option.


    Associations and/or display of the links between the 2 tables will be created. Also tried to synchronized the OS using the option "Synchronize with the database", but it still reflects. Is it possible to automatically generate associations and post links and/or when a child table is added to the model.

    He is a well-known but in 11.1.1.7.0

    Check what to do with duplicate association which has all the information

    Timo

  • Synchronize with the database, the button is disabled?

    Hello

    Studio Version 11.1.2.3.0 Edition and Studio Edition Version 11.1.2.4.0

    For me and my colleague, the button synchronize with the database are disabled. Any ideas?

    Kind regards

    Pamela

    It seems that it is a known issue with JDev R2:

    Synchronize with database is disabled

    For a possible solution, take a look at:

    Cannot "sync my entity objects with the database"

  • What can I do with the database in offline mode

    What can I do with the database in offline mode?
    Other than for developers to understand the structure of database objects, what can I do with objects of database offline at development time.
    Is there anyway that I can refer to the tables defined in the database offline of EO, VO, even if the tables have not been defined in the database online?

    Thank you

    There are some useful articles and the doc on the Web:
    http://download.Oracle.com/docs/CD/E18941_01/tutorials/jdtut_11r2_81/jdtut_11r2_81_2.html
    and http://susanduncan.blogspot.com/2011/06/fine-tuning-your-logical-to-physical-db.html
    and a tutorial http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/databasedevelopment/obe_%20databasedevmt.htm

    Timo

  • Apex 4.0 is compatible with the database Oracle Express?

    Apex 4.0 is compatible with the database Oracle Express?

    Hello

    Yes.
    http://download.Oracle.com/docs/CD/E17556_01/doc/install.40/e15513/pre_require.htm#BABFCFBC

    Here is guide how upgrading to 4.0 on XE Apex
    http://www.Oracle.com/technetwork/developer-tools/Apex/upgrade-Apex-for-XE-154969.html

    BR, Jari

    Published by: jarola on August 6, 2010 12:49

  • retrieve a row of data from mysql database

    Hello

    I extract data from a database.  Use of then in a Web page as <? php echo $row ['product'];? >

    However, if there is an apostrophe in 'product', he displays like a diamond with a question mark.

    Data stored in the database looks like this, 'pearls of Mary. "

    Is the problem when I have the data stored in the database or when it was recovered?

    Thanks, Dan

    This happens usually if you paste from another application like Word or Xpress directly in the database.

    To work around the problem:

    If you are still using the old mysql extension insert the line below before any other query mysql on your page:

    mysql_query("SET NAMES UTF8");

    If you uisng the new mysqli extension then use the variable of connection string (in this case $conn) as below:

    $conn-> query ("SET NAMES UTF8");

  • Can I import data from a database in a FrameMaker using ExtendScript document?

    I want to import the part of database information in a structured document in FrameMaker (XML). The document would be an illustrated parts catalog, built by merging the text in the document structured with Bill of material stored in a database and graphic files. ExtendScript for this, or do I have to study a different language for this programmatic approach to the construction of a document?

    There is no direct way to connect to a database with FrameMaker ExtendScript. It is possible to write code C++ to interact with scripts, so you could write some kind of connector in C++ that would work with ExtendScript. ExtendScript can work with XML files, then another solution is to export the data from the database in XML format and ExtendScript allows you to analyze and import it into FrameMaker.

    I'd take a serious look at FrameScript. FrameScript has built-in ODBC support, you can connect directly to your database and use SQL queries to get your data into FrameMaker. There also ActiveX is supported, so you can use ADODB technology to get data from your database. I did the import of the database in a bunch of my scripts over the years. Please let me know if you have any questions or comments. -Rick

  • How to get data from a database table and insert into a file

    Hello
    I'm new to soa, I want to create an xml with the data from database tables, I'll have the xsd please suggest me how to get the data in the tables and insert in a file
    concerning

    in your bpel process, you can use the db adapter to communicate with the database.
    with this type of adapter, you can use stored procedures, selects, etc to get the data from your database into your bpel workflow.

    When did it call in your bpel to the db adapter process it will return an output_variable with the contents of your table data, represented in a style of xml form.

    After that, you can use the second card (a file synchronization adapter) to write to the content of this variable in output to the file system

  • copy data from one database to another

    Hello

    I want to copy data from one database to another.

    I have two patterns such as

    dev1/dev@ORCL
    DEV2/dev@DCEL


    I have same tables dev1 and dev2 (tables)
    but I have not given in dev2 (tables).
    now, I want to copy dev1 (tables) in dev2 (tables).

    You can also use the database link:

    select * from dev1.emp@orcl;
    

    What database are you connected to?
    You must create and use the links in the database for all other databases.

    For example if you are connected to the database A and to retrieve data from database B, you must create a connection of database in base B

    create database link B connect to  identified by  using 'B';
    

    Then you can retrieve data from database B with

    select * from [yourschema.]yourtable@B;
    

    This will work only for tables that are visible to the user that you used in the definition of database link.

    Published by: hm on 10.08.2011 22:15

Maybe you are looking for

  • Upgrade to W7 application LV with SM2064 DMM WXP

    I have to upgrade a LabVIEW application using a SM2064 DMM of WXP to W7. The device is recognized by the operating system, but the LabVIEW library does not work. The DLL seems to be inconsistent. Did someone already used that DMM abandoned on a W7 64

  • How do the input of digital response in the structure of the event event

    Hello In my code, I have to do something when I detect a high digital line. Because I have another response to event controll buttons, I need use the structure of the event. now I have an example of the sample code (labview 8.61) and use the indicato

  • I entered incorrect information during the installation. How to fix it.

    During the installation of windows xp pro, I was asked my name, then the name of the computer (don't remember if it was a part of the whole upward to the network or whateer domain).  Now there are files under my documents that are appointed; Administ

  • The HP health check

    Hello I have a6255.it of desktop pavilion with windows vista home premium 32 bit. What command HP Health Check scan does not start. What should I do? Thank you

  • 2011 Microsoft certificate authority certificate installation

    I need to install the Microsoft 2011 certificate authority certificate. I installed the certificate, then checked the Certificates snap in MS Management Console and the Microsoft certificate authority 2011 certificate was not there. I want to use met