HI,

I'm using Four seasons and i can upload files when I'm logged into Admin, and they appear loaded nd when i click on the file it does load. What do i have to do to get the files appearing when I'm logged out of the site. Its a bit pointless uploading files if my viewers can't see them.

PS also am i posting this in the right place??

gigfish

Comments

WorldFallz’s picture

What do i have to do to get the files appearing when I'm logged out of the site. Its a bit pointless uploading files if my viewers can't see them

One thing would be to enable permissions for anonymous users (not logged in) to "view uploaded files" at admin/user/permissions.

===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime."
-- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz

gigfish’s picture

Thnks, yes i understand search, but i must admit, drupals search isnt that easy a tool to navigate for non tech not it geek guys like me...

thanks Worldfallz

WorldFallz’s picture

drupals search isnt that easy a tool to navigate for non tech not it geek guys like me

Absolutely-- I know exactly what you mean. Using search effectively requires the proper search terms, so if you don't know the technical terms, you probably won't have much success. That's why I usually post the terms I used when I find an answer-- the idea is to hopefully help people learn how to search effectively. Nearly everything you could ever want to know is right here on d.o. somewhere-- the key is being able to find it.

===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime."
-- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz

gigfish’s picture

ive been searching for this for a few hours tonight. re slogan and four seasons and both..

as u know im using four seasons and drupal 6. my site slogan only appears on the home page, how can i get ot to appear on every page///

ps what am i meant to be searching for?

gigfish

WorldFallz’s picture

Ok-- this is what I just did:

First, I went to the issues queue for the theme, clicked advanced search and searched for the word "slogan". There's were a couple of links, nothing relevant.

Second, I searched for "four seasons slogan" in the d.o. search box. Nothing there.

Third, I went to cvs.drupal.org to look at the code for the page.tpl.php file for the fourseasons theme (which is usually where the slogan gets added). I found it toward the top 1/2 of the file-- the code seems fine, nothing fancy.

Fourth, I went to the site demo (on the fourseasons project page) and made sure that the slogan appears on all the pages in the demo. It does.

So-- my question is: did you perhaps confuse the "Mission" (which only appears on the front page in the colored header block) and the Slogan (which appears on every page just underneath the name of your site)?

If not, then you should probably file a support request in the issue queue.

===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime."
-- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz

gigfish’s picture

i do apologize yes i meant mission got the two mixed up it seems, (im a bit overwhelmed here) - i will delve as per the above.

it is truly amazing this drupal - and more so that there are poeple like u there to help..

there is a beer here for u anytime or a good red if thats your preferred..

gigfish

WorldFallz’s picture

No worries-- it is definitely overwhelming when you first start. Take heart though, (and this is coming from a relative newbie), it WILL make sense. Without exception, everything I found to be overwhelming or confusing initially, I later on found to make perfect sense-- once I understood it.

Drupal is quite elegantly designed-- that's one of the reasons I think some of the bigger corporate users have stayed with it. It take some time to grok, but once you do you'll think it was worth it.

Oh and I'm a guiness drinker, lol.

===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime."
-- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz

gigfish’s picture

plenty on tap here!!

well ive posted an issue on other one which was unresolved re th mission - i got to the cvs.drupal.org to look at the code for the page.tpl.php but from there was totally confused... can u help?

ps is it worth me learning xhtml or php..?

WorldFallz’s picture

The mission only appearing on the front is probably by design-- I can't think of any themes off hand that have it anywhere BUT the front page. Typing "mission every page" into the d.o. search box yielded a couple of links-- I clicked on the newest one and got How can I show the mission statement on every page? which describes exactly what you want and how to achieve it.

ps is it worth me learning xhtml or php..?

As you can see from the solution to your problem above (which involves altering the html and php I would say: Absolutely-- at least at a basic level. You don't need it to use drupal, but if you want to get into fine tuning a theme or adapting modules you'll need it. I've been doing html for years, however I'm new to php-- and I found it extremely easy to learn.

if you need help incorporating the solution into your theme-- post back and ill take a look.

===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime."
-- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz

gigfish’s picture

Yes i need a little help i dod try to install the code metioned from your link but it didnt worm my site juts went to a blank white page..

please help if u can..

kindest

WorldFallz’s picture

did you customize the page.tpl.php for four seasons at all? If so, pls post it and I'll take a look. If not, just let me know and ill download a copy from cvs and take a look.

===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime."
-- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz

gigfish’s picture

i have only edited the style.css and template.php,, not the above file

gigfish

WorldFallz’s picture

Ok, try this:

In the template.php. find this:

/**
 * Override or insert PHPTemplate variables into the templates.
 */
function phptemplate_preprocess_page(&$vars) {
  $vars['tabs2'] = menu_secondary_local_tasks();

  // Hook into color.module
  if (module_exists('color')) {
    _color_page_alter($vars);
  }
}

and replace it with:

/**
 * Override or insert PHPTemplate variables into the templates.
 */
function phptemplate_preprocess_page(&$vars) {
  $vars['tabs2'] = menu_secondary_local_tasks();

  // Hook into color.module
  if (module_exists('color')) {
    _color_page_alter($vars);
  }
  
  // Make mission available on every page
  $vars['custom_mission'] = variable_get('site_mission', '');
  
}

Then in your page.tpl.php find:

  <div id="header-image">
    <?php
      if (!empty($mission)) {
        print '<div id="site-mission">'.$mission.'</div>';
      }
    ?>
  </div> 

and replace it with:

<div id="header-image">
    <?php print '<div id="site-mission">'.$custom_mission.'</div>'; ?>
</div>

I didnt have access to a d6 with fourseasons on it to test-- post back and let me know if it works.

===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime."
-- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz

gigfish’s picture

Worldfallz - that is awesome.. thanks

you are a real trooper.. it worked like a treat...

WorldFallz’s picture

Excellent, you're welcome.

===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime."
-- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz