Выдели фрагмент текста с ошибкой или неточностью и нажми Ctrl+Enter!
Выдели фрагмент текста с ошибкой или неточностью и нажми Ctrl+Enter!
Joomla может создавать и синтаксически разбирать
Хорошим примером этого является статья «Добро пожаловать в Joomla». Первая ссылка создана без mod_rewrite, а вторая с mod_rewrite:
Первым шагом является формирование так называемого псевдонима. Псевдоним используется в URL вместо заголовка «(заголовок это текст, который вы хотите видеть в URL). Псевдоним должен быть
Псевдоним может быть определен самим пользователем, но вы должны обеспечить, чтобы были соблюдены вышеуказанные требования к безопасному URL. Хороший способ сделать это заключается в использовании метода JTable:check() в процессе сохранения. Вы можете посмотреть на этот пример кода:
Если поле псевдонима будет пусто, то заголовок будет использоваться как псевдоним. Тогда псевдоним будет сделан методом JFilterOutput:stringURLSafe().
Продолжая тот же самый пример, «строка» — «1-welcome-to-joomla» состоит из двух частей. Первая часть — идентификатор статьи, и вторая — псевдоним. Они отделены дефисом. Эти два элемента были объединены во время запроса к базе данных в модели:
После этого шага строка используется вместо идентификатора.
Метод JRoute: _()
преобразует внутренние ссылки Joomla в
JRoute: _($url, $xhtml = true, $ssl = 0);
Где:
$url
— абсолютный или относительной внутренний URL Joomla.$xhtml
— булево значение, которое указывает, должен ли вывод быть в XHTML. Этот параметр не обязательный, и равен true по умолчанию.$ssl
— целое число, которое определяет должен ли URI быть безопасным.Наиболее важным параметром является $url
.
Пример вызова этого метода:
$row->slug
это значение, полученное сочетанием id и псевдонима во втором шаге.
Еще одно преимущество использования JRoute состоит в том, что теперь маршрутизатор обрабатывает $option (имя компонента) и $Itemid (id пункта меню). Компонент сам по себе не должен знать своё имя ($option) или id активного пункта меню ($Itemid), как это было в предыдущей версии Joomla.
Очень важно, что вы думаете по поводу последовательности в URL параметра в этой стадии. Это будет более понятно, когда мы глубже взглянем на router.php в следующем разделе.
Процесс создания JRouter делится на два этапа:
У нас будут две функции в router.php. Одна отвечает за создание URL, и другая за его синтаксический разбор. В следующих примерах, очень основном и более продвинутом, мы предполагаем, что у нас есть три представления, на которые могут вести ссылки. Первым представлением является краткий обзор категорий (view=categories), вторым является единственная категория (view=category), и третьей является единственная статья (view=article).
Файл router.php должен быть в области сайта вашего компонента. Это не используется на страницах администрации / внутренних страницах. Не забывайте добавлять router.php к своей инсталляции XML в. папке сайта.
Этот простой пример показывает основы работы маршрутизатора вашего компонента.
JRouter
передает массив $query в функцию [componentname]BuildRoute
. Эта функция добавит соответствующие части массива массиву $segments в правильном порядке и возвратит должным образом полученный массив.
Элементы массива $query должны быть удалены, иначе JRouter
добавит их в URL в. виде строки запроса (
Следующая функция в router.php разбирает URL:
Что происходит здесь? В функции [componentname]BuildRoute
мы упорядочили элементы в массив в определенной последовательности. Это означает, что в этом примере представление является первым, catid является вторым, и идентификатор третьим в массиве. Читая $segments[0]
, мы получаем название представления. Мы устанавливаем правильное представление и/или идентификатор в зависимости от его значения, и мы возвращаем массив $vars
в JRouter. $vars
должен быть ассоциативным массивом, подобным массиву, который передали к методу BuildRoute
.
Вышеупомянутый пример router.php очень простой способ генерировать sef URL, он должен показать принцип работы маршрутизатора.
Сгенерированный URL в. этом примере содержит название представления и не отражает иерархию информационного наполнения:
http://www.example.com/[псевдоним_пункта_меню]/[представление]/[slug]
В следующем примере мы попытаемся избавиться от потребности в представлении, и попытаемся отразить в URL текущий уровень иерархии.
Цель состоит в том, что URL должен выглядеть следующим образом:
http://www.example.com/[псевдоним пункта меню]/[категория]/[статья]
http://www.example.com/[псевдоним пункта меню]/[категория]
http://www.example.com/[псевдоним пункта меню]
Давайте представим, что мы сделали шаг 1 и 2, также для данной категории.
Ссылка на статьи будет выглядеть следующим образом:
И ссылка на категорию будет выглядеть так:
Соответствующий router.php
:
Разница заключается в том, что сейчас мы не добавляем имя представления к массиву $segments
. Мы JRouter
добавил бы его в качестве части URL в. строке запроса. Еще одним нововведением является параметр catid
, который мы добавляем в массив $segments
.
Вы видите, что у этой функции ParseRoute
в коде есть много отличий по сравнению с предыдущей. Причина для этого проста. У нас нет названия представления в массиве $segments, и мы должны определить его другим способом.
Мы должны узнать, в каком уровне иерархии мы находимся, получая корневой элемент. Мы делаем это, обращаясь к названию представления активного пункта меню:
Также мы должны знать число элементов в массиве $segments:
Имея эту информацию мы можем правильно установить представление для всех возможных трех случаев:
$segments
есть два элемента ($catid и $id), мы знаем, что должны анализировать ссылку на статью.$id
, мы знаем что должны анализировать ссылку на категорию.$segments
— идентификатор для статьи.Результат всего этого кода — хороший и человеческий читаемый URL.
Спасибо большое за статью! Очень полезно и познавательно, особенно понравилось объяснение про разницу функций ParseRoute в разных вариантах. Добавил в избранное ;)
Огромное спасибо автору - действительно очень доступно, по делу и самое главное, то что я искала!
Зачитав статью раз на 5 не пойму как работает router.php.
Вы многое не объясняете и перескакиваете. Ничего не понятно!!!!
Может я не понимаю, но в заголовке статьи написано: Маршрутизация в компоненте. Где об этом рассказывают??
Вот у меня есть компонент. В нём есть разные файлы. И как мне на них смаршрутизировать ссылку?? А не на главный файл компонента??
почитайте про идеологию ru.wikipedia.org/wiki/Model-View-Controller
точка входа всегда одна - это контроллер
делаются две функции, одна собирает ссылку в sef, другая разбирает её из sef - в этом основной смысл роутера (маршрутизации)
вход всегда происходит на один и тот же файл /components/com_mycomp/mycomp.php в котором должен создаться контроллер (наследник JController) и выполниться.
Так как мне открыть через ЧПУ, СЕФ или контроллеры простой файлик с расширением php. Что бы в нём НЕ было меню и шаблонов джумлы. КАК????? Я уже всё перерыл...
Мне кажется в учебниках по джумле это должно быть на первой странице! Иначе не понятно, как вообще можно, что-то допиливать в джумле.
Сделайте пустой шаблон или добавьте параметр "?tmpl=raw" (или "?tmpl=component") или вызовите jexit() в методе контроллера
PS sef тут совсем не причем ;)
Чувствую себя недочеловеком. Что за параметр? Я не понимаю вас. Вы объясняете со средины.
Давайте по порядку. У меня уже сейчас есть свой шаблон.
называется tranz. В нём есть файл tranz.php и роутер - router.php
Роутер билдит ссылки и парсит их и передаёт tranz.php.
Далее у меня есть второй файл - prodaja.php - этот файл мне надо открыть посередине экрана в маленьком окошке, что бы не было меню и.т.д., а только мой код. Куда мне этот файл положить и какие параметры прописать к компоненту, что бы напрямую обратиться к prodaja.php??
Создание второго компонента не предлагать. Надо в одном.
Судя по описанию, вы превратили свой сайд в одну большую кашу кода.
Роутер никак не может быть в шаблоне или это большая ошибка!
Параметр я предложил вам добавлять в ссылку, например так joomla-book.ru/development/classes/jroute-creating-sef-links-routing-component?tmpl=raw - загрузиться текущая страница, только компонент. Это стандартная возможность Joomla.
Зачем отдельный компонент, сделайте в одном два контроллера, каждый будет отвечать за свое (prodaja, tranz). Контроллер пусть выбирается внешним параметром.
PS очень сложно из вас получать всю информацию, чтобы верно ответить на вопрос ;)
PSS Всеж почитайте о MVC и посмотрите как такое сделано например в com_users.
Нет, нет. Никакой каши. У меня всё по полочкам.
Вы не верно меня поняли наверное...Не правильно написал - у меня свой не шаблон, а компонент tranz. И вообще сайт-то у меня большой...целый портал.
Версия джумлы 1.7.3
Как можно создать два контроллера для одного компонента??
И что-то ?tmpl=raw у меня не работает. Добавляю в конец любой ссылки - открывается чистая - белая страница.
Посмотрите как сделано в com_users
/components/com_users/users.php
/components/com_users/controllers/*
С контроллерами разобрался установив чистый шаблон. И потом посмотрев на users. Но:
?tmpl=component работает, но не до конца!
При открытии остаётся стиль. А в стиле проблема - ширина окна 1000 пикселей фиксированная. И получается что ширина окна 1000 пикселей.
Вопрос!: как отключить цепляние css??? и различных стилей.
Не забывайте joomla 1.7. Может raw где надо использовать? Куда копать???
Вы можете создать в своем шаблоне любой подшаблон, подобно Вашему index.php, только определив в нем иную, нужную вам разметку. Таким образом вы можете вывести компонетт или(и) модуль в нужной разметке или вовсе без нее. Чтобы не грузился стиль - не подключайте стандартную шапку в <head></head>, а вручную пропишите то что Вам нужно. Создайте ваш_подшаблон.php и поместите в папку шаблона. Обращайтесь к нему с помощью параметра в ссылке ?tmpl=ваш_подшаблон
"После этого шага строка используется вместо иденитификатора."
Очень вразумительно объяснено. Точно, именно после этого шага все заработает как пологен. И пусть даже этот шаг будет сделан непонятно где и как.
немного разобрался. Оказывается, нужно сформировать ссылку вида "&параметр=значение:алиас" после чего, роутер(который здесь оформлен) будет разбирать этот параметр и выделять алиас, который будет записан в массив $segments из которого формируется строка.
Блять, обоснуйте мне этот геморой пожалуйста. Почему нельзя в роутере получать алиас?
Спасибо за статью очень полезно. Есть такой компонент easydiscuss v.2.0.3945 так вот проблемка с чпу. Я создаю в нем категорию (категория) и алиас ( kategoriya). Мне выдает такую ссылку mysite.ru/2012-12-06-15-34-53 то есть вместо алиаса дата создания/редактиования категории' когда мне нужно mysite.ru/kategoriya. Где может крыться помеха, подскажите как решить? Когда и название и алиас прописаны латиицей проблем нет, но тогда и название каттегории на англицйском'а надо на русском.
Огромное спасибо, хоть и с трудом но разобралась.
Извините друзья может кто сможет помочь разобраться в ошибке! К примеру есть страница site.com.ua/divany.html рабочий урл в котором всё в порядке..
Проблема в том что если в строку ввести урл типа: site.com.ua/ несушщесвующая категория/divany.html то всё равно открывается эта же страница.
Это очень мешает при смене структуры, старые урлы остаются в индексе так как нет 404. постоянно запрещать в роботе тоже не выход. С этой проблемой можно попасть под фильтр.
Я так понимаю это ошибка Роутера?
Подскажите пожалуйста что делать, как это исправить?
Использую Joomla 2.5.24. и компонент Joomshopping.
Thanks for sharing your thoughts about offshore company.
Regards
Milfs, lesbians or private amateurs and porn stars could be found in dozens
of free porn motion pictures in more than forty classes.
Get even more out of Pichunter with a free member account;
When you login , an entire new world of choices opens
up for you.
Добрый день, а в каком скрипте и папке искать JTable:check() ?
Hello there! I could have sworn I've visited this website before but
after looking at a few of the posts I realizd it's new
to me. Nonetheless, I'm definitely pleased I found it and I'll be bookmarking iit and checkng back often!
Hurrah, that's what I was seeking for, what a information! existing here at this
blog, thanks admin of this website.
Good information. Lucky me I found your website by
chance (stumbleupon). I have book marked it for later!
obviiously like yopur web site but you have to
take a look at the spelling on several of your posts.
Many of them are rife with spelling issues and I to find it very trpublesome to
inform the reality on the other hand I will suhrely come back again.
I think the admin of this website is in fact working hard in support of his web page, because here every stuff
is quality based data.
На праздниках Я сорвал большой куш в этом клубе
Fine way of telling, and pleasant post to get data on the topic of
my presentation subject, which i am going to present in college.
I was curious if you ever thought of changing
the layout of your blog? Its very well written;
I love what youve got to say. But maybe you could a little more in the way of content so people
could connect with it better. Youve got an awful lot of text for only having one or 2 images.
Maybe you could space it out better?
Everyone loves what you guys are up too. Such clever
work and reporting! Keep up the amazing works guys I've included you guys to our blogroll.
I'll immediately clutch your rss as I can't in finding your e-mail subscription link or newsletter service.
Do you've any? Please allow me recognise so that I may just subscribe.
Thanks.
Undeniably believe that which you stated. Your favorite reason seemed to be on the
net the simplest thing to be aware of. I say to you, I certainly get irked while people think about worries
that they just do not know about. You managed to hit the nail upon the top as
well as defined out the whole thing without having side-effects
, people could take a signal. Will probably be back
to get more. Thanks
It's an awesome post in favor of all the internet visitors; they will get benefit from it I am sure.
Prevent ill health - Modern medicine only concentrates on treating us while we are ill.
Taking care of your teeth is surely an ongoing process and
regular check-ups and cleaning on the dentist minimizes any long-term problems.
Make jam and jellies using high sugar concentration to
preserve fruit.
how to secure wifi - https://v.gd/mysteries_of_mount_kailash
hello!,I love your writing very so much! share we keep in touch more about your article on AOL?
I need an expert in this house to resolve my problem. Maybe that is you!
Taking a look ahead to peer you.
Its like you learn my thoughts! You appear to know a lot
about this, like you wrote the guide in it or something.
I think that you can do with a few percent to force the
message home a bit, however instead of that, that is magnificent blog.
A great read. I will certainly be back.
Thanks for sharing your thoughts on minecraft. Regards
Have you ever considered writing an ebook or guest authoring
on other sites? I have a blog centered on the same information you discuss
and would really like to have you share some stories/information. I
know my viewers would enjoy your work. If you are even remotely interested, feel free to shoot me an email.
Hello! I'm at work surfing around your blog from my new iphone 4!
Just wanted to say I love reading through your blog and look forward to all your posts!
Keep up the superb work!
Thank you for the good writeup. It in fact was a amusement account it.
Look advanced to more added agreeable from you! By the way,
how can we communicate?
?a ziemiste ogrodzeni? zarz?dzane s? wi?cej krzewy ?imozielone.
Огромное спасибо за ценный материал! Сохранил
?t's veгy trouble-free to find out any matter ?n net ?s cmpared to textbooks, ass
І found this paragraph ?t thіs website.
Magnificent goods from you, man. I've understand your stuff previous to
and you are just too fantastic. I actually like what you've acquired here, certainly like what you're
stating and the way in which you say it. You make it enjoyable
and you still care for to keep it sensible. I can't wait to read far more from you.
This is actually a wonderful site.
I really like your blog.. very nice colors & theme. Did
you make this website yourself or did you hire someone to do it for you?
Plz reply as I'm looking to create my own blog
and would like to find out where u got this from.
thank you
This site was... how do you say it? Relevant!! Finally I have found something that helped me.
Kudos!
What's up colleagues, good post and pleasant arguments commented here, I
am truly enjoying by these.
I've learn several excellent stuff here. Certainly price bookmarking for revisiting.
I surprise how much effort you put to make any such wonderful informative
site.
We absolutely love your blog and find many of your post's to be just what I'm
looking for. Do you offer guest writers to write content for you?
I wouldn't mind writing a post or elaborating on a number of the subjects you write with regards to here.
Again, awesome blog!
It's actually very difficult in this active life to listen news
on TV, therefore I only use the web for that purpose, and get the hottest information.
Heya i am for the primary time here. I came across this board and
I find It really useful & it helped me out much.
I am hoping to present one thing again and aid others such
as you aided me.
It's an amazing paragraph in support of all the online users; they will get advantage from it I am sure.
Right away I am ready to do my breakfast, after having
my breakfast coming again to read further news.
Right now it appears like Expression Engine is the top blogging platform out there right now.
(from what I've read) Is that what you're using on your blog?
Thank you for the auspicious writeup. It actually was
once a enjoyment account it. Glance complex to far added agreeable from you!
By the way, how could we communicate?
Thanks on your marvelous posting! I really enjoyed reading it, you might be a
great author. I will remember to bookmark your blog and may come
back in the foreseeable future. I want to encourage yourself to continue your great posts, have a nice morning!
There's definately a great deal to know about this topic.
I like all the points you've made.
I'm truly enjoying the design and layout of your blog.
It's a very easy on the eyes which makes it much more pleasant for me to come here and visit more often. Did you
hire out a developer to create your theme? Outstanding work!
Howdy! This is my first visit to your blog! We are a team of volunteers and starting a new project
in a community in the same niche. Your blog provided us useful information to work on. You have done a wonderful job!
Hi, Neat post. There is an issue along with your website in internet explorer, would test this?
IE still is the marketplace leader and a good component to folks will omit
your excellent writing because of this problem.
Hi there colleagues, how is everything, and what you would like to
say concerning this paragraph, in my view its truly amazing in support of me.
Great weblog right here! Additionally your site so much up
fast! What host are you the use of? Can I am getting your affiliate hyperlink to your host?
I wish my web site loaded up as fast as yours lol
Hey just wanted to give you a quick heads up and let you know a few
of the images aren't loading correctly. I'm not sure why but I think its a linking issue.
I've tried it in two different web browsers and both show the same results.
Wonderful beat ! I would like to apprentice while you amend your website, how could
i subscribe for a blog website? The account
helped me a acceptable deal. I had been tiny bit acquainted of
this your broadcast offered bright clear idea
Thanks for sharing your info. I truly appreciate your efforts and I will be waiting for your next post thank you once again.
I've been exploring for a bit for any high-quality articles or weblog posts on this kind of area .
Exploring in Yahoo I ultimately stumbled upon this web site.
Reading this information So i'm glad to show that I have a very just right
uncanny feeling I discovered exactly what I needed. I so
much without a doubt will make certain to do not put out of your mind
this site and give it a glance on a continuing basis.
I simply could not leave your web site prior to suggesting that I actually enjoyed the usual info a
person provide in your visitors? Is gonna be back steadily in order to check up on new
posts
Attractive section of content. I just stumbled upon your site and in accession capital to assert that I acquire actually
enjoyed account your blog posts. Any way I'll be subscribing to
your augment and even I achievement you access consistently quickly.
5. Размещение на сайте блоков внешних ссылок.
I was able to find good information from your articles.
It's awesome to pay a quick visit this web page and reading the
views of all colleagues about this piece of writing, while I am also
eager of getting familiarity.
Howdy! This post couldn't be written any better! Looking through
this article reminds me of my previous roommate! He constantly kept talking about this.
I'll forward this article to him. Pretty sure he's
going to have a good read. Many thanks for sharing!
Hi to all, the contents present at this site are truly awesome for people
experience, well, keep up the good work fellows.
Very good post. I certainly love this website.
Keep writing!
What i don't realize is actually how you're now not really a
lot more smartly-preferred than you may be right now. You are very intelligent.
You recognize thus considerably with regards to this subject, made me for my part imagine it from numerous numerous angles.
Its like women and men are not fascinated unless it's something to accomplish with Girl
gaga! Your individual stuffs great. All the time care for it up!
It's an awesome post designed for all the web users; they will obtain benefit from
it I am sure.
Thankfulness to my father who told me on the topic of this
webpage, this webpage is in fact amazing.
I'm gone to inform my little brother, that he should
also go to see this website on regular basis to take updated from most recent news.
Very good article. I will be experiencing a few of these issues as well..
Thanks for the marvelous posting! I actually enjoyed reading it, you might be a great author.I will remember to bookmark your blog and will often come back sometime soon. I want to encourage that you continue your great job, have a nice evening!
Hello, after reading this awesome article i am as well delighted to share my know-how
here with mates.
Hello there! This is kind of off topic but I need some guidance from
an established blog. Is it very hard to set up your own blog?
I'm not very techincal but I can figure things out pretty quick.
I'm thinking about setting up my own but I'm not sure
where to start. Do you have any tips or suggestions?
Many thanks
Very good info. Lucky me I recently found your blog by chance (stumbleupon).
I've saved it for later!
I really love your site.. Very nice colors & theme.
Did you create this web site yourself? Please reply
back as I'm hoping to create my very own site and would love to learn where
you got this from or exactly what the theme is called.
Many thanks!
Its like you read my mind! You seem to know a lot about
this, like you wrote the book in it or something.
I think that you could do with a few pics to drive the message home a bit, but other than that, this is wonderful blog.
A fantastic read. I will certainly be back.
Very good post. I will be going through a few of these issues as well..
Saved as a favorite, I like your blog!
I want to to thank you for this excellent read!! I absolutely loved
every bit of it. I have got you saved as a favorite to look at new stuff you post…
Just wish to say your article is as astounding. The clearness to your put up is
just nice and that i can think you're an expert on this subject.
Fine together with your permission allow me to take hold of your feed to keep up to date with forthcoming post.
Thank you a million and please keep up the rewarding work.
Excellent beat ! I wish to apprentice while you amend your site,
how can i subscribe for a blog site? The account aided me a acceptable deal.
I had been tiny bit acquainted of this your broadcast offered bright clear concept
Please let me know if you're looking for a article author
for your blog. You have some really great posts and I feel I would be a good asset.
If you ever want to take some of the load off, I'd love to
write some articles for your blog in exchange for a link back to mine.
Please shoot me an email if interested. Kudos!
When someone writes an article he/she maintains the thought of a user in his/her
mind that how a user can know it. Therefore that's why this article is perfect.
Thanks!
If you are going for most excellent contents like myself, just pay a visit this
website daily for the reason that it offers feature contents, thanks
Thanks for every other wonderful post.
The place else may just anybody get that kind of info in such a perfect approach of writing?
I've a presentation subsequent week, and I am at the
look for such information.
Thanks , I've just been looking for information approximately this topic for a while and
yours is the best I've discovered so far. But, what concerning the conclusion? Are you sure
about the supply?
Thank you, I have just been looking for info approximately
this subject for a long time and yours is the best
I've discovered till now. However, what about the conclusion? Are you certain about the supply?
I would like to thank you for the efforts you've put in writing this blog.
I'm hoping to check out the same high-grade blog posts from you later on as
well. In truth, your creative writing abilities has inspired me
to get my own website now ;)
Hi there this is somewhat of off topic but I was wondering if blogs use WYSIWYG editors
or if you have to manually code with HTML. I'm starting a blog soon but have no coding expertise so I wanted to get
advice from someone with experience. Any help would be greatly appreciated!
It's great that you are getting thoughts from this article as well
as from our dialogue made at this time.
I have been exploring for a little bit for any
high-quality articles or weblog posts on this sort of
area . Exploring in Yahoo I ultimately stumbled upon this website.
Reading this info So i am happy to show that I've a very excellent uncanny
feeling I found out just what I needed. I most without a doubt
will make sure to do not disregard this site and give it a glance on a constant basis.
Tremendous things here. I'm very glad to see your article.
Thank you a lot and I am taking a look forward to touch you.
Will you kindly drop me a e-mail?
I believe everything said made a bunch of sense.
However, think on this, what if you added a little information?
I mean, I don't wish to tell you how to run your blog, however suppose you added a title that makes people want more?
I mean JRoute — Создание SEF (ЧПУ) ссылок / Маршрутизация в компоненте / Классы Joomla .:
. Документация Joomla! CMS is a little plain. You ought to look at
Yahoo's front page and see how they create article titles to grab people to open the links.
You might add a related video or a related pic or two to get people
excited about what you've written. In my opinion,
it could make your blog a little livelier.
I simply could not leave your web site prior to suggesting that I really
enjoyed the standard information a person supply to your visitors?
Is gonna be again frequently in order to inspect new posts
Hello, I log on to your blogs on a regular basis.
Your writing style is witty, keep doing what you're doing!
Greate article. Keep posting such kind of information on your blog.
Im really impressed by your site.
Hey there, You have done a fantastic job. I'll certainly digg it and individually suggest to my friends.
I'm confident they will be benefited from this web site.
My brother recommended I might like this web site.
He was totally right. This post actually made my day. You can not imagine just how
much time I had spent for this info! Thanks!
I'm impressed, I must say. Rarely do I encounter a blog that's both educative and interesting, and without a doubt, you've hit
the nail on the head. The problem is an issue that too few folks are speaking intelligently about.
Now i'm very happy that I came across this during my search for something concerning this.
excellent submit, very informative. I'm wondering why the other specialists of this sector do not understand this.
You must continue your writing. I'm confident, you've a huge readers' base already!
Definitely believe that that you said. Your favorite justification seemed to be on the internet the easiest thing
to take into accout of. I say to you, I certainly get annoyed even as people consider
worries that they just do not recognise about.
You managed to hit the nail upon the highest as smartly as defined out the
whole thing with no need side effect , other people can take
a signal. Will probably be back to get more. Thank you
Nice post. I was checking constantly this blog and I am impressed!
Extremely useful info specially the last part :) I care for such info
much. I was looking for this particular info for a long time.
Thank you and best of luck.
Hi there! Do you use Twitter? I'd like to follow
you if that would be okay. I'm definitely enjoying your
blog and look forward to new posts.
I'm amazed, I must say. Seldom do I encounter a blog that's both equally educative and entertaining, and without a doubt, you've hit the nail on the head.
The issue is something not enough people are speaking
intelligently about. Now i'm very happy I found this during my hunt
for something concerning this.
Good day! This is my 1st comment here so I just wanted to give a quick shout
out and tell you I really enjoy reading through your posts.
Can you recommend any other blogs/websites/forums that go over the same
topics? Thanks for your time!
Yes! Finally someone writes about sling tv.
Good post. I'm experiencing some of these issues as
well..
Thanks for finally writing about >JRoute — Создание SEF (ЧПУ) ссылок / Маршрутизация в компоненте / Классы Joomla .:.
Документация Joomla! CMS <Liked it!
Simply wish to say your article is as astonishing. The
clarity in your post is simply excellent and
i could assume you are an expert on this subject.
Fine with your permission allow me to grab your RSS
feed to keep up to date with forthcoming post. Thanks a million and
please carry on the gratifying work.
cbd oil for sale green roads cbd oil hemp oil for anxiety
Today, I went to the beach with my children. I found a sea shell and gave it to my 4 year old daughter
and said "You can hear the ocean if you put this to your ear." She put the shell to her ear and screamed.
There was a hermit crab inside and it pinched
her ear. She never wants to go back! LoL I know this
is entirely off topic but I had to tell someone!
Everyone loves what you guys are up too. This type of clever work and
exposure! Keep up the very good works guys I've incorporated
you guys to our blogroll.
JRoute — Создание SEF (ЧПУ) ссылок / Маршрутизация в компоненте / Классы Joomla .:. Документация Joomla! CMS
eewvidwow gpy57g1ca5193xf6d8g1l9khz56446ibs.org/
[url= gpy57g1ca5193xf6d8g1l9khz56446ibs.org/ ]ueewvidwow[/url]
<a href="/ gpy57g1ca5193xf6d8g1l9khz56446ibs.org/ ">aeewvidwow</a>
Perhaps you're working on your desk, and have devoted 2 hours to organizing
it. Her company is H. R. Associates, Clutter Control Angels
providing organizing options for life, house and business.
The query is how do you evaluate the perfect on-line video conferencing
possibility for your enterprise? Not only will
we love Digital Playground’s unique content, like its
enticingly themed magical world in Unbound or scandalous weekend getaway journey in Lucky Seven, the power to access and purchase DVD’s and clips from the Digital Playground archive is
the websites best function. Mixed with MindGeek’s monopolistic
hold on the porn trade and its huge catalog of pirated content harming sex workers,
it’s time to ditch Pornhub and its sister websites for good.
These are actual-ass people having actual-ass sex, and
that features real representations of ass intercourse!
Cams are an important technique to reconcile your performance fetish along with your actual expectations,
and work together with performers. • Higher staff efficiency
based on shorter conferences, shorter time to journey, higher attendance charges, and entry to varied folks.
то о чем вы говорите это глупость!!! Нахера такие костыли если есть параметр no_html=1. Нужно его задать и переименовать вьюшку в raw и будет вам счастье. только об этом мало где пишут почему то
Откровенно говоря, вы тоже сказали глупость :) есть параметр выбора главного layout.
чтобы выбрать версию для печати, то в ссылку добавляется параметр tmpl=component
чтобы вернуть только компонент tmpl=raw
чтобы свой любимый шаблон tmpl=mytemplate
по умолчанию выбирается index
Таким образом выбирается файл который будет рендериться из папки /templates/ВАШ ШАБЛОН/. Например для tmpl=mytemplate будет выбран /templates/ВАШ ШАБЛОН/mytemplate.php
В этом файле будут работать все так же как и в /templates/ВАШ ШАБЛОН/index.php
А зачем тогда no_html=1??
Элементарный поиск по Joomla 1.7.3 дал следующее: /libraries/joomla/factory.php, строка 691
"Keep backwards compatibility with Joomla! 1.0" => Для совместимости расширений с Joomla 1.0
Отлично! спасибо за просвещение. жаль в мануале этого не было
НЕ РАБОТАЕТ! Как написали вы! Убираю no_html. Пишу в контроллере: JRequest::setVar('tmpl','raw'); Красная страница с текстом, что нет такого шаблона
ВСЁ перепробовал! Только родимый no_html=1 спасает
Читайте внимательнее то, что я писал выше. Все работает.
Видимо вы скрываете что-то. Не работает у меня:
index.php?option=com_tranz&view=pokupka&layout=pokupka&tmpl=raw&id=45
и
index.php?option=com_tranz&view=pokupka&layout=raw&tmpl=raw&id=45
и
index.php?option=com_tranz&view=pokupka&tmpl=raw&id=45
Никак не работает!
Работает: index.php?option=com_tranz&view=pokupka&layout=pokupka&no_html=1&id=45
raw.php файла есть в шаблоне? в нем должна быть объявлена единственная позиция <jdoc:include type="component" />
в краце об это я написал выше. Читайте внимательнее про mytemplate