Hi i am using acquia merina theme for my site.

The theme path is like mysite/themes/acquia/acquia_merina
so how do i need to mention the theme directory to paste custom folder which contains ddblock themes, Right now i am using the path like: sites/all/themes/acquia_merina/custom this is not working!

Or do i need to set it like: sites/all/themes/acquia/acquia_merina/custom

please help me out i am struck there!

Comments

Anandyrh’s picture

Any idea how to do this?

anotherdave’s picture

Not sure I fully understand your question, but you could use

<?php print path_to_theme(); ?>

to print the path to your theme.
Does this help?

Dave

Anandyrh’s picture

Thanks, it is about to set file directory for a folder called 'custom'

anotherdave’s picture

So if in your page.tpl.php file, you have to link to a file in this folder, you could say:

<a href="<?php print path_to_theme();?>/custom/file1.xxx">

Or is it that you're enabling the file system to point to that folder?

You mentioned that your theme path is mysite/themes/acquia/acquia_merina but then you're pointing it to sites/all/themes/...

It looks like you're looking for the folder in the wrong place. You could try site/mysite/themes/acquia/acquia_merina/custom

What exactly are you trying to do?

Dave

Anandyrh’s picture

let me explain celarly, i am using a module called Dynamic display block, while installing this module one of the module tutorial (http://ddblock.myalbums.biz/node/768) says:

Copy the custom directory with all sub directories to the theme directory of the theme you use,which is probably at sites/all/themes/[YOUR_THEME_NAME]/. If you use the garland theme this would be sites/all/themes/garland/.

i am using a theme called acquia_marina, acquia_marina is a sub directory of acquia, So how do i set path to custom directory?

Anandyrh’s picture

if i use greenNblack theme i can see whole module working 100% good, But the thing is i am using Acquia merina theme and have allready built my site almost done 90%, past three days i am struck with this module now! just need to know where do i need to paste custom folder if i use Aquia merina theme.

anotherdave’s picture

and is your actual theme directory (Acquia Merina) located at:

  1. [SITE ROOT]/themes/acquia/acquia_merina

    or
  2. [SITE ROOT]/sites/all/themes/acquia/acquia_merina

    or
  3. [SITE ROOT]/sites/[YOURSITE.com]/themes/acquia/acquia_merina

You could install your theme in any of those three places & it would work. Standard practice is to put it under /sites/all/themes/ (option 2), but where your theme is is probably affecting the module. Judging by what you've said in the first post, your theme is set up like #1 above, but you've configured the module as if for #2 above.

I'm not sure, to be honest though - I'm not really familiar with the module.

Dave

ppblaauw’s picture

Title: How to mention path for custom folder? i am using acquia_merina theme » Where to put custom folder with ddblock themes?
Assigned: Anandyrh » Unassigned
Status: Active » Postponed (maintainer needs more info)

I changed the issue title, to be more useful for other users.
If you assign the issue to yourself, it means you are solving the issue and others don't have to do anything. Changed assigned to: to Unassign.

The correct position for your customized drupal theme should be sites/all/themes
Read the README.txt at sites/all why you should do this.

You can move the whole theme from

mysite/themes/

to

sites/all/themes

After changing the position clear the cache at: Administer > Site configuration > Performance to let drupal find the new location.

After that you need to add the custom folder with the ddblock themes to:

../acquia_merina/

Hope this helps you further, please let me know.

Anandyrh’s picture

Thanks ppblaauw!

I have changed theme folder path to [siteroot]/sites/all/themes/acquia/acquia_marina and pasted 'custom' folder in to acquia_marina it worked. :-)

Thanks for developing such a good slideshow module.

Anandyrh’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)
prasannah.ganeshan’s picture

this was really useful for me too.

Thanks
-prasannah

scottybruce’s picture

Big help for me too. Thanks!

lindudu0618’s picture

good idea