dstu Posted July 10, 2006 Share Posted July 10, 2006 (edited) Hello, I use v1.3 of this wonderful (Information Pages Unlimited) contribution that includes the parent/child feature for the information pages. Unfortunately, the way it's currently constructed is that the breadcrumb doesn't add a child's parent ID's title (if one exists), so we jump from the child directly to the catalog if we want to go back. I tried to add something like $information_query = tep_db_query("SELECT info_title, description, parent_id FROM " . TABLE_INFORMATION . " WHERE visible='1' AND information_id='" . $info_id . "'");$information = tep_db_fetch_array($information_query); // After extracting the parent_id into $parent, I should add an IF to see if $parent has a numeric value (or if it's not NULL) and a query to extract the title of the parent info page and update the breadcrumb. That's what I have so far (not much, ha?): $parent = stripslashes($information['parent_id']); $parent_title = ???? $breadcrumb->add($parent_title, tep_href_link(FILENAME_INFORMATION, 'info_id=' . $parent, 'NONSSL')); // ... $breadcrumb->add($title, tep_href_link(FILENAME_INFORMATION, 'info_id=' . $HTTP_GET_VARS['info_id'], 'NONSSL')); before the "regular" breadcrumb insert in the information.php page and update the SQL query to include the parent_id, but I'm not a strong php coder, so it doesn't work (I don't know how to check what happens if the $parent is NULL and how to extract the $parent_title information if one exists). Would anyone care to help me on this? Thanks, David PS. I opened a new topic by mistake. I apologize in advance for the double-post. I wish there was an option to remove a post that you created. Edited July 10, 2006 by dstu Quote Link to comment Share on other sites More sharing options...
jimmygreaves Posted July 11, 2006 Share Posted July 11, 2006 (edited) Quick question................. Anybody had any experience combining this contribution with the Dynamenu contrib so the information pages are picked up from the db and displayed in a drop down menu? I'm struggling at the moment. Edited July 11, 2006 by jimmygreaves Quote Link to comment Share on other sites More sharing options...
Guest Posted August 23, 2006 Share Posted August 23, 2006 Is there files missing in the last contrib entry, keep getting tinyMCE errors, looking at the scipt it refers to a tinyMCE.js file which is not included. Quote Link to comment Share on other sites More sharing options...
aromater Posted September 6, 2006 Share Posted September 6, 2006 Does this contrib get along well with sts... anyone? Quote Link to comment Share on other sites More sharing options...
aromater Posted September 6, 2006 Share Posted September 6, 2006 Does this contrib get along well with sts... anyone? Quote Link to comment Share on other sites More sharing options...
joelm Posted October 2, 2006 Share Posted October 2, 2006 Hi. I couldn't make this working. Maybe something about register_globals = off? Or does anyone has it working with it disable? Problem is: When I click to create a page... it does nothing. Any help? Or should I search for an alternative? Quote Link to comment Share on other sites More sharing options...
joelm Posted October 2, 2006 Share Posted October 2, 2006 I get this: "Empty information system" Quote Link to comment Share on other sites More sharing options...
blessed Posted October 24, 2006 Share Posted October 24, 2006 I tried installing this 3 times today, clean install and not once did it work, it causes errors in the admin. The changes in the files are a little ambiguous, can some one clear them up? Quote Link to comment Share on other sites More sharing options...
blessed Posted October 24, 2006 Share Posted October 24, 2006 Add adown changes to following files ================================ ## ADMIN AREA ## includes/configure.php: // Module: Information Unlimited require(DIR_WS_MODULES . 'information/configure.php'); -------------------------------------------------------------- includes/application_top.php: // Module: Information Unlimited require(DIR_WS_INFORMATION . 'application_top.php'); ------------------------------------------------------------- includes/column_left.php: // Module: Information Unlimited require(DIR_WS_INFORMATION . 'boxes/information.php'); -------------------------------------------------------------- includes/languages/english: Add this: //INFORMATION define('BOX_HEADING_INFORMATION', 'Info system'); define('BOX_INFORMATION_MANAGER', 'Info manager'); // do this for every other language file in your "languages" folder. -------------------------------------------------------------- includes/application_top.php: // include local general functions used application-wide require(DIR_WS_INFORMATION . 'functions/information_html_output.php'); // include local language translations require(DIR_WS_INFORMATION . 'languages/' . $language . '.php'); //INFORMATION define('TABLE_INFORMATION', 'information'); define('FILENAME_INFORMATION_MANAGER', 'information_manager.php'); --------------------------------------------------------------------- includes/configure.php define('DIR_WS_INFORMATION', DIR_WS_MODULES . 'information/'); ---------------------------------------------------------------------- ## CATALOG AREA ## includes/application_top.php: // Module: Information Unlimited require(DIR_WS_MODULES . 'information.php'); =============================== The first 2 areas I'm not sure if I'm adding, changing, all I know is it causes errors. There's no mention of changes to the database_tables file, which I find off, am I missing files somehow? Quote Link to comment Share on other sites More sharing options...
1stmp3 Posted November 20, 2006 Share Posted November 20, 2006 Great Contribution, I installed it. it works like a Charming. I wonder is there a way to make description support PHP code. such as <?php echo tep_get_defined_content('Catalog Heading'); ?> As I don't know much about PHP. I am trying to use this contribution together with Define_content_V1.3. If the description page can support <?php echo tep_get_defined_content('Catalog Heading'); ?> Then I won't need anything else to update or create any information and update online without FTP. Any help will be apperciated Thanks Quote Link to comment Share on other sites More sharing options...
HelleM Posted January 4, 2007 Share Posted January 4, 2007 Did anyone ever get it to work with "WYSIWYG HTMLArea FOR PRODUCT DESCRIPTIONS v1.7" - I read nigecon question earlier - and it seems he never got an answer?? Please Helle :-) Quote Link to comment Share on other sites More sharing options...
joeri Posted February 13, 2007 Share Posted February 13, 2007 Please explain what you exactly want... I am uploading a new version one of these days, so maybe we could make it work with your request... Great Contribution, I installed it. it works like a Charming. I wonder is there a way to make description support PHP code. such as <?php echo tep_get_defined_content('Catalog Heading'); ?> As I don't know much about PHP. I am trying to use this contribution together with Define_content_V1.3. If the description page can support <?php echo tep_get_defined_content('Catalog Heading'); ?> Then I won't need anything else to update or create any information and update online without FTP. Any help will be apperciated Thanks Quote Link to comment Share on other sites More sharing options...
Freeman Posted February 17, 2007 Share Posted February 17, 2007 Hi There, i used the "old" info pages and tried this new one. In the admin i can't "see" any entries, when i insert them, but they are present in the db. The information group they belong is 0 and the visible is set to 1. Any fix? I use currently Italian and English as lang Thx Fab Quote Advice on forum are Free, Email or Pm to fix your site is work...which I charge for :) ------------------- Link to comment Share on other sites More sharing options...
joeri Posted February 18, 2007 Share Posted February 18, 2007 Shoud be fixed now. Sorry for the inconvenience. Hi There,i used the "old" info pages and tried this new one. In the admin i can't "see" any entries, when i insert them, but they are present in the db. The information group they belong is 0 and the visible is set to 1. Any fix? I use currently Italian and English as lang Thx Fab Quote Link to comment Share on other sites More sharing options...
chooch Posted February 18, 2007 Author Share Posted February 18, 2007 Shoud be fixed now. Sorry for the inconvenience. Nice one Joeri - I haven't added this yet but will do so sometime during the week. Just a quick thought, what do you think would be the best way to add custom metatags and keywords to each individual info page? These could bring in extra traffic via search engines. I was thinking of combining the IPU with Randalia's Custom Meta contribution and using that as a base: Here or Here If you get a chance let me know what you think is the best way to proceed - thanks. Quote Upon receiving fixes and advice, too many people don't bother to post updates informing the forum of how it went. Until of course they need help again on other issues and they come running back! Why receive the information you require in good faith for free, only to then have the attitude to ignore the people who gave it to you? There's no harm in saying, 'Thanks, it worked'. On the contrary, it creates a better atmosphere. CHOOCH Link to comment Share on other sites More sharing options...
joeri Posted February 18, 2007 Share Posted February 18, 2007 (edited) Just a quick thought, what do you think would be the best way to add custom metatags and keywords to each individual info page? These could bring in extra traffic via search engines. Never really gave it a thought, but I guess it could indeed make some difference to something like that. Although, with the enhanced search engines of nowadays, I have my doubts about META tags (as lots of people did abuse this, it is being ignored more and more by search engines). I put more trust in the PAGE TITLE and CONTENT (first paragrapgh) of the page you want to be indexed. So, replacing the defined title of the page with the title of the information page, would already do the trick. But... that is just my view on it :) Edited February 18, 2007 by joeri Quote Link to comment Share on other sites More sharing options...
joeri Posted February 18, 2007 Share Posted February 18, 2007 (edited) Double post... Edited February 18, 2007 by joeri Quote Link to comment Share on other sites More sharing options...
Guest Posted February 19, 2007 Share Posted February 19, 2007 I am a newbie and felt good with the install when I saw the Info Manager in the control panel. However, I got this error message when I clicked on the Info Manager. I feel so close...... "Access Denied No Right Permission Access Please contact your Web Administrator to request more access or if you found any problem." permissions?? which folder?? mysql ??? Thanks CK Quote Link to comment Share on other sites More sharing options...
joeri Posted February 20, 2007 Share Posted February 20, 2007 "Access Denied No Right Permission Access Please contact your Web Administrator to requestmore access or if you found any problem." Interesting, never seen such. Can u determine or it is an OSC generated error, or one from your server. Did you install any kind of WYSIWYG editor? Because then it might that you need to set some folder to have write permissions (typically an image/upload folder). Quote Link to comment Share on other sites More sharing options...
Guest Posted February 20, 2007 Share Posted February 20, 2007 Interesting, never seen such. Can u determine or it is an OSC generated error, or one from your server. Did you install any kind of WYSIWYG editor? Because then it might that you need to set some folder to have write permissions (typically an image/upload folder). I did implement the Tiny MCE package per the Step 9 instructions. I just realized that I did not download FCKosc in Step 9.1 I will do that. Thanks. CK Quote Link to comment Share on other sites More sharing options...
Bigredman74 Posted February 20, 2007 Share Posted February 20, 2007 "Access Denied No Right Permission Access Please contact your Web Administrator to requestmore access or if you found any problem." This comes from the contribution Administration Access Level Accounts 2.0 (http://www.oscommerce.com/community/contributions,1359). You will need to go the File Access page to assign newly added admin pages to a group (category box) which will allow them to be viewable. Quote My Published & Modified Contributions Helpful Forum Topics: Basic Design Tips & Tricks | Simple Steps to Better Forum Searching | Speed / Performance Optimizations Link to comment Share on other sites More sharing options...
joeri Posted February 20, 2007 Share Posted February 20, 2007 I did implement the Tiny MCE package per the Step 9 instructions. I just realized that I did not download FCKosc in Step 9.1 I will do that. This should not necessary, it is either FCK or Tiny MCE, not both. And if you don't do anything, it should not give any error. Maybe it is the safe_mode of php that is running. Could you try to add a @ before the file_exists functions on line 135 and 136 of admin/information_manager.php and let me know or it then works. (So it should look like this @file_exists(...) ) Quote Link to comment Share on other sites More sharing options...
mugitty Posted February 20, 2007 Share Posted February 20, 2007 Joeri; Great contribution, Thank You! I use this extensively to provide pages of additional information that relates to the products I sell. I have amended things slightly to show the page title in the browser title bar, but I notice that the breadcrumb only reflects the current page. Is it possible to have the breadcrumb reflect the entire path to whatever page you happen to be on (as the catalog itself does)? Thus, if you have a parent and a child page, the breadcrumb would show Home >> Catalog >> Parent Info Page >> Child Info Page It would also be neat if the child pages appeared in the body of the parent page (as they do in the catalog categories) Quote ... if you want to REALLY see something that doesn't set up right out of the box without some tweaking, try being a Foster Parent! Link to comment Share on other sites More sharing options...
faqbch99 Posted February 25, 2007 Share Posted February 25, 2007 Just a quick thought, what do you think would be the best way to add custom metatags and keywords to each individual info page? These could bring in extra traffic via search engines. I was thinking of combining the IPU with Randalia's Custom Meta contribution and using that as a base: Here or Here If you get a chance let me know what you think is the best way to proceed - thanks. I came here to the forum to see if this had just this thing. If you get it working that would be really good. The ability to edit Title, keywords and description is key. Quote Link to comment Share on other sites More sharing options...
tsvenkat Posted March 1, 2007 Share Posted March 1, 2007 I have just installed this and its good ! But I dont find an option to EDIT WELCOME messages The Link Info Manager > Welcome Message shows a table and a cancel button nothing else Information Manager / Welcome message ID Title Parent page Public Sort order Action Empty information system how to sovle this ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.