Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 26

Thread: Button "Post a Classified!" lead to a different page

  1. #11
    Thread Starter
    Amateur
    Not a Verified Customer
    lampi's Avatar
    Join Date
    Jan 2010
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Button "Post a Classified!" lead to a different page

    Quote Originally Posted by ancient geek
    "Ein Bild, spart mehr als tausend Worte"
    - A picture saves a thousand words!
    Ein Bild sagt mehr als tausend Worte.

    Thanks for the support.
    I'm going into the rest watch.

    lampi

  2. #12
    Member ancient-geek's Avatar
    Join Date
    Jan 2010
    Location
    Darlington, UK
    Posts
    76
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Re: Button "Post a Classified!" lead to a different page

    I have been trying the tutorial. It is very interesting but not exactly what you need.
    After testing, I conclude that your sample page must be external to your site.

    I have done some work on my test site. Lampi you can look at darlingtonlist.co.uk -> go to 'general sales' and see what i mean.

    I can't get the return link to the post page right. Does anyone know what url to put on a graphic to link to the post form?

  3. #13
    Thread Starter
    Amateur
    Not a Verified Customer
    lampi's Avatar
    Join Date
    Jan 2010
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Button "Post a Classified!" lead to a different page

    Quote Originally Posted by ancient geek
    I have been trying the tutorial. It is very interesting but not exactly what you need.
    After testing, I conclude that your sample page must be external to your site.

    I have done some work on my test site. Lampi you can look at darlingtonlist.co.uk -> go to 'general sales' and see what i mean.

    I can't get the return link to the post page right. Does anyone know what url to put on a graphic to link to the post form?
    In fact, he writes herb_ is probably not what I need.
    The site darlingtonlist.co.uk is not accessible for maintenance.

  4. #14
    Member ancient-geek's Avatar
    Join Date
    Jan 2010
    Location
    Darlington, UK
    Posts
    76
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Re: Button "Post a Classified!" lead to a different page

    Sorry Lampi,
    Darlingtonlist is activated now.

  5. #15
    Thread Starter
    Amateur
    Not a Verified Customer
    lampi's Avatar
    Join Date
    Jan 2010
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Button "Post a Classified!" lead to a different page

    Quote Originally Posted by ancient geek
    Sorry Lampi,
    Darlingtonlist is activated now.
    Exactly, I mean the.
    How can I implement it?

  6. #16
    Member ancient-geek's Avatar
    Join Date
    Jan 2010
    Location
    Darlington, UK
    Posts
    76
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Re: Button "Post a Classified!" lead to a different page

    It's not perfect.
    Here is what I did:

    I populated a form and made a screenshot, saved as .jpg
    I made a new page called 'Sample'
    Pasted the screenshot into the page
    I made a new button 'Post a Real Classified'
    Pasted into bottom of sample page.
    I took the number of the page and removed from menu in classipress->configure->Exclude Pages from Nav
    I changed the header.php:
    (near line 132)
    replaced
    with

    But,
    I do not know how to make the new button 'Post a Real Classified' to link to the post form.

  7. #17
    Member ancient-geek's Avatar
    Join Date
    Jan 2010
    Location
    Darlington, UK
    Posts
    76
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Re: Button "Post a Classified!" lead to a different page

    Getting better.
    Have a look now. It's still messy but beginning to work.

  8. #18
    Thread Starter
    Amateur
    Not a Verified Customer
    lampi's Avatar
    Join Date
    Jan 2010
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Button "Post a Classified!" lead to a different page

    Hi ancient geek,

    as far as I understood everything.
    Just what has the page template 'post', -> http://classifieds.darlingtonlist.co.uk/post/
    There will indeed allow the posting of an advertisement.

  9. #19
    Member ancient-geek's Avatar
    Join Date
    Jan 2010
    Location
    Darlington, UK
    Posts
    76
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Re: Button "Post a Classified!" lead to a different page

    Sorry, I don't understand

  10. #20
    Member ancient-geek's Avatar
    Join Date
    Jan 2010
    Location
    Darlington, UK
    Posts
    76
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Re: Button "Post a Classified!" lead to a different page

    (I keep my English simple for google translator)
    What I did :
    Follow the instructions above;
    Then, (as in Eric Hanby's tutorial)
    Create a new file called post-page.php
    (This is new template for new pages)
    In this file, is this code only:
    Code:
    <?php
    /*
    Template Name: Post Page
    */
    ?>
    <?php
    require_once dirname( __FILE__ ) . '/form_process.php';
    get_header( );
    if ( !is_user_logged_in() ) {
    echo '<div class="cant_post">';
    if (get_option("permission_err") == "") { echo __('You have to be logged in to post a classified ad.','cp'); } else { echo get_option("permission_err"); }
    echo '
    Register';
    echo '</div>';
    };
    include_classified_form();
    get_footer();
    ?>
    FTP file to classipress folder
    In wordpress, make a new page called "Post" and use template "Post Page"
    (Same as when you make Dashboard and Edit Ad pages)

    Go back to Sample page and link new button to http://....domain.com/post (It is the new page)

Page 2 of 3 FirstFirst 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)