WordPress.org

Ready to get started?Download WordPress

Forums

ABASE
How do I create a link? (6 posts)

  1. BioteconDiagnostics
    Member
    Posted 3 months ago #

    How do I create a link from mySQL?

    In mySQL I'm using 2 columns: produkt_number and url
    example: 12345 and http://www.XYZ.com/pdf.pdf

    If I would search for 12345 I want to get the link to: http://www.XYZ.com/pdf.pdf

    I dont understand this:
    alink - alink=" <column> ( , <url> ( , <append> ( , <target> ) ) )"

    <column> - column name whose content will become a link to a <url> that is appended with the contents of column <append>.
    <target> specifies the target window for the link (e.g., target="_blank" will open a new browser window.

    alink=" url (,www.XYZ.com/ (, <append> (, target="_blank") ) )"

    http://wordpress.org/plugins/abase/

  2. lor342
    Member
    Posted 2 months ago #

    I've been battling with alink too - did you get a solution? Example code would be SOOO useful!

  3. BioteconDiagnostics
    Member
    Posted 2 months ago #

    Yes, I found a solution after long time. The description with the commas was confusing

    [abase form="1,search" table="TABLE" columns="product$Search" elements="product"]

    [abase table="TABLE" columns="url" alink="url,../../../../product/,url,'_blank'" notitle="1" limit="3"]

    Good luck ;)

  4. lor342
    Member
    Posted 2 months ago #

    I've been battling with alink too - did you get a solution? Example code would be SOOO useful!

  5. BioteconDiagnostics
    Member
    Posted 2 months ago #

    Yes, I found a solution after long time. The description with the commas was confusing

    [abase form="1,search" table="TABLE" columns="product$Search" elements="product"]

    [abase table="TABLE" columns="url" alink="url,../../../../product/,url,'_blank'" notitle="1" limit="3"]

    Good luck ;)

  6. lor342
    Member
    Posted 2 months ago #

    Thanks!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.