Jump to content

xtian

Members
  • Posts

    30
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

xtian's Achievements

Member

Member (2/5)

0

Reputation

  1. * This view is a simple list o items with parent-category taxonomy. + A |- 1 |- 2 + B + C * The list should sort first on the parent-category in the same order as listed on the vocabulary page (I assume this is TID)--not editable in views, but on the taxonomy page--and then by the item order. * Within each parent-category the list of child-items is to be custom-sortable (using draggableviews). -------------------- Basic settings Page settings Relationships Arguments Fields Sort criteria Filters Name: Page - Admin Path: list-admin None defined None defined Taxonomy: Term ID Term ID Content: Weight asc Node: Published Yes Style: Draggable Table Menu: Normal: List... [/td] Taxonomy: Term Term Taxonomy: Term ID asc Node: Type = Menu item Content: Weight 9999 Node: Title Item Node: Body Item description Content: Price 9999 Content: Has rule 9999 DraggableViews: Parent Parent [td] DraggableViews: Order Order What I'm getting is a list of items which is not grouped by parent category (taxonomy) and is completely reorderable. Term ID----Term----Item Weight----Item Title-----Body + (40)-----List A----[menu]----------A-1------------ some text + (60)-----List C----[menu]----------C-1------------ some text + (50)-----List B----[menu]----------B-1------------ some text + (40)-----List A----[menu]----------A-2------------ some text
  2. ...leaving the original incomplete post--half of a sentence compared to the replacement four paragraph post. From my perspective, I returned to phpfreaks the next day, believing I had mistakenly posted only one line of my original post, I commented with an apology and reposted. This reposted--complete--post was then deleted. Each time the admin's correction failed me and the community by deleting the corrected complete post and leaving the incomplete post. I understand this for the first deletion. The admin sees a duplicate and deletes the newer, believing the older is already begun. However, deleting the third post, I can not understand why it would not occur to read the post. A simple cursory glance would reveal an incomplete thought. The warning PM did not mention the deletions. Again, from my perspective, I see only the persistent block to my attempts to correct my mistake. It smacks of willfulness to me-- ignoring my apology and continuing to punish my mistake. Chris
  3. No flames. No troll baby births. I'm extremely disappointed with an action taken by a moderator at PHP Freaks. I posted on a topic only to find my post edited to partial first line the next day. Believing this my own mistake I later found my second, complete post, deleted--leaving only my incomplete post. X
  4. Strangly this topic was not posted complete. I will repost this...
  5. I'm reworking a script to write a file in one directory to write another file in a second directory. This works on my testing machine. My shared host, however, is not taking to some of these
  6. I understand your opinion now. I think it over states my focus. I had hoped my examples would be followed by others who wish to contribute other ball and chain depreciated tags...
  7. That's what I'm trying to figure out. And, I'm not hearing any crippling downsides for commercial web pages and certainly not seeing it in the examples I'm looking at. Chris PS. Funny about google. lol
  8. Out of the last five companies to make the cut for the Fortune 1000, 2010, three use either align property for a tag and or font tag. Again, and I'm just wondering, where is the line between evangelism and practice?
  9. And I have no problem with that. In-line html tags such as <font> are depreciated. This is a problem only when someone turns off CSS. And why is that even possible? Because, browsers allow users to do it. Which means someone out in the great WWW is using this, for various reasons, and I can't ignore that. When is it going to hurt me if I use <font color="####">? Chris
  10. The keywords for this search hit too many, so I'm gonna take a risk no one else cares to style their NON-CSS pages. Its my goal to have a page I'm working on be viewable without CSS or JavaScript enabled. The page really looks best when the elements are aligned to the center of the page. Also, For other reasons, the page needs to be xhtml strict. And there's the rub. strict don't pass this as valid. Is there a way to hide these old html rules to pass the muster? Chris
  11. Update. I did an analysis of the various inputs. Its not likely a MySQLs error, but a problem with my variable scope. This form has an instance where, if the user does not select certain options when they first submit the form, its returned with completed options uneditable and remaining options highlighted. The uneditable options exist in this form as labels and printed variable values. At the end I thought I could get the values back into post simply by declaration. Here is a snippet, ...more form above... print '<label title="Message">Message:</label>'; print $messageForw."\n"; print '<input type="submit" value="Confirm" name="confirmed" />'."\n"; $_POST['message'] = $messageForw; ...more post and vars here... I recognized the form was resubmitting, and there were no input fields to repost those values. I thought to do for post similar with session and assign post the value at the end of the form. And I think this must be why the data is not showing up in the database, because post is empty in these few options, including the lost emails. Either I have to find a way to set the post var or leave the input field and make the background invisible. Any comments bout the best solution? Chris
  12. CORRECTION This is supposed to be, ...stripslashes($value);
  13. Devil's in the details. So what's wrong with this code to cause some email addresses to be dropped? My php query, //The name query var... //Then its saved... $dbSuccess_1 = mysql_query($insertName,$connectID) or die ("ERROR_1 - Unable to save."); //Get the name insert ID $lastMysqlID = mysql_insert_id($connectID); //The email query var... $insertEmail = "INSERT INTO email ( email_addr, name_id )VALUES( '$emailAdr', '$lastMysqlID')"; //Then its saved $dbSuccess_2 = mysql_query($insertEmail,$connectID) or die ("ERROR_1 - Unable to save."); I have a general set of filters for $_POST data from a user form, (NOTE= where I note the following is recursive, thats where I removed the function and just displayed the operative code tag) $_POST = array_map('trim', $_POST); // recursive use of... ...array_map('f_stripslashes_deep', $value) : // recursive use of... ...strip_tags($value, '<a><br><em><i><b>'); // recursive use of... ...htmlspecialchars($value, ENT_COMPAT, 'ISO8859-1'); $_POST = array_map('mysql_real_escape_string', $_POST); Finally the form page has an email filter, filter_var($emailAdr, FILTER_VALIDATE_EMAIL) Then when you look into phpMyAdmin you see some emails are missing, ID email name_id 1 xtian@thatsmyname.com 1 2 2 3 example2@test.com 3 4 4 5 guns@andammo.com 5 6 6 7 7 8 ToYou@gmail.com 8 9 DoDo@Gogg.com 9 10 swf@strange.com 10 Again, there is a filter check. If the email is missing, you can't submit the form. Any obvious problems??
  14. If its lost before it gets to the server, then it should trip the die() error catch. No? And I did ten tests with ten different fake emails....
  15. This is a general mystery. I have two tables for a simple form. One contains names and the other emails. The names table has name and auto increment. The email tables have the email, id, and foreign key mapped with php's mysql_last_id_thingy(). The ids are fine. The problem is, out of ten tests, only six emails were saved. The rest are blank! What could cause such a thing to happen? any ideas? Chris
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.