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

FunGames (over150) and Funvideos

Hi!

I have tested half the Night my Funvideos and Fungames Modules. (Drupal v4.4.2)
I am new to Drupal and it was tricky to include the content.
Problem:
Always when i read the dynamic content from my Server it kills my DrupalSite.

The only Solution was, to include the Modules via InlineFrame. Looks bad - but works.
They can be uploaded and activatet.
(I will spend more time to fit it in the themes.)
But so long... Have Fun with this content.

It is free and hosted external. That means you have no Traffic and are topical.

Custom Node Pages, where all that is shown is the desired HTML/PHP whithin the Drupal framework?

Does something like this exist?

I'm searching for a way to allow for content to appear as the HTML coder wants, with no added taxonomy/posted by/titles/etc.. So that the only thing to appear inside the framework of the drupal site, is the custom html or php that was entered, plus an administer link.

I'm not sure exactly how this is done, but i think have some clue, maybe someone can point me in the correct direction.

Event management based on flexinode module

I would like to use flexinode to store events. this because, based on the type of event, I would need to store different data.
for some kind of events, I would need a start and end date, while for others, only start date could be fine.
I'm trying to face how to filter based on start and end date and to present data ordered by start date.
Actually, I have different modules to manage the different types of events, but this approach is difficult to manage and very heavy, because Drupal has to load all modules, and this results in high memory needs.

new module - "mypage" - seeking thoughts

I've created a module (my first) that I have started using called "mypage". Every user can select the taxonomy terms he/she reads, and then they are combined into one page which can be accessed at "?q=mypage/view". This lets you provide users with a "personal" page.

Under the covers, all the module does is create a "taxonomy/view/or/1,3,7,16" page. However, the user's subscriptions are saved in the database and therefore get persisted.

Additionally, the simpler URL makes sense to unsophisticated users who don't know anything about taxonomies.

There are two pages total... "build my page" and "view my page". The "build" page displays all taxonomies and terms in a tree, with a checkbox next to each. The user simply checks the ones he/she wants and the selections get saved. The "view" page looks up the chosen terms and creates a customized page.

The module also allows customized RSS feeds. Since feeds are requested by users who aren't logged in, getting a feed requires a username in the URL: "?q=mypage/feed/jsmith"

It seems this would work best for intranet sites or sites with mostly internal users. A marketing employee in Los Angeles wants to see nodes related to marketing and Los Angeles, but does not want to see all the nodes directed to the finance department, or the Chicago sales staff. This person may also want to receive info about the company's softball team but not its wine-tasting club. This module makes that type of filtering very easy.

Xtemplate and permissions

I'm in the process of working on a module which requires some additional information within xtemplate. In order to do this I created some additional functions within xtemplate which grab information from the database. From there I added the information to xtemplate using the assign( ) and parse( ) functions (read about this here). As a result I'm able to view the page as an administrator, but when I view the page as an anonymous user I get and error message that says, "You are not authorized to access this page." Here is my code.

I would really appreciate your help in figuring this out. Below are a few questions and observations that I've made about Xtemplate.

Questions:

  1. Can xtemplate make calls to the database without running into permission errors?
  2. How is it that xtemplate can use variable_get( ) to pull information from the variable table without generating any errors?
  3. What initiates xtemplate and provides the functions within xtemplate with the necessary parameters (variables, and objects)?

In other words, is it possible for an anonymous user to view a page using xtemplate, when xtemplate has been modified to include additional calls to the database? I have made such changes to the xtemplate.theme file and I'm running into permission errors. I'm wondering if it's due to the fact that anonymous users may not have access to the database and therefore access is being denied.

Permission Access?

I've customised my own version of the story module and want to restrict read access to this module depending on their role. I've looked in /admin/user/permission and am unable to restrict read access to this module, is there anything that i could do to get around this please?

Cheers
Kam

Pages

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