I am trying to theme the $feed_icons element in the page.tpl.php. It should effect the syndicate block on the side bar. I would like to add a text title to the RSS feed. This site only has one RSS feed.
I attempted to use the hook theme_feed_icon, however, that yielded no results. I appreciate any help on this matter.
IMPORTANT: In Drupal 6, the theme system caches template files and which theme functions should be called. What that means is if you add a new theme or preprocess function to your template.php file or add a new template (.tpl.php) file to your sub-theme, you will need to rebuild the "theme registry." See the Theming Guide
Drupal 6 also stores a cache of the data in .info files. If you modify any lines in your sub-theme's .info file, you MUST refresh Drupal 6's cache by simply visiting the admin/build/themes page.
The base Zen theme is designed to be easily extended by its sub-themes. You shouldn't modify any of the CSS or PHP files in the zen/ folder; but instead you should create a sub-theme of zen which is located in a folder outside of the root zen/ folder. The examples below assume zen and your sub-theme will be installed in sites/all/themes/, but any valid theme directory is acceptable (read the sites/default/default.settings.php for more info.)
Why? To learn why you shouldn't modify any of the files in the zen/ folder, see Why use Zen?
- Copy the STARTERKIT folder out of the zen/ folder and rename it to be your new sub-theme. IMPORTANT: Only lowercase letters and underscores should be used for the name of your sub-theme.
Hey, today I tried to install Drupal 6 on my server, but it won't work..Every file I access in the drupal directory results in a 500 Server error. When I delete the .htacces file it works.
I deleted lines from the htaccess file until this remained:
# Apache/PHP/Drupal settings:
# Protect files and directories from prying eyes.
# Customized error messages.
ErrorDocument 404 /index.php
# Set the default handler.
# Override PHP settings. More in sites/default/settings.php
# but the following cannot be changed at runtime.
# Requires mod_expires to be enabled.
# Enable expirations.
# Cache all files for 2 weeks after access (A).
# Do not cache dynamically generated pages.
ExpiresByType text/html A1
# Various rewrite rules.
# If your site can be accessed both with and without the 'www.' prefix, you
# can use one of the following settings to redirect users to your preferred
# URL, either WITH or WITHOUT the 'www.' prefix. Choose ONLY one option:
Noob with Drupal but not CMS in general - have reviewed v5 vs v6 and plumped for the latter because it seems like getting the desired look and feel for the 2-3 of sites I need to build will be easier and it will be a more suitable way of learning the product. Now of course I observe that a great many modules are not 6.x ready including CCK etc. I am happy to hack some bits of PHP etc to get what I need but don't wnat to spend days writing modules which are going to emerge anyway from more stable histories. Plus more seems to be happening than with other CMS products I could mention.
In the light of this is there an easy way of doing the following:
One of my site owners wants to be able to list things (these could be poems, books etc) and she wants to be able to have a page (or pages) on her site which effectively list the titles and/or teasers of these items much as the "promote to front page" stuff does. These subpages would ideally not be included in the main Navigation menu structures as they may contain a few dozen items.
So the menu structure should be something like:
I am thinking of taking one database with several linked tables, and defined relationships, and convert it to drupal. Is it possible? My first thought is that the CCK module would be the right choice, but I am not sure if Drupal would be the best tool to begin with -
Anyone here who has done anything like this?
I'd appreciate your insight.