Closed (works as designed)
Project:
Domain Blocks
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Nov 2009 at 21:32 UTC
Updated:
10 Nov 2009 at 14:04 UTC
Jump to comment: Most recent file
Comments
Comment #1
nonsieMost of my own blocks use php for visibility so I don't think the issue lies there.
First I need a bit more information. What information is stored for this block in domain_blocks table? The record should be something like:
module | delta | realm | domain_id
---------------------------------
block | 47 | domain_id | 119
Depending on how many domains you have enabled this block on there might be more than one entry.
Comment #2
matteoraggi commentedthe block is enabled into www.gmsedie.com and www.forniture-alberghiere.net only, the block content body is:
content of domain_blocks table is:
module delta realm domain_id
---------------------------------
locale 0 domain_id 13
Totally are 14 lines on this table, som are of civicrm and gallerix tha I'm not using, so maybe I could delete them?
Comment #3
nonsieIf your block is enabled on two domains there should be two records for this block.
However the record you posted cannot be related to the block content body posted since the block (module = locale) is created by locale module.
What is the url when you go to edit this block? Since you have custom content in it I'm assuming it's something like admin/build/block/configure/block/block_id. Now look up the record(s) in your domain_blocks table that have module set to block and delta to your block id.
When you go to edit this block are both domains checked?
Comment #4
matteoraggi commentedblock editing url:
http://www.forniture-alberghiere.net/admin/build/block/configure/block/13
I founded only on rcord with 13 number in it.
(sorry for mistake, this block was enabled also on a third site: www.egioiellerie.com now I have disabled it to meke for us more simple to find the problem)
I can'find number 13 into delta columns, so to be sure I atach here all the table.
Comment #5
nonsieActually you have it on two domains, the default domain and domain ID 11
('block', '13', 'domain_id', 0),
('block', '13', 'domain_id', 11)
When you go to edit the block how many domains are *actually* checked? It should be just those two domains.
Comment #6
matteoraggi commentedYEs only 2: www.forniture-alberghiere.net and www.gmsedie.com both in italian language, because link in block is in italian language.
Comment #7
nonsieFrom Domain Blocks point of view everything is correct. Please verify that your php visibility snippet is indeed correct, that the domain block is on actually uses the language you have chosen and is accessible for the user roles you have chosen.
Comment #8
matteoraggi commentedIt is accessible for all languages, and I have added it also on the thirs domain, because I founded the problem!
It is totally not in yor nice perfec moule, but it was coming from my little experience with domain access module, and missing a guide about domain block too maybe.
I was in bad way for guilty of my old php snippet, because it was forcing the block to be visible on all themes and this was confusing me, making me to think that one time applyed on a theme the module doman block it was workingon all themes, butin real it isn't and with right script I need to add block not onl per domain, but also pon the right theme. I suggest you to write also a little documentation about it, to not mak other people confused from the domain access commands: it' easy to think that block will appear on anothe site when checked also if it has a different theme, so or in UI or into documentation, I suggest to write an alert about it.
Thanks a lot for patience, problem solved! I hope you will confirm that it is.