Joomla not showing articles - css

For reference, This is what the site looks like,
here is the index.php
and
here is the current template.css being used.
My problems are as follow:
Using the first menu, [Quem Somos] as example, I've created a category and under it I've put some articles. Using the default mod_mainmenu, how would I make it display a dropdown menu?
I can't do it even if the primary menu items are created as lists of categories or, when the submenus are linked directly to articles and then these submenus are linked to a primary menu, the module just shows that one level pill menu shown. Do i need an extra module or something? am meddling with swmenufree but am guessing something basic as a dropdown menu fed by a category/section is something that should be built in.
In my quest for a 3 column template I've most definitively destroyed something and now whenever i click any link (all links have articles to back them up) the site just shows the same main page. clicking and typing (c&p actually) the entire URL in the address bar gets me nowhere also. The URL it shows is correct but what i keep seeing is the landing page

Looks like you're missing the following:
<jdoc:include type="component" />
Place this where you want your content to appear (your middle column)

Related

How do I add a module to a block/region in drupal 7?

How do I add a module to a block/region in Drupal 7?
I am starting to format my Drupal 7 site to look like I want it do.
I have an empty block on the home page on the right side that I want to put a module in. I am thinking about a nice accordion menu or tree menu. How do I add a module to a block in Drupal 7?
I am new to Drupal and so I am probably confusing terminologies here.
If I click on Structure -> Blocks in the admin panel I am taken to a page where blocks are assigned to regions
If I click on the hyperlink to "Demonstrate block regions (Porto)", I am shown a page that represents regions (I guess) on the page as yellow fields/blocks and the name assigned to each of them. This is what I am referring to as "blocks" and I suppose this is a misnomer.
Earlier, I was trying to find a way of changing the width of a of a MD Slider and no matter what I tried in the configuration of this (Module?) nothing seemed to work. But then I noticed that could assign this to the "Content" area on the page and put something else in the "Right Sidebar" and this trick managed to change the layout of the page closer to what I was looking for like this:
and the result of my efforts is a home page that looks like this:
Which is getting close to how I want the home page to be arranged. Here, as an example, this is the previous layout I had before switching to the current theme:
Notice the "Navagation" UI control on the right side. This is what I am talking about here. If I add a module, like a tree or accordian, how do I get this to be put in the Blocks page such that it can be added to the region I want, which is the "Right Sidebar"?

Create child page template based off book parent page in Drupal 7

I'm still learning Drupal, but I'm completely stuck at this point. I need to create a template for the child pages based off the navigation link clicked.
This grid is a Bootstrap thumbnail grid serving as a navigation menu. I want to know how to create a template page based off the parent navigation menu item. Each page will have the same format based off this menu.
It's unclear what you're trying to achieve, but as far as I can tell, you might need to start by trying to identify what those pages are and what parts they consist of (views, blocks/regions, nodes etc.) and then theme accordingly. Take a look at a diagram here https://www.drupal.org/docs/7/theming/overview-of-theme-files to get a better idea of how this all works together.
Once you know what you're dealing with, look for customization options. It can be anything from theme settings to views configuration, working with css, blocks, custom page/node templates (see here https://www.drupal.org/docs/7/theming/template-theme-hook-suggestions) etc.
If you need more info - please provide more detail, like links/screenshots of the pages that you need new templates for as well as explanation of how those 'templates' will need to look like
So basically once you choose The book menu item "Topics", you arrive to the topics page with the navigation menu (shown in the screen shot above).
When you choose one of the images in the thumbnail gallery (first screen shot), you are supposed to arrive to the child page for that menu item chosen (sub book page). All the sub book pages (are supposed to have the same format displayed in this basic sketch screen shot displayed below).
So for that, I am required to make a template for these sub book pages.
I just realized too that these sub pages would probably share the same parent of topic, so most likely, I have to create a template based off the action that "topics" = parent page ?
Screen shot of sub child page for topic chosen/ sub book page
thank you for your patience guys!
Okay, after working with my new partner, we discussed trying to create a view that will have headers:
<h1>**Topic Overview**</h1>
[user content input under title] <br><br>
<h1>**News and Initiatives**</h1>
[user content input under title] <br><br>
<h1>**Resources**</h1>
[displayed depending on tag chosen to display]
We just cant figure out how do we keep these headers constant, but allow the content to change, or be changed for every sub nav item (child page from nav menu above).

How do I get blocks to display in Drupal 7?

I'm sure this is a very simple question, but I'm new to Drupal and haven't found a solution by the traditional methods of Googling and searching the Drupal home site, so please indulge me.
I've just installed Drupal 7 and am using the Bartik theme.
When I click Structure > Blocks there are a bunch of blocks at the bottom of the page which you can drag to a position corresponding to a region of the page template (Footer, Sidebar 1 etc).
However, when I assign a block to a region, whether by dragging, using the dropdown menu or using the configuration menu against the block, it does not save the assignation.
The block does not appear in the assigned region and when I return to the blocks page, those blocks are back at the bottom of the page, not assigned to a region.
The only blocks that I can make stick are ones that I create myself.
Can anyone point me in the right direction for a solution?
Thank you.
You wrote:
However, when I assign a block to a region, whether by dragging, using
the dropdown menu or using the configuration menu against the block,
it does not save the assignation.
It sounds as if you didn't click "save blocks" after assigning a block to a region - did you? There is a button on the bottom of the page - just below the blocks.

Is it possible to link to the same page from wordpress page menu?

I have a big one page wordpress site and a menu created from wordpress admin pages panel. I added everywhere in my main page such links like <A NAME="gohere"> and similar. Now I need to add href's to the page menu name's like <a href="#gohere"> Actually I do not know is it possible to do this from the wordpress admin page's menu or maybe anybody know where these pages are stored so that I could add the links manually in the file's. Thanks!
Tried plugin "Page Links to" and added something like <A NAME="gohere"> as a link in where, but unfortunately plugin do not understand this,
Regards,
You shouldn't use the name attribute of the a element. Instead, assign ID values to the elements of your page, for instance:
Link to foo
<div id="foo">
<!-- Your foo content goes here -->
</div>
For your question: You can manually add links to your WordPress menu, entering custom values as the href attribute. To add a link, enter #foo in the URL field of the custom link in the menu admin section.
Are you using the WordPress's built in menu manager? (Appearance -> Menus)
If so, then yes it should be fairly simple.
First you need to mark the areas within the page you want to link to - setting an ID to the element is enough. So if you want the browser to scroll to the top of the latest posts when a link is clicked, for example, you need to add an ID to the tag that contains the latest posts. Then give it a unique name (this is important). So something like id="latest_posts_area" should do it. Be warned though, you may need to edit the template files to do this, so ensure you have taken a backup of your theme just in case you make any mistakes.
So, if you have:
<div class="latest_posts">
You would edit it to be:
<div class="latest_posts" id="latest_posts_area">
Then, in the admin menu, when adding/editing a link, you simply set the URl as #latest_posts_area - then on every page that link is visible, clicking it will scroll the users browser to the to the top of the tag you added the ID to.

WordPress 3 - Problem with menu highlighting

I'm building a site that has a two level menu created with the admin Menu tool. The menu contains links to both Pages and Category lists. It doesn't link directly to Posts. The problem is that when you drill down into a Category list and click to view a single post in that Category, the menu highlighting gets it wrong.
I've tested on a new install of WP3, set up a simple test site with a few pages and posts in 3 categories. All I've changed in the theme is the style.css to highlight the whole path.
http://danwashere.com/wp_dev/
Here's a direct link to view a categorised post here:
http://danwashere.com/wp_dev/2011/07/28/blue-rocks/
Everything is a page, except with the section "Advice Categories" - all those sub items are category lists containing categorised posts - each post is only categorised with a single category. The menu structure is defined entirely in the Menu settings.
On that Blue Rocks page, the menu should be highlighted like this: Advice Categories -> Rocks, but it's highlighting the Sample Page item. And if you rollover the "Advice Categories" menu, you'll see that it is correctly highlighting the "Rocks" menu item.
It seems to me that WP is applying the 'current-post-parent' class to the wrong top menu item, but maybe I'm missing something?
// Edit, rewrite to make it clearer.
It seems as though were both having very similar issues. - Trouble highlighting correct menu parent with wp_nav_menu classes while viewing “single posts”
Im not using categories as links in my menu but I use them to filter content to each page via query_posts...if you examine the output from Wordpress you'll notice its actually placing the current page class onto the incorrect li tag when viewing a single post - Is this happening to you as well?

Resources