SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Addict anita_86's Avatar
    Join Date
    Aug 2010
    Location
    Nagpur, India
    Posts
    232
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    codeigniter Navigation

    Hi all.I am not sure I am posting in correct forum or not, but experts over here might help me

    Hi have got a code of codeigniter site, and I need to convert it in wordpress.This seems to be a complicated precess for me as I dont have slightest idea about codeigniter.

    I would like to know how does the navigation works so that I could open the file and use it for reference.

    Like, menu item Buy shows link:http://www.yoursite.com/landing/803,
    lease:http://www.yoursite.com/landing/806
    and Our Results:http://www.yoursite.com/listings/our

    Can anyone tell me what does this mean?
    It's easy once you know how...

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,198
    Mentioned
    456 Post(s)
    Tagged
    8 Thread(s)
    I'm afraid your question is not very clear.

    Quote Originally Posted by anita_86 View Post
    Hi have got a code of codeigniter site, and I need to convert it in wordpress.This seems to be a complicated precess for me as I dont have slightest idea about codeigniter.
    You are probably better off starting from scratch, TBH.

    I would like to know how does the navigation works so that I could open the file and use it for reference.
    You could just view the HTML source code in your browser and grab that to start with. Then rebuild it in WP.

    Can anyone tell me what does this mean?
    What does what mean? It's not really clear what those links are for.

  3. #3
    SitePoint Addict anita_86's Avatar
    Join Date
    Aug 2010
    Location
    Nagpur, India
    Posts
    232
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok.Sorry for that.Talking about source code, the link showing is as follows:
    <a href="./buy" class="sprite ">Buy</a>.But there is no file like "buy" anywhere.And I am not at all aware of codeigniter except I know it is mcv framework.So at this point,I just want to see the logic or function that is used on certain page, so that I can construct it again in WP.
    It's easy once you know how...

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,198
    Mentioned
    456 Post(s)
    Tagged
    8 Thread(s)
    Yes, I suspect they work quite differently, so you'll just need to create a new page in WP called /buy and reconstruct that page from the HTML of the original page. (That's what I suspect, anyhow.) You could check the CodeIgniter docs for how pages are constructed, I guess, as those docs are pretty nicely written.

  5. #5
    SitePoint Addict anita_86's Avatar
    Join Date
    Aug 2010
    Location
    Nagpur, India
    Posts
    232
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for your reply ralph.m.I guess its the only option to go for their documentation.
    So far I came to know that, in controller folder, a php file is loading through $this->load->model('db_props'); and I guess it is loading db_propes.php from model folder which consists of several sql queries.
    It's easy once you know how...


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
  •