Skip to content

компоненты

переделал я шапку полностью, убрал submenu оттуда, но мальенькая проблемка - компоненты... где можно подправить расположение ссылок на них ? мне их надо в несколько колонок сделать.....

Featured Replies

class_display.php:

 

Под заголовком

 //-----------------------------------------
	// Components link
	//--

И в

lib_blogfunctions.php

ищите.

  • Author

большое спасибо :D

только здесь нет никакого намёка на резделение компонентов.....

они все забиваются в массив и потом этот массив выводится через $components_link, только мне надо элементы массива загнать в таблицу, чтобы они показывались в несколько столбиков.....

может можно это сделать в скине без правки файлов? иначе скин неудобно будет переносить....

 

 

		if ( is_array( $this->ipsclass->cache['components'] ) and count( $this->ipsclass->cache['components'] ) )
	{
		foreach( $this->ipsclass->cache['components'] as $id => $data )
		{
			if ( $data['com_url_title'] AND $data['com_url_uri'] )
			{
				$data['com_url_uri']   = str_replace(  '{ipb.base_url}'				   , $this->ipsclass->base_url	, $data['com_url_uri'] );
				$data['com_url_title'] = preg_replace( '#{ipb.lang\[[\'"](.+?)[\'"]\]}#ie', "\$this->ipsclass->lang[\\1]", $data['com_url_title'] );

				$components_links .= $this->ipsclass->compiled_templates['skin_global']->global_board_header_component_link( $data['com_url_uri'],$data['com_url_title'], $data );
			}
		}
	}

В скине этого нет.

В подобных случаях я просто убираю components_links и пишу просто обычные ссылки на галерею, блоги и прочее и размещаю их как мне хочется.

  • Author

понятно, спасибо :) так и придётся сделать )

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.