This forum is for assistance with theme development.

Q: You are not authorized to access this page

I do not know why I keep getting this message when I am viewing my site as an "anonymous" user. I can not view any pages.

It is really weird. If I go into access control and then give anonymous user permissions to "administer nodes" they can then view everything. But I don't want them to be able to edit content.

Does anybody know how I can fix this? I've been messing around with my permissions for a long time and can't figure this out.

Thanks!

Adding Extra Configuration Options for a Theme

I'm doing a PHPTemplate theme, and I was wondering if there was any way to add your own options to admin->themes->configure->*theme_name_here*?

My theme can support multiple colors, and instead of including 5 themes, and limiting it to that, I'd like to provide the user text boxes to change the colors manually, and maybe provide some suggestions.

I looked at Making additional variable availables to your templates, but I don't think that's what I'm looking for.

Thanks in advance.

public/private/protected

hi,

every time when i install a them i get these 2 errors,

strict warning: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\xampp\htdocs\drupal\themes\engines\phptemplate\template.php on line 27.

strict warning: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\xampp\htdocs\drupal\themes\engines\phptemplate\template.php on line 28.

When i open the file this is line 27 and 28:

* @param $hook
* The name of the theme function being executed

Bleeding edge theme development - $directory or path_to_theme()

I have had a user submit a patch to the Meta theme and I am unsure what to do. Here are two articles I just read about the situation of using $directory or path_to_them()

If anyone has any pointers, I would greatly appreciate it. The "Converting 4.6 themes to 4.7" mentioned that base href head tag is dead, but I do see it in my 4.7b4 version and I'm not sure what the plan is. Will it be removed on the next build? Should I use $directory and not path_to_theme()

HTMLArea broken in Civicspace

Hi all

I have been looking at basing my custom theme on the CivicSpace themes but it seems HTMLArea is broken in all the derivitives. I do not want to use TinyMCE because I like the image uploading method of HTMLArea. Anyway, has anyone managed to get HTMLArea to display correctly/at all in CivicSpace based themes?

Cheers

help understanding node_teaser and check_output

I have a question regarding formatting teasers via phptemplate theme files. (v 4.6.5)
I think i get it but would like confirmation.

I am currently using for example:

node_teaser(check_output($node->flexinode_4))

In my tests removing check_output and changing the call as follows produces the same visual results as above.

Pages

Subscribe with RSS Subscribe to RSS - Theme development