ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Order search with a custom form and how to store some data?

March 25, 2009 8:13am

Subscribe [2]
  • #1 / Mar 25, 2009 8:13am

    Simon-a

    64 posts

    Hi!

    I’ve got some few questions about my new EE project 😛

    It’s kind of a site for peoples who is looking for a job (a bit like => authenticjobs)

    My question, does this hack found on our wiki work well with the latest EE?

    And also, after showing the search result, If you click on a article, you’ll see the detail of the offers, and a link to a form with the reference of the job offer.

    My question, how I can store the {title}  of my article, if I go to a different page (the form to apply to the job) like :

    You're going to apply to : the name of the job 
    And then the form to apply

    Tons of thanks in advance, and sorry for my English

  • #2 / Mar 25, 2009 11:17am

    Sue Crocker

    26054 posts

    You’d grab what ever segment the url_title ends up being, and you could just use the query module to get it back.

  • #3 / Mar 25, 2009 11:32am

    Simon-a

    64 posts

    thanks Sue!!

    I’m playing with the segment url method, it work, but is it possible to grab the {title} tag with this method ? (look nicer 😊)
    Thanks in advance and sorry, I’m a newbie in this part of EE (and in English as well)

  • #4 / Mar 25, 2009 12:06pm

    Sue Crocker

    26054 posts

    Yes, that’s where the query module can be used. Something like this:

    {exp:query sql="select title from exp_weblog_titles where url_title = '{segment_3}' "}
    {title}
    {/exp:query}

    Does that help?

  • #5 / Mar 25, 2009 12:19pm

    Simon-a

    64 posts

    Yes Sue!
    It help me a lots!
    Thanks you!

  • #6 / Mar 25, 2009 12:20pm

    Sue Crocker

    26054 posts

    Glad to hear it! Don’t hesitate to post again as needed.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases