Tumblr: Show page links in a menu? - themes

I have created a custom Tumblr theme and have a number of pages on my blog. I want to create a navigation menu near the top of my template but am unsure of how to do this.
I have added the lines:
{block:HasPages} {/block:HasPages}
{block:Pages} {/block:Pages}
But this has no effect.
Does anyone know the correct way of achieving this?

You should be able to do
{block:HasPages}
{block:Pages}
{Label}
{/block:Pages}
{/block:HasPages}

Related

Magento category view next and previous page toolbar

Whomever worked on the site previous me has somehow turned off the toolbar on the category view page. They had wanted to get rid of the filter by, and other options.
Now we have too many products to display them all on one page, so I went ahead and limited it to show 12 products, which it does. But now navigation shows up. I assume this is because of how they turned off the toolbar. Where do I find the code (using a theme) to control this toolbar? I am hoping they just commented out the code.
Magento 1.9.3.3
there is also a possibility to remove toolbar in layout xml.
most common place for this would be local.xml of the Theme
app/design/frontend/[theme]/layout/local.xml
can also be done in any other xml (like catalog.xml) in
app/design/frontend/[theme]/layout/
simply search for product_list_toolbar block and actions like remove or unsetChild
over ride the below given files into your theme
app/design/frontend/base/default/template/catalog/product/list.phtml
and you can see the code that call child html of tool bar
in line numbers 42 and 125 for bottom side
<?php echo $this->getToolbarHtml() ?>
so if you commented this line then corresponding tool bars not shows
or if you want to customize the tool bar part then you can edit in the file.
app/design/frontend/base/default/template/catalog/product/list/toolbar.phtml
this file is render for toolbar

Magento edit shopping cart title in header

I have a Magento webshop and in my header is standing: Shopping cart - Subtotaal winkelwagen
I was looking for a way to edit this text. I have looked into the .php files etc. but i didn't found anything there so far. I hope someone can tell me where i can edit this text.
The best way is as erwin_smit described it.
As an addition the fastest solution is by using the inline translation Tool under
System->Configuration->Developer->Inline Translation
After activation reload your Front-end and edit the dotted text.
That's probably somewhere in app/design/frontend/packagename/templatename/checkout/cart.
If not, try to switch on the template hints on.
You can also replace text using a translate file. Place a file called "translate.csv" in app/design/frontend/{packagename}/{templatename/locale/{languagecode}/
Hope this helps.

How to display the “Menu Title” in Joomla 2.5

I’m trying to display the menu title text (example “Home”) in the header area of my Joomla 2.5 website.
Joomla’s default (when activated) is to place it in the Component area.
I’m not sure the best way to accomplish this. By default Joomla wraps the menu title with an H1 tag but doesn’t wrap it with a div and class.
The ways I’ve thought might be best to do this are:
Somehow wrap all menu titles with a div and class so I could reposition them up into the header with css .
Add some php code to my template. Something like:
php
$menuTitle = $this->params->get(‘fieldNameOfMenuTitle’);
php
echo = $menuTitle;
Any ideas, suggestions, or answers would greatly appreciated
Thanks
Never found an exact answer but found a work around.
Used a modified version of the below demo/plug-in to create a custom field (named it: "Title that displays on the Web Page") in the articles menu. By default, the table that is created and displayed in the web page is in the component area and is wrapped in a w/ a class. Repositioned the with CSS up into the header/banner area.
http://docs.joomla.org/Adding_custom_fields_to_the_article_component

changing navigation in magento dynamically

I want to know that can i change the navigation menu dynamically,i am having two tabs on the basis of which i want to render the navigation menu.How can it be done
Thanks in advance
For usability reasons, the global navigation generally shouldn't change. Users will expect to see the same options available to them and will get confused (and leave) if they aren't.
Could you explain the requirement more?
EDIT:
Usability issues aside, try adding all necessary items to the top nav, then use Javascript to toggle between tabs. If you don't want to change the navigation PHTML files to add IDs to them, you can use the existing classes to target which nav items to show and which to hide.
Since Magento stores cannot function without JS anyway, you should be pretty safe with that solution. Preferably, you can change the top nav's template (I believe app/design/frontend/base/default/template/page/template/links.phtml in 1.4) to use IDs for those LIs as well, in which case you can target those instead.
Thanks,
Joe

Article not following site's layout (Joomla)

please go to www.espacioasir.com first and notice how the second article has been 'crushed' to the left - half of the article's normal width.
Anyway, I don't think I can explain much more, my question is very clear: Why is this happening? I do want mention that the content of the article itself has nothing to do (or maybe just a bit), as I tried changing it, and the text did expand to the article's normal width; however, the bar on top (with the article's title "Espacio Asir" and the PDF, print & mail icons was still only at half-width).
I also tried changing the site back to Joomla's default theme, but this did not help. I guess it could be a Joomla 1.5 bug, but I really don't think such obvious error would be present in this version.
I'd really appreciate any help in advance, and if I did not explain myself clear enough, please let me know and I'll add the info needed and post some screens.
Chris
It's a feature, not a bug. If you add a third article, the third one will be on the second row, to the right of the second article, also "crushed". -- Or "1/2 column" rather than full column width.
Information on overriding the default layout. For more help, ask in the Joomla forums.
This how Joomla shows a blog layout. Its working properly.
http://www.joomla4web.com/blog/Front-Page-Blog-Layout.html
If you want to change the layout type, you need to go to the Main Menu, and edit the Home menu item. You will see that its set to blog layout. You can click on the change type button to choose a different one.

Resources