Drupal is up and running but how do I ...?

Image Gallery formatting questions

Hi again everyone, I'm back with some more painfully obvious questions (to everyone except me that is).

#1 How can I reduce the size of the Image Title for each image? It's too big for what I need to write and is covered by subsequent images in the gallery. Reducing the font size would overcome this. I've tried adding something to ul.galleries h3 in image_gallery.css, but it makes no difference.

Associating frontpage and other content with specific users

I am curious as to how one might enact a drupal installation wherein the frontpage and subsequent content could be accessed only by specific users. I've been trying to figure it out based on a combination of taxonomy, access control, frontpage, and views, but not having much luck.

forgot login URL

does anyone know the URL for logging in? I disabled the login block , and now i can't login as admin.

i also enabled clean URLs if that helps. i've tried http://website/login, ../admin but still no workie.

thanks anyone,
Dan

Myspace CSS module

I have inserted some code into my page.tpl.php file that checks for an alternate stylesheet on my user page, and if one exists, it loads that instead of the theme stylesheet.

 <?php
  $currenturl =  $_SERVER['REQUEST_URI'];
$pos = strpos($currenturl, "q=user");
$fileexists = "http://www.combatfusion.com/newdrupal/themes/wireframe/layout.css";
function url_exists($url)
{
 $handle = @fopen($url, "r");
 if ($handle === false)
  return false;
 fclose($handle);
 return true;
}
   if ($pos > 0){
   if (url_exists($fileexists)) {
     print "<style type=\"text/css\" media=\"all\">@import \"http://www.combatfusion.com/newdrupal/themes/wireframe/layout.css\";</style>" ;
} else {
     print "<style type=\"text/css\" media=\"all\">@import \"http://www.combatfusion.com/newdrupal/themes/wireframe/style.css\";</style>" ;
}}
else {
print "<style type=\"text/css\" media=\"all\">@import \"http://www.combatfusion.com/newdrupal/themes/wireframe/style.css\";</style>" ;
}
;
  ?>

I know the code is ugly, but it is working for me. So far this checks to see if you are on a user profile page, then checks to see whether a different stylesheet is loaded. If not, it prints the default stylesheet.

My next step is to create a text window that you can copy myspace layouts into and the submit button would create your custom css file that is being checked for. I will have to have separate user folders, or some identifier for the file, since right now it is only checking for one alternate css and using it for all profiles.

why Google is not indexing my website?

hi all,

my drupal 4.7 website is not being indexed by Google, I installed nodewords and
gsitemap module, google sitemaps seems to recieve updates from my site,

but, yahoo indexes my site perfectly, my site shows up in search results.

am i missing something?

thanks,
enky.

How do I: Taxonomy browser, but only for some node types

I have a pretty standard site with story and book nodes.

I've used CCT to create a new node type called Library to store information about books in a small library. This node containt a title, author, publisher, year etc all as text fields. (Thus it is not to be confused with the book nodetype, even if it is used to store info about physical books :-)

I've also created a taxonomy vocabulary called Library_subject, which has a number of words associated: Anatomy, Pathology, Research etc. This vocabulary is only related with my new Library node type (i.e not story, book etc).

Thus, I can create a library-node for each physical book in my library with the aforementioned data and associate it with a subject using the category (vocabulary) term.

Now, I would like to be able to browse the Library nodes by the taxonomy - kinda like the usual taxonomy browser, but only for the Library nodes. A page with a simple dropdown list of Library_subject words to choose from.

The standard taxonomy browser lets me choose which vocabularies to be included so I could easily just exclude all vocabularies except the Library_subject, but as there is only one taxonomy browser I would then loose the ability to browse my Story and Book nodes.

Essentially I need two (or more) taxonomy browsers.

Is this possible? I've searched Drupal and come up short ...

Kind regards
Soren - Denmark

Pages

Subscribe with RSS Subscribe to RSS - Post installation