Results 1 to 3 of 3

Thread: Retrieve name of Edit Post page

  1. #1
    Design & Development carlo75's Avatar
    Join Date
    Oct 2009
    Location
    Italy - Perugia
    Posts
    509
    Thanks
    62
    Thanked 105 Times in 58 Posts

    Default Retrieve name of Edit Post page

    In according to documentation

    http://hotarucms.org/showthread.php?...-the-Page-Name

    which parameter I've to use for understand if I am in Edit post page?

    I've tried some no lucky parameters

  2. #2
    Design & Development carlo75's Avatar
    Join Date
    Oct 2009
    Location
    Italy - Perugia
    Posts
    509
    Thanks
    62
    Thanked 105 Times in 58 Posts

    Default

    Got it!

    $h->pageName == "edit_post"

  3. #3
    Former lead dev Nick's Avatar
    Join Date
    Jun 2009
    Location
    Kakamigahara, Japan
    Posts
    2,869
    Blog Entries
    88
    Thanks
    481
    Thanked 806 Times in 526 Posts

    Default

    It should be "edit_post".

    With Friendly Urls set to FALSE, you can usually tell by the url, e.g.:
    http://localhost/hotaru/branches/1.0/index.php?page=edit_post&post_id=3744

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [Done] Retrieve image URLs
    By carlo75 in forum Plugin Suggestion Box
    Replies: 34
    Last Post: 03-18-2010, 04:12 PM
  2. Retrieve Gravatar of Admin
    By carlo75 in forum How-To and Troubleshooting
    Replies: 5
    Last Post: 12-02-2009, 12:15 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •