This forum is for assistance with theme development.

Can't login into my user account anymore after adding my first theme

Hi guys,

as mentioned above, i can't login into the drupal backend. When I type www.mydomain.net/user i can see at the page title "user account", but I can not see the frontend for the login page instead I can still see me Homepage screen.

for the theme.info I have added:

limiting views by unique IP address

I think I am using Drupal 7. Using News Center theme at la1news.com. Anyway, I have unique IP addresses viewing articles I publish numerous times per minute. I think it is the writer and his or her friends refreshing the article over and over again to increase the number of views and make their way to the Most Viewed Stories Top Seven. How can I limit the number of views to once per IP address? I think there is a way but I forgot. I already know how to block IP addresses but that is time consuming.

Block Footer sizes

Hi,

Can you give me an idea which file controls the size of the footer please? Is it a file within the theme? Or a file that controls the placing of all of the contents on the page? Or is it within the block module files?

Thank you

THEME_preprocess_menu_link__main_menu not firing

My hook is not firing. It use to and now it doesnt at all. What could be the issue? I've tested nearly everything.

Need help with the styling comments

Hi!
I have in my template.php (custom theme) the following code to present a comments along with EDIT and DELETE Links:

Create a flag link in Twig. Php function I know, but howto in Twig?

I wanted to create a flag link in one of my template file. If in php, what I have to follow is as below:

flag_create_link('bookmarks', $node->nid);

What would be the right approach to do the same in D8 with twig?

Pages

Subscribe with RSS Subscribe to RSS - Theme development