Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » Chameleon / ChameleonLite
- » ChameleonLite
- » Can I assign a specific template for...
Can I assign a specific template for authors in the front end
Can I assign a specific template for authors in the front end
Firstly I'd like to thank metamodguy for her answers to my previous problems.
My question is :
After I logined in as an author, all article became editable.
After I entered the edit state, the editor appeared in the same template.
Usually the place for article is not sufficient for the editor, so I want to change the template for the editor.
I noticed that at this time the url contais the string "task=edit", but how I can get the information in my metatemplate.
Re: Can I assign a specific template for authors in the front end
Hi Tdchen,
that's an excellent question. Luckily there's a function in JomGenius that can identify article edit pages:
if ($core_genius->check("pagetype = articleedit")) return true;
Then in the SUCCEED action, set the template you want to use.
Cheers,
Stephen
- Index
- » Chameleon / ChameleonLite
- » ChameleonLite
- » Can I assign a specific template for...
Board Info
- Board Stats:
- Total Topics:
- 1689
- Total Polls:
- 6
- Total Posts:
- 5942
- Posts this week:
- 2
- User Info:
- Total Users:
- 7630
- Newest User:
- welch84998
- Members Online:
- 0
- Guests Online:
- 109
- Online:
- There are no members online
Forum Legend:
Topic
New
Locked
Sticky
Active
New/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky/Active/Locked