Okay
  Public Ticket #3337091
CUSTOM URL LINKS
Closed

Comments

  • Augusto started the conversation

    Hi, sorry if this subject has been answered in another ticket but I could not find a specific answer to my problem.


    I have a SQL table that contains an ID column which, when added to the end an URL will redirect you to the file of said ID.

    4555998628.png

    I've read that wpdatatables has an URL link column feature, and it changes the format of the ID column to work as a button and link rerouter.


    The problem I'm having is that I cannot change the default URL which the ID gets pasted on
    6199215433.png


    The URL that is using is the wp-admin url, but you can see that the ID is pasted at the end.

    Is there anyway I can change that default URL?


    Thanks in advance.




  •  1,849
    Miloš replied


    Hi, Augusto.

    Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.

    -

    If i understood you, you wish to make a custom URL in each cell of a column,

    and to combine the beginning of the URL for each cell to have the same "first part of the URL", then to pull from each cell, the ID that will be "at the end of the URL", right?

    For this, you can use CONCAT with our SQL Tables.

    Please check out our example how you can do this on this Video : 


    Let me know if that helps .smile.png

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables