Am doing a local website in drupal.
I have applied the theme 'Acquia Marina' (http://drupal.org/node/315555) to it.
Under Administer > Themes > Configure
I have unchecked "Enable or disable the submitted by Username on date text when displaying posts of the following type" for type 'Page' and the same is enabled for 'Story' (I don't have my own content types yet)
But I still get the submitted by Username on date text on the all the 'page's
I have tried, clearing performance cache, trying all(4) combinations on the checkboxes in question, but to no avail. But this setting works perfectly in the default theme.
I guess its some behaviour of the theme which I need to override. But have no clue.
Any suggestions?
Thanks.
If it would help to anyone, the authoring information can be disabled at each content type setting under: "admin/structure/types/manage/your_content_type" > Display setting and uncheck the "Display author and date information.". Another alternative is to set in node.tpl.php the condition "" to "".
go to index.php?q=admin/build/themes/settings/acquia_marina, > "Theme-specific settings" > "Acquia Marina settings" > expand "Node settings" (that's what i missed at first) > "Author & date", and disable authorname and date, either for all content types, or for specific ones.
Simply cut out the template.
<?php print $submitted; ?>
Related
I am beginner in OpenCart and customizing a theme, I want to change the target link of site Menu, for example If a blow Image is my menu:
I want to change target link of Bedroom menu to #cmsblock-22, I search in CMS panel of OpenCart but nothing found, could any one help me to change this link, Thanks.
Assuming that "Living Room", "Dinning Room" & "Bedroom" all are categories which listed on menu as shown in image.
You can change link of this by simply going to admin > catalog > category > edit category (which link you want to change) > click on data tab > scroll down to SEO URL input field and fill the input with "#cmsblock-22".
Above will work only if you have seo url enabled in admin settings. So, please make sure that you have enabled this setting.
If not,
Go to admin > system > setting > click edit > click server tab > check yes in front of Use SEO URLs.
You can simply change it from admin panel
In admin panel, go to Catalog->Category
Find for Bedroom and edit it.
Hopes this might help you
I need to brand the sharepoint search box to allow scopes. When using the default SearchBoxScriptWebPart, the scopes do show as required. However I need the scopes to show as text besides the dropdown arrow (the default SearchBoxScriptWebPart only shows an arrow which when clicked shows the dropdown with all the scopes). Then I tried using the SearchBoxEx which seems to be perfect for the job. However for some reason it is not loading the scopes I specified in the Site Settings > Search Settings.
Any ideas what I may be doing wrong for the SearchBoxEx?
This is the code I am using in the masterpage:
<SPSWC:SearchBoxEx id="SearchBox" runat="server" GoImageUrl="/_layouts/images/gosearch.gif" GoImageUrlRTL="/_layouts/images/gosearch.gif" DropDownMode="ShowDD_NoContextual" QueryPromptString="Start typing here" UseSiteDefaults="true" />
Note that I tried every possible combination of DropDownMode but still to no avail.
Thanks
I have my account entity linked to a custom entity called inspections, I only want these inspections to be created for accounts of a certain type. So when it isn't that type I want the left hand navigation to this entity to be hidden away. I've seen some code that says will hide it away, as long as you have the navID of the item.
I've had a crack at hiding it using what i thought could be the ID but it hasn't worked, so I'm wondering if anyone knows how to get this ID, or if there is another way to do this?
The code I'm using to hide the navigation is below:
var navitem = Xrm.Page.ui.navigation.items.get("nav_ts_inspection");
if (navitem != null)
{
navitem.setVisible(false);
}
Load the form
Press F12 to show IE Developer's Toolbar
From here you can use CTRL+F to search for the display name of the item you'd like to hide. This will give you a link that is generated. The Id of this element is what you need to use to show/hide the link.
As an example, you can see results of searching for 'Sub Accounts' on the Account screen for an installation I am working on at the moment. The Id can be seen and is 'navSubAct'
Changes by traversing DOM and manually hide an area is not officially supported.
Luckily if you are on CRM 2011, you can go to
Settings > Customization Or open the solution.
Select the entity > Forms. Inside the Form editor window, open the Form Properties of the entity.
Go to Display Tab and untick "Show navigation items" checkbox.
Finally do not forget to Publish your changes.
Use the relationshipname to hide folder in navigation like this:
If you have folder with the relationship name: ts_inspection
Use this for ID: navts_inspection
So otherwise the same as above, but lose the extra underscore (_) between nav and ts.
var navitem = Xrm.Page.ui.navigation.items.get("navts_inspection");
If you want to hide particular navigation section from the FORM then remove all the links from that section and publish it. That section will not be visible anymore.
If you want to just remove Navigation Pane from FORM, then go to 'Display' tab of form and mark as 'Do Not Show' and then publish it.
In my localhost drupal site I have created a content type "Scholarship". Now I need to add few more fields (checkboxes, radio etc) to it.
The problem is, I cannot see "Add new fields" option anywhere on the page. When I click the "Manage Fields" options I am redirected to the "content/node-type/scholarship/fields" and there is no option for adding new fields.
Any idea on what is causing this problem?
Thanks.
check $closure in the end of page.tpl.php and try clear cache once.
use cck module download and enable it then it show managefiled option for content type..
I need to register some MIME types in IIS.
I cant find any options on Installshield 2010 but (Component-any component- Advanced Settings-File types) tab has some MIME ##$#% thing. I dont know exactly it can really do what i want.
Does anyone know about this????
In Installshield you can select in the "Installation Designer" tab, On the tree (docked at the right) the "Organization" > "Components". There, i advise to pick one of the main components that are always installed.
There you have the second tree (with the Component list). Select "Advanced Settings" > "File types" > "Extensions". Right click and select "Add new extension". Add the extension without the dot.
Lets suppose your application opens *.bla and have the class id {3b001638-42be-4fa0-8440-0089d83ea7a7}
Add the extension "bla", create new MIME type under it. Add the class id {3b001638-42be-4fa0-8440-0089d83ea7a7}
Save the Installshield project, build and test it.