Basic Drupal Modifications - drupal

On my Drupal site I am using a theme that puts a log-in prompt on the main page. I want to move it to a separate page. How do I do that? Also, once I move or remove it, How would I go about still logging on as the admin?
The home page is here http://www.arguemax.com/_drupal-7.26/
Update:
Right, the bottom right block. I solved the problem, as suggested, by removing the block.
The login form on the main page was a Block. You disabled it by going to
Administration >> Structure >> Blocks. There found a list with all
blocks for the current theme. I just moved the Login Block to the Disabled area at the bottom.
Now I have an issue with the Navigation block. But that is a subject for another discussion thread

The login prompt is a block. Disable it or configure it not to appear on the front page or to only appear on certain pages or whatever.
The URL to access blocks in D7 is: /admin/structure/block

Until you clarify the log-in prompt you talk about, I can already say several things:
No need to do something special to "move the log in functionnality to a separate page" because it will always be on that page: http://www.arguemax.com/_drupal-7.26/user. If you want it to be accessible through the menu, just go to admin>structure>menu and add a link into the right menu.
To log in as the admin, just go to http://www.arguemax.com/_drupal-7.26/user like any other user and use your admin username and password normally.
I'm waiting for your edit to complete my answer ;)

Related

WordPress: Not displaying changes of updated pages

I have update a page in my wordpress site using web admin back end, but what I see is that even if I update a page, it does not get updated online. Moreover, some of the content of the page which I see online /live are not actually texted in the area where we put the content.
On the right side navigator, in the page attribute area Parent has been set to No Parent, template --> Home Page.
Can you please let me know what could be the possible reason why the live content of the page is different from what I can see in the actual text area through web admin panel?
Also updating a page does not reflects on the page as well for that particular page.
First make sure you are editing the right page. Click in the frontend adminbar on edit instead of navigating in the backend through the pages list.
Secondly it can be any caching related issue. Check out if there are any plugins or settings for this.
Areas that are on the page but not editable via the content can be widgets or any kind of theme builder stuff. Check in the backend design->widgets.
The page hierarchy (parent: no parent) can be differ from the actually website navigation. Check out design->menus. It is possible to build other hierarchies in the menus.

Just HOW do I remove this pesky block

I've tried deleting blocks, disabling views - the lot! I just can't get this little block to go away!
A block called "Related Forum" is showing up on our knowledge base pages an example is found - here.
I'd like the whole Related Forum block removed from any /help* page:
If I login and hover my mouse over the block, no settings icon appears.
Any idea?
Navigate to the blocks admin page at "admin/structure/block".
There somewhere you should see your block (generated from a view) named something like "View: related forums".
Click configure and change this blocks visibility settings under the "pages" tab at the bottom of the configure page.
If this does not work, check that this block is not being specifically included in a template file.
Another thing that may be affecting it is the context module.

How to keep wordpress menu visible in all pages of wordpress plugin?

My plugin has a login page that is used to log in the authorized users, in this stage the left side menu of wordpress is visible. Once user is authorized I use the following code to redirect him to the secure page, but once user is redirected to the securepage.php the left side menu of WordPress gets disappeared.
How can I keep the left side menu visible in all pages of my plugin?
Once user is logged in I use the following code to redirect to a secure page
...
//if user is authorized redirects them to a securepage.
if(authorized())
{
$content = content_url();
$dir = $content. "/plugins/Galleries/securepage.php";
echo '<script type="text/javascript">window.location.href="'.$dir.'";</script>';
}
....
By left side menu I mean the following one
It looks like the problem is just that you are redirectring to a page that is not connected to the wp-admin functions.
i think that the best thing you can do is output to the same page different content when the user logs in.
you can do that in many ways.
the one i like the most is just using AJAX to run the query and change the content of the page.
the second thing i can suggest you can see here: WordPress Files
these are the wordpress system files (i have linked you to the admin files div).
by importing "wp-admin/menu.php' you should get the menu bar, but it would still not look as the actual admin area, so you would also need to import files like "wp-admin/admin-header.php" and more that you would like for getting all the functions of the admin area.
hope this helped you :)

Add portlets to Plone front page

I TRY to manage content on a Plone-based website, www.capital-tennis.org. I know ALMOST NOTHING about Plone itself.
I want to add 2 portlets to the front page (main page) of the website, one on the left (in the white blank space) and one on the right (to the right of the leagues/tournaments links). The new portlet on the left should mirror the 4 externally visible events in the EVENTS folder at the top of the front page, basically acting as a repeater to bring attention to those events on the front page. These 4 events on the front page should be in thumbnail view. The new portlet on the right should be an external link to a website.
I don't exactly know what kind of permissions I have. I know I can delete and add content to other pages. I assume I can do the same with the front page.
I don't know if I have to use the portlet management tools on the website or if I can write the HTML code to reverse engineer the creation of these 2 portlets.
When you reply, please treat me as an idiot, stepping me through every button press, etc. I would REALLY, REALLY appreciate your help.
Eric
If you have full admin rights you should see Manage portlets link somewhere on the front page after login.
Here you can add
Event portlets which automatically pulls published events on the site
Static text portlet where you can enter text and links with WYSIWYG editor
No need to program. No need to even write HTML.
Please check if you can get this done and if it looks you get there then ask additional information, if needed, in the question comments and I can retrofit the answer.

Drupal removes a page from menu links after page edit

This might be a really simple thing but i was unable to find an answer to it. The issue is this:
I'm using Drupal 7, updated from Drupal 6. I have main menu to which i've assigned some pages. Whenever i edit one of those pages Drupal, for some reason, removes it from the menu links. Anyone ever had the same problem or would anyone have any ideas as to why it behaves this way?
Ok, let's try to rule some things out. You said that you assigned this menu to some pages. If you are viewing the page in view mode, then click edit, then save, you will be taken back to the view of that node. If you are viewing all of your content in the admin, then click edit by the node, then click save, you will be taken back to the list of content in the admin. Take a look where you assigned this menu to, AND/OR where you did not assign it to. Make sure you are not looking at a page where the menu was not assigned to.
You only needed to enable it from the settings - 'Provide a menu link'.

Resources