Page 2 of 14 FirstFirst 123412 ... LastLast
Results 11 to 20 of 137
  1. #11
    Join Date
    Sep 2007
    Posts
    329
    Plugin Contributions
    0

    Default Re: Define Pages Generator - Support

    Hi everyone,

    Let me be the first "voice of stupidity" on this thread (smile). I understand how to use the program and the copying of files to my host. What I don't understand is how to incorporate the changes into my main web page. Does everyone just use a plain link, or a sidebox? Can someone give me a helping hand here?

    thanks

    btw: looks like a great mod...

  2. #12
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Define Pages Generator - Support

    It depends on your need, rite? You can decide to put the link in the navigation bar, at the footer, etc, wherever you want.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  3. #13
    Join Date
    Sep 2007
    Posts
    329
    Plugin Contributions
    0

    Default Re: Define Pages Generator - Support

    Quote Originally Posted by yellow1912 View Post
    It depends on your need, rite? You can decide to put the link in the navigation bar, at the footer, etc, wherever you want.
    Thanks for the quick answer... let's just say that I want to put it into the navigation bar... how do I go about doing that? Sorry to be such a dummy about this... I wil probably forever be learning about zen cart.

  4. #14
    Join Date
    Nov 2007
    Posts
    195
    Plugin Contributions
    2

    Default Re: Define Pages Generator - Support

    you can get a link to the page in the php code using the function "zen_href_link," this is the standard function for getting links in zencart. If you called your page "my page" then in the php
    PHP Code:
    $link_to_my_page zen_href_linkFILENAME_MY_PAGE'' ); 
    will give you the link you need and if you want to use this then you need to stick it in a link:
    PHP Code:
    echo '<a href="' $link_to_my_page '">Link Text</a>'
    This will print a link to your page where you put it in the code. To put a link to this page in the navigation bar you will need to find the file that generates the navigation bar and then modify it to your needs.

    I'm afraid that as I said in the introduction, this is a meta-mod, so it is something that helps you generate new code for your site. Unfortunately if you want to use this code then you need to do some (basic) programming.

  5. #15
    Join Date
    Sep 2007
    Posts
    329
    Plugin Contributions
    0

    Default Re: Define Pages Generator - Support

    Ok thanks for the reply. I will try and see if I can get that working. Thanks so much for your help. Will let you know how things go when I get through with it.

  6. #16
    Join Date
    Sep 2007
    Posts
    329
    Plugin Contributions
    0

    Default Re: Define Pages Generator - Support

    Quote Originally Posted by banswidthjunkie View Post
    you can get a link to the page in the php code using the function "zen_href_link," this is the standard function for getting links in zencart. If you called your page "my page" then in the php
    PHP Code:
    $link_to_my_page zen_href_linkFILENAME_MY_PAGE'' ); 
    will give you the link you need and if you want to use this then you need to stick it in a link:
    PHP Code:
    echo '<a href="' $link_to_my_page '">Link Text</a>'
    This will print a link to your page where you put it in the code. To put a link to this page in the navigation bar you will need to find the file that generates the navigation bar and then modify it to your needs.

    I'm afraid that as I said in the introduction, this is a meta-mod, so it is something that helps you generate new code for your site. Unfortunately if you want to use this code then you need to do some (basic) programming.
    Thank you again for getting back to me... would you mind letting me know exactly which php file I need to change for the first and second lines of code? Thanks, I appreciate it. Again... sorry for being dumb about this.

  7. #17
    Join Date
    Nov 2007
    Posts
    195
    Plugin Contributions
    2

    Default Re: Define Pages Generator - Support

    By the way, on your navbar image, you need to set the background colour as the same red as the right most pixel as the background image, and then you need to set the x-repeat to none, otherwise it looks a bit odd.

  8. #18
    Join Date
    Sep 2007
    Posts
    329
    Plugin Contributions
    0

    Default Re: Define Pages Generator - Support

    Quote Originally Posted by banswidthjunkie View Post
    By the way, on your navbar image, you need to set the background colour as the same red as the right most pixel as the background image, and then you need to set the x-repeat to none, otherwise it looks a bit odd.
    Just so you won't think I'm a complete idiot, I'm a retired software developer. I developed in c++ and VB. However, I'm not that great at PHP. I'm learning a few things as time goes by though. Thanks for the info on the navbar image.

  9. #19
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Define Pages Generator - Support

    Dont worry, I guess it's the same for most of us. I had a hard time trying to get ZC structure and the way it does things, but then now if you say the problem I can tell where should you look into.
    Quote Originally Posted by crabdance View Post
    Just so you won't think I'm a complete idiot, I'm a retired software developer. I developed in c++ and VB. However, I'm not that great at PHP. I'm learning a few things as time goes by though. Thanks for the info on the navbar image.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  10. #20
    Join Date
    Sep 2007
    Posts
    329
    Plugin Contributions
    0

    Default Re: Define Pages Generator - Support

    Thanks for getting back with me on this. What I needed was to know the exact filenames to make the changes to. You said make the changes in "the" php file but did not say which one. The generator creates multiple files and I just need to know which ones to change

    If you can just give me the filenames, I'm sure I can take it from there.

    Quote Originally Posted by yellow1912 View Post
    Dont worry, I guess it's the same for most of us. I had a hard time trying to get ZC structure and the way it does things, but then now if you say the problem I can tell where should you look into.

 

 
Page 2 of 14 FirstFirst 123412 ... LastLast

Similar Threads

  1. Define Pages Generator on 1.39h ?
    By pizza392 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 28 Mar 2011, 06:47 AM
  2. Define Define Pages / Information pages Manager needed
    By thunderesl in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 2 Jun 2010, 02:42 PM
  3. ePier Bulk File Generator Support Thread
    By numinix in forum All Other Contributions/Addons
    Replies: 14
    Last Post: 28 Jul 2009, 08:16 PM
  4. How do I change navbar titles in Pages made using define pages generator?
    By lifebot in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 3 Mar 2008, 06:13 PM
  5. index_default & define pages(4+ define pages on frontpage?)
    By mrmarcus66 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 13 May 2006, 07:38 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR