This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Can't see flash controls or skin in embedded page

Hello. I hope this post is in the right area. My problem is I've succesfully embedded a flash/swf file into my page, but when I go to view it, I don't see the controls or the skin I uploaded. The video plays fine. All the files required are uploaded to my server in the appropriate directory. I've tried various ways of exporting the file from Flash 8 and I've searched for similar posts, none of these seem to have an answer either.

Please help! Thanks in Advance

GNO

Daily Bible Verse - Bible Gateway

Alright... I got this module originally from Brad Landis, so he deserve the credits.

His module was developed for 4.7, and he has no plan on making it 5.x compatible.

I am having problem with the serializing.. it seems like when the module tries to cache the Bible verse on the SQL, it gives error.

Anyways, you can see the errors if you visit my site.

http://cru.koish.com


    * user warning: Incorrect table name 'a4s5titles18Ephesians210as3urls73httpwwwbiblegatewaycompassageversion31ampsearchEphesians210s4bodys1' query: LOCK TABLES a4s5titles18Ephesians210as3urls73httpwwwbiblegatewaycompassageversion31ampsearchEphesians210s4bodys129ldquoForweareGodsworkmanshipcreatedinChristJesustodogoodworkswhichGodpreparedinadvanceforustodordquos6notices70PoweredbyahrefhttpwwwbiblegatewaycomBibleGatewaycoma WRITE in /var/www/virtual/koish/cru.koish.com/includes/database.mysql.inc on line 172.
    * user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':4:s:5:"title";s:18:"Ephesians 2:10</a>";s:3:"url";s:73:"http://www.biblegateway' at line 1 query: UPDATE a:4:s:5:"title";s:18:"Ephesians 2:10</a>";s:3:"url";s:73:"http://www.biblegateway.com/passage/?version=31&amp;search=Ephesians 2:10";s:4:"body";s:129:"&ldquo;For we are God's workmanship, created in Christ Jesus to do good works, which God prepared in advance for us to do.&rdquo;";s:6:"notice";s:70:"Powered by <a href="http://www.biblegateway.com/">BibleGateway.com</a>"; SET data = '-1', created = 1187038145, expire = 0, headers = '' WHERE cid = 'biblegateway votd' in /var/www/virtual/koish/cru.koish.com/includes/database.mysql.inc on line 172.

Display taxonomy page per term id - taxonomy_render_nodes

I need to show a different taxonomy/term/id page depending on what term/id is being loaded. In my example, I want the taxonomy/term/id page to only show the node thumbnail if the term/id is from a certain content type. In order to accomplish this, I have manually hard coded the taxonomy_render_nodes function located in taxonomy.module.

Is there a better way to do this? Perhaps overriding somehow within the template.php or creating a module?

Using Nice_Menus but can figure out how to position it

if you look at my site http://www.fansportsunion.com/fan/ you can see that I put the menu in the header I know how to move it around with in the header. But my problem is this - you can see that I have a banner in the header as well is there any way that I can Position the menu to the lower left and the banner in middle right of the header?

here is the code that I change to move it around

Module sequencing for form_alter_hook

(1) I have a custom module that implements a node called 'odclass'.
(2) I create a form in odclass_form
(3) When presented, the form includes a taxonomy fieldset titled "Categories"
(4) I investigate and find this fieldset is created and added to the odclass menu in taxonomy_form_alter
(5) I try to remove the field in odclass_menu_alter, but taxonomy_form_alter is called AFTER odclass_form_alter.

Is there some way to signal that taxonomy_form_alter should not add to the form once odclass_form_alter has run?

THanks!
Doug

Ignoring form submittage errors, or alternative solution

Okay, I am building a page right now that is for creating a project between a series and a creator. The form works this way: The form has a name textfield, and an ID textfield for both the series and creator. If you input the two IDs it will create the project immediately and that's that; but if you don't know the ID, you can input the name instead.

However, if you input the name, there might be several creators or series with those names, so the form output should instead show a select list with the available ones that have a name similar to that... and then after selecting one in the list you can submit again and create the project.

But, here comes to problem that keeps deluding me and driving me crazy. If I want to replace the ID input field with the select list instead it might look like this (with some pseudo code):

$form['add']['seriesname'] = array('#type'=>'textfield' [...]);

if( 'seriesname' has been submitted and the search for the title gave hits ) {
    $form['add']['seriesid'] = array('#type'=>'select', '#options'=>$options [...]);
}
else {
    $form['add']['seriesid'] = array('#type'=>'textfield' [...]);
}

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions